0fef1f14b3
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
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<!-- NOTE: The string in android:action must match the one in AccountSettings.java -->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/account_settings_title_fmt" />
|
|
|
|
<PreferenceScreen
|
|
android:key="account_settings"
|
|
android:title="@string/account_settings_action"
|
|
android:summary="@string/account_settings_exchange_summary">
|
|
<intent
|
|
android:action="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY"
|
|
/>
|
|
</PreferenceScreen>
|
|
|
|
</PreferenceScreen>
|