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

Commit da72cb36 authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "Disable requestVisibleBehind." into oc-dev

am: e33c33e3

Change-Id: I29e5507d716e19060d4c0578d4b4df3bcfa30069
parents a96ef94e e33c33e3
Loading
Loading
Loading
Loading
+1 −11
Original line number Original line Diff line number Diff line
@@ -6416,17 +6416,7 @@ public class Activity extends ContextThemeWrapper
     */
     */
    @Deprecated
    @Deprecated
    public boolean requestVisibleBehind(boolean visible) {
    public boolean requestVisibleBehind(boolean visible) {
        if (!mResumed) {
        return false;
            // Do not permit paused or stopped activities to do this.
            visible = false;
        }
        try {
            mVisibleBehind = ActivityManager.getService()
                    .requestVisibleBehind(mToken, visible) && visible;
        } catch (RemoteException e) {
            mVisibleBehind = false;
        }
        return mVisibleBehind;
    }
    }


    /**
    /**