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

Commit f34c6d9c authored by Andrew Sapperstein's avatar Andrew Sapperstein Committed by android-build-merger
Browse files

Merge "Use SystemUiContext for immersive mode cling." into oc-dr1-dev am: 2cbe6aa9

am: 016be7dc

Change-Id: I26abb7ac25f3d738871f7d5b2345620af467d04c
parents 144b3964 016be7dc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.server.policy;
import android.animation.ArgbEvaluator;
import android.animation.ValueAnimator;
import android.app.ActivityManager;
import android.app.ActivityThread;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
@@ -79,7 +80,7 @@ public class ImmersiveModeConfirmation {
    boolean mVrModeEnabled = false;

    public ImmersiveModeConfirmation(Context context) {
        mContext = context;
        mContext = ActivityThread.currentActivityThread().getSystemUiContext();
        mHandler = new H();
        mShowDelayMs = getNavBarExitDuration() * 3;
        mPanicThresholdMs = context.getResources()