Created
November 11, 2018 04:19
-
-
Save knightfall/e07fcecf2a44d77f29069eeb39704ad8 to your computer and use it in GitHub Desktop.
Decompiled pathao app 3.2.1 com.pathao.user.p010ui.core.home.view.HomeFragment.java
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
private void handlePermissionTaks() { | |
if (!PathaoApplication.getInstance().getPermissionManager().shouldShowPermissionRequest(PermissionManager.CALL_FROM_LANDING)) { | |
if (PathaoApplication.getInstance().getPermissionManager().hasLocationPermission(getActivity())) { | |
accessUserLocation(); | |
} | |
if (PathaoApplication.getInstance().getPermissionManager().hasSMSPermission(getActivity()) || PathaoApplication.getInstance().getPermissionManager().hasContactPermission(getActivity())) { | |
startSMSContactSync(); | |
} | |
} else if (PathaoApplication.getInstance().getPermissionManager().hasLocationPermission(getActivity())) { | |
PathaoApplication.getInstance().getPermissionManager().requestForAllInitialPermission(getActivity()); | |
} else { | |
showRequiredPermissionDialog(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment