Commit 13d61e92 by Kostya Committed by GitHub

Update android/src/main/java/com/baseflow/permissionhandler/PermissionUtils.java

Changed methods naming due to review

Co-Authored-By: Maurits van Beusekom <maurits@baseflow.com>
parent 0137f80e
......@@ -17,7 +17,7 @@ public class PermissionUtils {
return prevShouldShowStatus != currShouldShowStatus;
}
static void setShouldShowStatus(final Context context, final String permission) {
static void setRequestedPermission(final Context context, final String permission) {
SharedPreferences genPrefs = context.getSharedPreferences("GENERIC_PREFERENCES", Context.MODE_PRIVATE);
SharedPreferences.Editor editor = genPrefs.edit();
editor.putBoolean(permission, true);
......@@ -28,4 +28,4 @@ public class PermissionUtils {
SharedPreferences genPrefs = context.getSharedPreferences("GENERIC_PREFERENCES", Context.MODE_PRIVATE);
return genPrefs.getBoolean(permission, false);
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment