Loading libs/WindowManager/Shell/src/com/android/wm/shell/appzoomout/AppZoomOutController.java +5 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.wm.shell.appzoomout; import static android.app.WindowConfiguration.ROTATION_UNDEFINED; import static android.view.Display.DEFAULT_DISPLAY; import android.app.ActivityManager; Loading Loading @@ -100,6 +101,7 @@ public class AppZoomOutController implements RemoteCallable<AppZoomOutController mDisplayController.addDisplayWindowListener(mDisplaysChangedListener); mDisplayController.addDisplayChangingController(this); updateDisplayLayout(mContext.getDisplayId()); mDisplayAreaOrganizer.registerOrganizer(); } Loading Loading @@ -135,8 +137,10 @@ public class AppZoomOutController implements RemoteCallable<AppZoomOutController public void onDisplayChange(int displayId, int fromRotation, int toRotation, @Nullable DisplayAreaInfo newDisplayAreaInfo, WindowContainerTransaction wct) { // TODO: verify if there is synchronization issues. if (toRotation != ROTATION_UNDEFINED) { mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation); } } @Override public Context getContext() { Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/appzoomout/AppZoomOutController.java +5 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.wm.shell.appzoomout; import static android.app.WindowConfiguration.ROTATION_UNDEFINED; import static android.view.Display.DEFAULT_DISPLAY; import android.app.ActivityManager; Loading Loading @@ -100,6 +101,7 @@ public class AppZoomOutController implements RemoteCallable<AppZoomOutController mDisplayController.addDisplayWindowListener(mDisplaysChangedListener); mDisplayController.addDisplayChangingController(this); updateDisplayLayout(mContext.getDisplayId()); mDisplayAreaOrganizer.registerOrganizer(); } Loading Loading @@ -135,8 +137,10 @@ public class AppZoomOutController implements RemoteCallable<AppZoomOutController public void onDisplayChange(int displayId, int fromRotation, int toRotation, @Nullable DisplayAreaInfo newDisplayAreaInfo, WindowContainerTransaction wct) { // TODO: verify if there is synchronization issues. if (toRotation != ROTATION_UNDEFINED) { mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation); } } @Override public Context getContext() { Loading