Skip to content

Commit

Permalink
Improve code.
Browse files Browse the repository at this point in the history
Signed-off-by: HChenX <[email protected]>
  • Loading branch information
HChenX committed Sep 21, 2023
1 parent db4efd1 commit 58be314
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public void showRestartDialog(boolean isRestartSystem, String appLabel, String p
.setHapticFeedbackEnabled(true)
.setPositiveButton(android.R.string.ok, (dialog, which) -> doRestart(packagename, isRestartSystem))
.setNegativeButton(android.R.string.cancel, (dialog, which) -> Toast.makeText(this, getResources().getString(R.string.cancel), Toast.LENGTH_SHORT).show())
.create()
.show();
}

Expand Down

0 comments on commit 58be314

Please sign in to comment.