File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,14 @@ public class MainService extends PWallpaper {
7070 boolean granted = true;
7171 for (int i = 0; i < grantResults.length; i++) {
7272 if (grantResults[i] != PackageManager.PERMISSION_GRANTED) {
73- AlertDialog.Builder builder = new AlertDialog.Builder(this);
74- builder.setMessage("Some permissions needed by the wallpaper were not granted, so it might not work as intended.")
75- .setCancelable(false)
76- .setPositiveButton("OK", new DialogInterface.OnClickListener() {
77- public void onClick(DialogInterface dialog, int id) { }
78- });
79- AlertDialog alert = builder.create();
80- alert.show();
73+ // AlertDialog.Builder builder = new AlertDialog.Builder(this);
74+ // builder.setMessage("Some permissions needed by the wallpaper were not granted, so it might not work as intended.")
75+ // .setCancelable(false)
76+ // .setPositiveButton("OK", new DialogInterface.OnClickListener() {
77+ // public void onClick(DialogInterface dialog, int id) { }
78+ // });
79+ // AlertDialog alert = builder.create();
80+ // alert.show();
8181 granted = false;
8282 break;
8383 }
You can’t perform that action at this time.
0 commit comments