From e2bfbf1348e9d482b331ef3f89dd4a3b61027533 Mon Sep 17 00:00:00 2001 From: Ahmad Melegy Date: Tue, 14 Nov 2017 21:27:28 +0000 Subject: [PATCH] Fix typo Fix typo in Activity class in requestPermissions method Test: Existing unit tests still pass. Bugs: None Change-Id: If81117a0e769bca2f303e1ebce57ecda9544e129 Signed-off-by: Ahmad Melegy --- core/java/android/app/Activity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 8c78ccbf2345c..0d89c6f6cb070 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -4344,7 +4344,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;