Remove hardcoded package name.
Removed the hardcoded package name in account_preferences.xml. Now we launch the PreferenceScreen with only the action. Added an intent-filter to the preference screen to catch it. Bug 2447903
This commit is contained in:
parent
105c1786f7
commit
0fef1f14b3
|
@ -123,6 +123,10 @@
|
|||
android:name=".activity.setup.AccountSettings"
|
||||
android:label="@string/account_settings_action"
|
||||
>
|
||||
<intent-filter>
|
||||
<action android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".activity.setup.AccountSecurity"
|
||||
|
|
|
@ -27,8 +27,7 @@
|
|||
android:summary="@string/account_settings_exchange_summary">
|
||||
<intent
|
||||
android:action="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY"
|
||||
android:targetPackage="com.android.email"
|
||||
android:targetClass="com.android.email.activity.setup.AccountSettings" />
|
||||
/>
|
||||
</PreferenceScreen>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
|
Loading…
Reference in New Issue