am f559546d: Merge "Add annotations to a new API" into mnc-dev
* commit 'f559546d8c47988f5c4278bde27eb26da1c256cc': Add annotations to a new API
This commit is contained in:
@@ -3790,7 +3790,7 @@ public class Activity extends ContextThemeWrapper
|
||||
* @see #requestPermissions(String[], int)
|
||||
* @see #onRequestPermissionsResult(int, String[], int[])
|
||||
*/
|
||||
public boolean shouldShowRequestPermissionRationale(String permission) {
|
||||
public boolean shouldShowRequestPermissionRationale(@NonNull String permission) {
|
||||
return getPackageManager().shouldShowRequestPermissionRationale(permission);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user