diff options
author | Ted Bauer <tedbauer@google.com> | 2023-02-15 03:22:23 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-02-15 03:23:04 +0000 |
commit | cb8004193f7ef18c398e94fb3f6b98e65b6f2ac2 (patch) | |
tree | c4c3a0e617549c1a6e940c9ad9ff6c8037748540 | |
parent | 1cb3ae15efdbc280ee6b234974f19c2cf3bffe2a (diff) | |
download | libtextclassifier-cb8004193f7ef18c398e94fb3f6b98e65b6f2ac2.tar.gz |
Revert "Add DeviceConfig permissions to CTS tests."
Revert submission 20961419-deviceconfig-restrict
Reason for revert: CTS breakage
Reverted changes: /q/submissionid:20961419-deviceconfig-restrict
Change-Id: Ib525ec885ca357b019eb0982097a08a2ac90d20f
-rw-r--r-- | java/tests/instrumentation/src/com/android/textclassifier/common/TextClassifierSettingsTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/tests/instrumentation/src/com/android/textclassifier/common/TextClassifierSettingsTest.java b/java/tests/instrumentation/src/com/android/textclassifier/common/TextClassifierSettingsTest.java index 1e76741..17aef84 100644 --- a/java/tests/instrumentation/src/com/android/textclassifier/common/TextClassifierSettingsTest.java +++ b/java/tests/instrumentation/src/com/android/textclassifier/common/TextClassifierSettingsTest.java @@ -33,15 +33,15 @@ import org.junit.runner.RunWith; @SmallTest @RunWith(AndroidJUnit4.class) public class TextClassifierSettingsTest { - private static final String ALLOWLISTED_WRITE_DEVICE_CONFIG_PERMISSION = - "android.permission.ALLOWLISTED_WRITE_DEVICE_CONFIG"; + private static final String WRITE_DEVICE_CONFIG_PERMISSION = + "android.permission.WRITE_DEVICE_CONFIG"; private static final float EPSILON = 0.0001f; @Before public void setup() { InstrumentationRegistry.getInstrumentation() .getUiAutomation() - .adoptShellPermissionIdentity(ALLOWLISTED_WRITE_DEVICE_CONFIG_PERMISSION); + .adoptShellPermissionIdentity(WRITE_DEVICE_CONFIG_PERMISSION); } @After |