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

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

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

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

* commit 'd019bce4':
  Return a result from Fragment#shouldShowRequestPermissionRationale
parents a4928832 d019bce4
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;
    }