Merge "Fix typo" am: 913f396c11

am: 8c7c6e3952

Change-Id: Ieed26cd7bb6be66c6084dd0fc8f0dcc05d9156d0
This commit is contained in:
Ahmad Melegy
2017-11-17 19:04:55 +00:00
committed by android-build-merger

View File

@@ -4373,7 +4373,7 @@ public class Activity extends ContextThemeWrapper
throw new IllegalArgumentException("requestCode should be >= 0");
}
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.
onRequestPermissionsResult(requestCode, new String[0], new int[0]);
return;