Several refinements

This commit is contained in:
topjohnwu
2017-02-17 14:07:15 +08:00
parent 430f2cafc1
commit f615ed40cd
6 changed files with 17 additions and 9 deletions
@@ -98,8 +98,8 @@ public class InstallFragment extends Fragment implements CallbackEvent.Listener<
} else {
uninstallButton.setOnClickListener(vi -> {
new AlertDialogBuilder(getActivity())
.setTitle("Uninstall Magisk")
.setMessage("This will remove all modules, MagiskSU, and potentially re-encrypt your device\nAre you sure to process?")
.setTitle(R.string.uninstall_magisk_title)
.setMessage(R.string.uninstall_magisk_msg)
.setPositiveButton(R.string.yes, (dialogInterface, i) -> {
try {
InputStream in = getActivity().getAssets().open(UNINSTALLER);