diff options
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r-- | src/com/android/settings/profiles/SetupActionsFragment.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/android/settings/profiles/SetupActionsFragment.java b/src/com/android/settings/profiles/SetupActionsFragment.java index 2f5e14d..6eac9a4 100644 --- a/src/com/android/settings/profiles/SetupActionsFragment.java +++ b/src/com/android/settings/profiles/SetupActionsFragment.java @@ -282,9 +282,11 @@ public class SetupActionsFragment extends SettingsPreferenceFragment public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); mListView.setAdapter(mAdapter); - getActivity().getActionBar().setTitle(mNewProfileMode - ? R.string.profile_setup_actions_title - : R.string.profile_setup_actions_title_config); + if (mNewProfileMode) { + getActivity().getActionBar().setTitle(R.string.profile_setup_actions_title); + } else { + getActivity().getActionBar().setTitle(mProfile.getName()); + } } private void requestFillProfileFromSettingsDialog() { |