Merge "Add annotations to a new API" into mnc-dev
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