* commit '1df1f7137edb8ffa342a2cb4384e583290ee7b24': 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