[2.13.0]移除GPS权限获取时申请[在其它应用上层显示]权限
This commit is contained in:
@@ -499,10 +499,7 @@ public final class PermissionUtils {
|
||||
} else if (type == TYPE_DRAW_OVERLAYS) {
|
||||
currentRequestCode = TYPE_DRAW_OVERLAYS;
|
||||
startOverlayPermissionActivity(activity, TYPE_DRAW_OVERLAYS);
|
||||
} else if (type == TYPE_ACCESS_FINE_LOCATION) {
|
||||
currentRequestCode = TYPE_ACCESS_FINE_LOCATION;
|
||||
startOverlayPermissionActivity(activity, TYPE_ACCESS_FINE_LOCATION);
|
||||
} else {
|
||||
} else {
|
||||
activity.finish();
|
||||
Log.e("PermissionUtils", "type is wrong.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user