Merge "Hides the statusbar in recents for low ram devices" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
eb7aba16d2
@@ -358,6 +358,9 @@ public class RecentsActivity extends Activity implements ViewTreeObserver.OnPreD
|
|||||||
mScrimViews = new SystemBarScrimViews(this);
|
mScrimViews = new SystemBarScrimViews(this);
|
||||||
getWindow().getAttributes().privateFlags |=
|
getWindow().getAttributes().privateFlags |=
|
||||||
WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_DECOR_VIEW_VISIBILITY;
|
WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_DECOR_VIEW_VISIBILITY;
|
||||||
|
if (Recents.getConfiguration().isLowRamDevice) {
|
||||||
|
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||||
|
}
|
||||||
|
|
||||||
mLastConfig = new Configuration(Utilities.getAppConfiguration(this));
|
mLastConfig = new Configuration(Utilities.getAppConfiguration(this));
|
||||||
mFocusTimerDuration = getResources().getInteger(R.integer.recents_auto_advance_duration);
|
mFocusTimerDuration = getResources().getInteger(R.integer.recents_auto_advance_duration);
|
||||||
|
|||||||
Reference in New Issue
Block a user