summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-16 21:06:43 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-11-16 21:06:43 +0000
commitc0b9fee23a676e32a886eff462c2ec020a9aab10 (patch)
treef9d0c6c48a8cb45e526042a03c90ec98cb9b6187
parente2e6b1b6a3fa883770aea506caca837d12780f30 (diff)
parenteee704f91640a28aba9f7d78e9019816ccc49e8f (diff)
downloadcts-c0b9fee23a676e32a886eff462c2ec020a9aab10.tar.gz
Merge "Snap for 7915399 from 3f5e11085cbd7b0734dc785451f726a8b28c0853 to pie-cts-release" into pie-cts-releaseandroid-cts-9.0_r19
-rw-r--r--apps/CtsVerifier/AndroidManifest.xml2
-rw-r--r--common/device-side/util-axt/src/com/android/compatibility/common/util/ExtraBusinessLogicTestCase.java32
2 files changed, 4 insertions, 30 deletions
diff --git a/apps/CtsVerifier/AndroidManifest.xml b/apps/CtsVerifier/AndroidManifest.xml
index ed0c2230dfe..8725f6c9583 100644
--- a/apps/CtsVerifier/AndroidManifest.xml
+++ b/apps/CtsVerifier/AndroidManifest.xml
@@ -18,7 +18,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.cts.verifier"
android:versionCode="5"
- android:versionName="9.0_r18">
+ android:versionName="9.0_r19">
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="28"/>
diff --git a/common/device-side/util-axt/src/com/android/compatibility/common/util/ExtraBusinessLogicTestCase.java b/common/device-side/util-axt/src/com/android/compatibility/common/util/ExtraBusinessLogicTestCase.java
index c0a4eb97ed0..910f0e28d5b 100644
--- a/common/device-side/util-axt/src/com/android/compatibility/common/util/ExtraBusinessLogicTestCase.java
+++ b/common/device-side/util-axt/src/com/android/compatibility/common/util/ExtraBusinessLogicTestCase.java
@@ -18,8 +18,6 @@ package com.android.compatibility.common.util;
import android.util.Log;
-import com.android.compatibility.common.util.MultiLog;
-
import static org.junit.Assert.assertTrue;
import org.junit.Before;
@@ -39,7 +37,7 @@ import java.util.List;
* Now Business Logics rules and actions can be called from the GCL by using the interface fully
* qualified name.
*/
-public abstract class ExtraBusinessLogicTestCase extends BusinessLogicTestCase implements MultiLog {
+public abstract class ExtraBusinessLogicTestCase extends BusinessLogicTestCase {
private static final String LOG_TAG = BusinessLogicTestCase.class.getSimpleName();
@@ -56,7 +54,8 @@ public abstract class ExtraBusinessLogicTestCase extends BusinessLogicTestCase i
"Test \"%s\" is unable to execute as it depends on the missing remote "
+ "configuration.", mTestCase.getMethodName()), mCanReadBusinessLogic);
} else if (!mCanReadBusinessLogic) {
- logInfo(LOG_TAG, "Skipping Business Logic for %s", mTestCase.getMethodName());
+ Log.i(LOG_TAG, String.format(
+ "Skipping Business Logic for %s", mTestCase.getMethodName()));
return;
}
@@ -70,29 +69,4 @@ public abstract class ExtraBusinessLogicTestCase extends BusinessLogicTestCase i
}
executeBusinessLogic();
}
-
- // copied from MultiLogDevice because pi can't desugar the default methods
- /** {@inheritDoc} */
- @Override
- public void logInfo(String logTag, String format, Object... args) {
- Log.i(logTag, String.format(format, args));
- }
-
- /** {@inheritDoc} */
- @Override
- public void logDebug(String logTag, String format, Object... args) {
- Log.d(logTag, String.format(format, args));
- }
-
- /** {@inheritDoc} */
- @Override
- public void logWarn(String logTag, String format, Object... args) {
- Log.w(logTag, String.format(format, args));
- }
-
- /** {@inheritDoc} */
- @Override
- public void logError(String logTag, String format, Object... args) {
- Log.e(logTag, String.format(format, args));
- }
}