This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Utility class for access to runtime permissions. | |
*/ | |
public abstract class PermissionUtils { | |
/** | |
* Requests the fine location permission. If a rationale with an additional explanation should | |
* be shown to the user, displays a dialog that triggers the request. | |
*/ | |
public static void requestPermission(AppCompatActivity activity, int requestId, |