Merge "Rename the screen title of all apps" into sc-dev am: 11ad3be029
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13981626 Change-Id: I65ca45a523f6c6d4461d23925b33bbbfd1e296de
This commit is contained in:
@@ -277,7 +277,7 @@ public class ManageApplications extends InstrumentedFragment
|
||||
Intent intent = activity.getIntent();
|
||||
Bundle args = getArguments();
|
||||
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;
|
||||
if (className == null) {
|
||||
className = intent.getComponent().getClassName();
|
||||
@@ -342,7 +342,7 @@ public class ManageApplications extends InstrumentedFragment
|
||||
screenTitle = R.string.app_notifications_title;
|
||||
} else {
|
||||
if (screenTitle == -1) {
|
||||
screenTitle = R.string.application_info_label;
|
||||
screenTitle = R.string.all_apps;
|
||||
}
|
||||
mListType = LIST_TYPE_MAIN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user