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

Change status bar color to light

parent dab5dea1
Pipeline #143146 passed with stage
in 10 minutes and 2 seconds
......@@ -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() {
......
......@@ -277,7 +277,7 @@ class TestActivity : BaseDraggingActivity(), AutoCompleteAdapter.OnSuggestionCli
systemUiController.updateUiState(
SystemUiController.UI_STATE_BASE_WINDOW,
true
false
)
rotationHelper.initialize()
TraceHelper.endSection("Launcher-onCreate")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment