Merge "Fix typo"
This commit is contained in:
@@ -4344,7 +4344,7 @@ public class Activity extends ContextThemeWrapper
|
|||||||
throw new IllegalArgumentException("requestCode should be >= 0");
|
throw new IllegalArgumentException("requestCode should be >= 0");
|
||||||
}
|
}
|
||||||
if (mHasCurrentPermissionsRequest) {
|
if (mHasCurrentPermissionsRequest) {
|
||||||
Log.w(TAG, "Can reqeust only one set of permissions at a time");
|
Log.w(TAG, "Can request only one set of permissions at a time");
|
||||||
// Dispatch the callback with empty arrays which means a cancellation.
|
// Dispatch the callback with empty arrays which means a cancellation.
|
||||||
onRequestPermissionsResult(requestCode, new String[0], new int[0]);
|
onRequestPermissionsResult(requestCode, new String[0], new int[0]);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user