Merge "Fix a small bug where desktop mode changes might not be applied" into tm-qpr-dev
This commit is contained in:
@@ -62,6 +62,9 @@ public class DesktopModeController {
|
|||||||
private void onInit() {
|
private void onInit() {
|
||||||
ProtoLog.d(WM_SHELL_DESKTOP_MODE, "Initialize DesktopModeController");
|
ProtoLog.d(WM_SHELL_DESKTOP_MODE, "Initialize DesktopModeController");
|
||||||
mSettingsObserver.observe();
|
mSettingsObserver.observe();
|
||||||
|
if (DesktopMode.isActive(mContext)) {
|
||||||
|
updateDesktopModeActive(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
|
|||||||
Reference in New Issue
Block a user