Commit 964fc3e5 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 13d61e92
...@@ -24,7 +24,7 @@ public class PermissionUtils { ...@@ -24,7 +24,7 @@ public class PermissionUtils {
editor.apply(); editor.apply();
} }
private static boolean getRationaleDisplayStatus(final Context context, final String permission) { private static boolean getRequestedPermissionBefore(final Context context, final String permission) {
SharedPreferences genPrefs = context.getSharedPreferences("GENERIC_PREFERENCES", Context.MODE_PRIVATE); SharedPreferences genPrefs = context.getSharedPreferences("GENERIC_PREFERENCES", Context.MODE_PRIVATE);
return genPrefs.getBoolean(permission, false); return genPrefs.getBoolean(permission, false);
} }
......
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