Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f559546d authored by Svetoslav's avatar Svetoslav Committed by Android (Google) Code Review
Browse files

Merge "Add annotations to a new API" into mnc-dev

parents 8f589d01 9ce9a15f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }