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

Commit 7f118f16 authored by Amit Kumar's avatar Amit Kumar 💻
Browse files

Change status bar color to light

parent dab5dea1
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -137,6 +137,10 @@ public abstract class BaseActivity extends Activity {
        mActivityFlags &= ~ACTIVITY_STATE_STARTED & ~ACTIVITY_STATE_USER_ACTIVE;
        mForceInvisible = 0;
        super.onStop();

        // Reset the overridden sysui flags used for the task-swipe launch animation, this is a
        // catch all for if we do not get resumed (and therefore not paused below)
        getSystemUiController().updateUiState(SystemUiController.UI_STATE_OVERVIEW, 0);
    }

    @Override
@@ -148,7 +152,7 @@ public abstract class BaseActivity extends Activity {
        // here instead of at the end of the animation because the start of the new activity does
        // not happen immediately, which would cause us to reset to launcher's sysui flags and then
        // back to the new app (causing a flash)
        getSystemUiController().updateUiState(SystemUiController.UI_STATE_NORMAL, 0);
        getSystemUiController().updateUiState(SystemUiController.UI_STATE_OVERVIEW, 0);
    }

    public boolean isStarted() {
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ class TestActivity : BaseDraggingActivity(), AutoCompleteAdapter.OnSuggestionCli

        systemUiController.updateUiState(
            SystemUiController.UI_STATE_BASE_WINDOW,
            true
            false
        )
        rotationHelper.initialize()
        TraceHelper.endSection("Launcher-onCreate")