summaryrefslogtreecommitdiffstats
path: root/core/res/AndroidManifest.xml
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2013-04-10 13:37:18 -0700
committerAmith Yamasani <yamasani@google.com>2013-04-10 15:36:54 -0700
commit23c8b96a7e5c3f4c169bf65ae3886357943bb7b0 (patch)
treeec7f7f32ddcb19f99482fd80b8139acdbb92358b /core/res/AndroidManifest.xml
parent9fa49cc3308f6af593d780581121afc3c1d7e046 (diff)
downloadframeworks_base-23c8b96a7e5c3f4c169bf65ae3886357943bb7b0.zip
frameworks_base-23c8b96a7e5c3f4c169bf65ae3886357943bb7b0.tar.gz
frameworks_base-23c8b96a7e5c3f4c169bf65ae3886357943bb7b0.tar.bz2
Show an error dialog when account type is requested on a limited user
This covers the scenario where an app doesn't find an account of the required type and requests the account manager to add one of that type. Bug: 8537648 Change-Id: I4d9c8842c2d90aa668f16034d3db007dc61714b8
Diffstat (limited to 'core/res/AndroidManifest.xml')
-rw-r--r--core/res/AndroidManifest.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 90e3b8d..78253d6 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -2264,6 +2264,14 @@
android:process=":ui">
</activity>
+ <activity android:name="android.accounts.CantAddAccountActivity"
+ android:excludeFromRecents="true"
+ android:exported="true"
+ android:theme="@android:style/Theme.Holo.Dialog"
+ android:label="@string/error_message_title"
+ android:process=":ui">
+ </activity>
+
<activity android:name="android.accounts.GrantCredentialsPermissionActivity"
android:excludeFromRecents="true"
android:exported="true"