am b544ce78
: Merge "Set service name to printer service setting title" into mnc-dev
* commit 'b544ce78dc63b9119dcc741d18200f3128d42aa3': Set service name to printer service setting title
This commit is contained in:
@@ -145,6 +145,16 @@ public class PrintServiceSettingsFragment extends SettingsPreferenceFragment
|
||||
return MetricsLogger.PRINT_SERVICE_SETTINGS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle icicle) {
|
||||
super.onCreate(icicle);
|
||||
|
||||
String title = getArguments().getString(PrintSettingsFragment.EXTRA_TITLE);
|
||||
if (!TextUtils.isEmpty(title)) {
|
||||
getActivity().setTitle(title);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
Reference in New Issue
Block a user