Permalink
Browse files

More SysUI tuner cleanup

Change-Id: I64b77fa9d16961bf005d875291a171bf81755edc
  • Loading branch information...
ezio84 authored and xlxfoxxlx committed Dec 7, 2016
1 parent e2def38 commit 42046fbdf61835c73fd7d3c7b81b09eb23df2c1a
Showing with 0 additions and 18 deletions.
  1. +0 −18 packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
@@ -214,24 +214,6 @@ private static TunerService getStaticService(Context context) {
return sInstance;
}
public static final void showResetRequest(final Context context, final Runnable onDisabled) {
SystemUIDialog dialog = new SystemUIDialog(context);
dialog.setShowForAllUsers(true);
dialog.setMessage(R.string.remove_from_settings_prompt);
dialog.setButton(DialogInterface.BUTTON_NEGATIVE, context.getString(R.string.cancel),
(OnClickListener) null);
dialog.setButton(DialogInterface.BUTTON_POSITIVE,
context.getString(R.string.guest_exit_guest_dialog_remove), new OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
if (onDisabled != null) {
onDisabled.run();
}
}
});
dialog.show();
}
public static final boolean isTunerEnabled(Context context) {
return true;
}

0 comments on commit 42046fb

Please sign in to comment.