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:
Svetoslav
2015-06-03 01:05:44 +00:00
committed by Android Git Automerger

View File

@@ -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);
}