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

Commit d019bce4 authored by Svet Ganov's avatar Svet Ganov Committed by Android Git Automerger
Browse files

am e7b7049b: am f8847c02: am db8fa48e: Merge "Return a result from...

am e7b7049b: am f8847c02: am db8fa48e: Merge "Return a result from Fragment#shouldShowRequestPermissionRationale" into mnc-dev

* commit 'e7b7049b':
  Return a result from Fragment#shouldShowRequestPermissionRationale
parents d7335400 e7b7049b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1249,7 +1249,8 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene
     */
    public boolean shouldShowRequestPermissionRationale(@NonNull String permission) {
        if (mHost != null) {
            mHost.getContext().getPackageManager().shouldShowRequestPermissionRationale(permission);
            return mHost.getContext().getPackageManager()
                    .shouldShowRequestPermissionRationale(permission);
        }
        return false;
    }