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

Commit e33c33e3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Disable requestVisibleBehind." into oc-dev

parents c55f7d21 8661c5e5
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -6416,17 +6416,7 @@ public class Activity extends ContextThemeWrapper
     */
    @Deprecated
    public boolean requestVisibleBehind(boolean visible) {
        if (!mResumed) {
            // 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;
        return false;
    }

    /**