diff --git a/Superuser/src/com/koushikdutta/superuser/util/Settings.java b/Superuser/src/com/koushikdutta/superuser/util/Settings.java index 41e870a3..1b4e5c4a 100755 --- a/Superuser/src/com/koushikdutta/superuser/util/Settings.java +++ b/Superuser/src/com/koushikdutta/superuser/util/Settings.java @@ -175,13 +175,13 @@ public static boolean checkPin(Context context, String pin) { return pin.equals(hashed); } - private static final String KEY_REQUIRE_PREMISSION = "require_permission"; + private static final String KEY_REQUIRE_PERMISSION = "require_permission"; public static boolean getRequirePermission(Context context) { - return getBoolean(context, KEY_REQUIRE_PREMISSION, false); + return getBoolean(context, KEY_REQUIRE_PERMISSION, true); } public static void setRequirePermission(Context context, boolean require) { - setBoolean(context, KEY_REQUIRE_PREMISSION, require); + setBoolean(context, KEY_REQUIRE_PERMISSION, require); } private static final String KEY_AUTOMATIC_RESPONSE = "automatic_response";