Fix issue #2547337: switching night modes
Dumb. Change-Id: Iaa72eaac54422f7fd95cf1050f6b7b6da55af0c3
This commit is contained in:
@@ -484,6 +484,7 @@ class UiModeManagerService extends IUiModeManager.Stub {
|
||||
Intent intent = new Intent(Intent.ACTION_MAIN);
|
||||
intent.addCategory(Intent.CATEGORY_HOME);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
mHoldingConfiguration = false;
|
||||
updateConfigurationLocked(false);
|
||||
ActivityManagerNative.getDefault().startActivityWithConfig(
|
||||
null, intent, null, null, 0, null, null, 0, false, false,
|
||||
|
||||
Reference in New Issue
Block a user