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

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

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

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

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