Rename the screen title of all apps
Also update the title of App info entry on Apps page when there is no recently opened apps. Bug: 178774987 Test: robotests & visual Change-Id: I1cd7ffc1a34c9fa65c93d9507bc45dfedc78f549
This commit is contained in:
@@ -12999,4 +12999,7 @@
|
|||||||
|
|
||||||
<!-- Summary for toggle controlling whether notifications are shown when an app pastes from clipboard. [CHAR LIMIT=NONE] -->
|
<!-- Summary for toggle controlling whether notifications are shown when an app pastes from clipboard. [CHAR LIMIT=NONE] -->
|
||||||
<string name="show_clip_access_notification_summary">Show a message when apps access text, images, or other content you\u2019ve copied</string>
|
<string name="show_clip_access_notification_summary">Show a message when apps access text, images, or other content you\u2019ve copied</string>
|
||||||
|
|
||||||
|
<!-- All apps screen title, entry name on Apps page for the user to go to the all apps page. [CHAR LIMIT=30] -->
|
||||||
|
<string name="all_apps">All apps</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:key="all_app_infos"
|
android:key="all_app_infos"
|
||||||
android:title="@string/applications_settings"
|
android:title="@string/all_apps"
|
||||||
android:summary="@string/summary_placeholder"
|
android:summary="@string/summary_placeholder"
|
||||||
android:order="-999"
|
android:order="-999"
|
||||||
android:fragment="com.android.settings.applications.manageapplications.ManageApplications"
|
android:fragment="com.android.settings.applications.manageapplications.ManageApplications"
|
||||||
|
@@ -277,7 +277,7 @@ public class ManageApplications extends InstrumentedFragment
|
|||||||
Intent intent = activity.getIntent();
|
Intent intent = activity.getIntent();
|
||||||
Bundle args = getArguments();
|
Bundle args = getArguments();
|
||||||
int screenTitle = intent.getIntExtra(
|
int screenTitle = intent.getIntExtra(
|
||||||
SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, R.string.application_info_label);
|
SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, R.string.all_apps);
|
||||||
String className = args != null ? args.getString(EXTRA_CLASSNAME) : null;
|
String className = args != null ? args.getString(EXTRA_CLASSNAME) : null;
|
||||||
if (className == null) {
|
if (className == null) {
|
||||||
className = intent.getComponent().getClassName();
|
className = intent.getComponent().getClassName();
|
||||||
@@ -342,7 +342,7 @@ public class ManageApplications extends InstrumentedFragment
|
|||||||
screenTitle = R.string.app_notifications_title;
|
screenTitle = R.string.app_notifications_title;
|
||||||
} else {
|
} else {
|
||||||
if (screenTitle == -1) {
|
if (screenTitle == -1) {
|
||||||
screenTitle = R.string.application_info_label;
|
screenTitle = R.string.all_apps;
|
||||||
}
|
}
|
||||||
mListType = LIST_TYPE_MAIN;
|
mListType = LIST_TYPE_MAIN;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user