diff options
-rw-r--r-- | AndroidManifest.xml | 3 | ||||
-rw-r--r-- | src/com/android/settings/accounts/AddAccountSettings.java | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 2e82e3a..1b322ea 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1070,7 +1070,7 @@ <activity android:name="com.android.settings.accounts.AddAccountSettings" android:theme="@android:style/Theme.Translucent.NoTitleBar" - android:configChanges="orientation|keyboardHidden" + android:configChanges="orientation|keyboardHidden|screenSize" android:label="@string/header_add_an_account"> <intent-filter> <action android:name="android.intent.action.MAIN" /> @@ -1081,6 +1081,7 @@ <activity android:name="com.android.settings.accounts.ChooseAccountActivity" android:label="@string/header_add_an_account" + android:configChanges="orientation|keyboardHidden|screenSize" android:theme="@android:style/Theme.Holo.DialogWhenLarge"/> <activity android:name=".CryptKeeper" diff --git a/src/com/android/settings/accounts/AddAccountSettings.java b/src/com/android/settings/accounts/AddAccountSettings.java index 4c5c0b8..72ef130 100644 --- a/src/com/android/settings/accounts/AddAccountSettings.java +++ b/src/com/android/settings/accounts/AddAccountSettings.java @@ -72,6 +72,7 @@ public class AddAccountSettings extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + final String[] authorities = getIntent().getStringArrayExtra(AccountPreferenceBase.AUTHORITIES_FILTER_KEY); final String[] accountTypes = |