change string setting to read to ANDROID_ID
- ENABLED_ACCESSIBILITY_SERVICES dies not exist always, and it is hidden.
- Due to this, the test will not pass if accessbility is not enabled, which
creates unnecessary dependency.
Bug: 7265610
Change-Id: I1d4fda21f81e07470742bbdbae9836363ead7d13
diff --git a/tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java b/tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java
index 2a12243..6e3f4e6 100644
--- a/tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java
+++ b/tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java
@@ -32,7 +32,7 @@
* Setting that will have a string value to trigger SettingNotFoundException caused by
* NumberFormatExceptions for getInt, getFloat, and getLong.
*/
- private static final String STRING_VALUE_SETTING = Secure.ENABLED_ACCESSIBILITY_SERVICES;
+ private static final String STRING_VALUE_SETTING = Secure.ANDROID_ID;
private ContentResolver cr;