diff options
author | Dan Egnor <egnor@google.com> | 2009-05-13 19:22:08 -0700 |
---|---|---|
committer | Dan Egnor <egnor@google.com> | 2009-05-15 11:59:31 -0700 |
commit | abc25e3679a9de2625eadf3e3050a6973f7a6c71 (patch) | |
tree | f72e763ae34c1db2a78daffbdf928712b58a9d63 /core | |
parent | a38b427a7a6d2658dc3e3083bc6c263a3d4d7af3 (diff) | |
download | frameworks_base-abc25e3679a9de2625eadf3e3050a6973f7a6c71.zip frameworks_base-abc25e3679a9de2625eadf3e3050a6973f7a6c71.tar.gz frameworks_base-abc25e3679a9de2625eadf3e3050a6973f7a6c71.tar.bz2 |
Add intent for gservices override, and handle empty arguments properly
in the "am" utility.
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/provider/Settings.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 14ef810..ed5520d 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2171,6 +2171,13 @@ public final class Settings { public static final String CHANGED_ACTION = "com.google.gservices.intent.action.GSERVICES_CHANGED"; + /** + * Intent action to override Gservices for testing. (Requires WRITE_GSERVICES permission.) + */ + @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) + public static final String OVERRIDE_ACTION = + "com.google.gservices.intent.action.GSERVICES_OVERRIDE"; + private static volatile NameValueCache mNameValueCache = null; private static final Object mNameValueCacheLock = new Object(); @@ -3258,4 +3265,3 @@ public final class Settings { return "android-" + Long.toHexString(androidId); } } - |