Loading core/java/android/view/WindowlessWindowManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ public class WindowlessWindowManager implements IWindowSession { private final static String TAG = "WindowlessWindowManager"; private class State { //TODO : b/150190730 we should create it when view show and release it when view invisible. SurfaceControl mSurfaceControl; WindowManager.LayoutParams mParams = new WindowManager.LayoutParams(); int mDisplayId; Loading packages/SystemUI/src/com/android/systemui/stackdivider/Divider.java +6 −4 Original line number Diff line number Diff line Loading @@ -238,11 +238,8 @@ public class Divider extends SystemUI implements DividerView.DividerCallbacks, mSplitLayout.mSecondary = new Rect(mRotateSplitLayout.mSecondary); mRotateSplitLayout = null; } if (isSplitActive()) { update(newConfig); } } Handler getHandler() { return mHandler; Loading Loading @@ -316,6 +313,11 @@ public class Divider extends SystemUI implements DividerView.DividerCallbacks, mHandler.post(this::removeDivider); } void onTasksReady() { mHandler.post(() -> update(mDisplayController.getDisplayContext( mContext.getDisplayId()).getResources().getConfiguration())); } private void updateVisibility(final boolean visible) { if (DEBUG) Slog.d(TAG, "Updating visibility " + mVisible + "->" + visible); if (mVisible != visible) { Loading packages/SystemUI/src/com/android/systemui/stackdivider/SplitScreenTaskOrganizer.java +2 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,8 @@ class SplitScreenTaskOrganizer extends TaskOrganizer { t.setColor(mSecondaryDim, new float[]{0f, 0f, 0f}); t.apply(); releaseTransaction(t); mDivider.onTasksReady(); } } } Loading Loading
core/java/android/view/WindowlessWindowManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ public class WindowlessWindowManager implements IWindowSession { private final static String TAG = "WindowlessWindowManager"; private class State { //TODO : b/150190730 we should create it when view show and release it when view invisible. SurfaceControl mSurfaceControl; WindowManager.LayoutParams mParams = new WindowManager.LayoutParams(); int mDisplayId; Loading
packages/SystemUI/src/com/android/systemui/stackdivider/Divider.java +6 −4 Original line number Diff line number Diff line Loading @@ -238,11 +238,8 @@ public class Divider extends SystemUI implements DividerView.DividerCallbacks, mSplitLayout.mSecondary = new Rect(mRotateSplitLayout.mSecondary); mRotateSplitLayout = null; } if (isSplitActive()) { update(newConfig); } } Handler getHandler() { return mHandler; Loading Loading @@ -316,6 +313,11 @@ public class Divider extends SystemUI implements DividerView.DividerCallbacks, mHandler.post(this::removeDivider); } void onTasksReady() { mHandler.post(() -> update(mDisplayController.getDisplayContext( mContext.getDisplayId()).getResources().getConfiguration())); } private void updateVisibility(final boolean visible) { if (DEBUG) Slog.d(TAG, "Updating visibility " + mVisible + "->" + visible); if (mVisible != visible) { Loading
packages/SystemUI/src/com/android/systemui/stackdivider/SplitScreenTaskOrganizer.java +2 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,8 @@ class SplitScreenTaskOrganizer extends TaskOrganizer { t.setColor(mSecondaryDim, new float[]{0f, 0f, 0f}); t.apply(); releaseTransaction(t); mDivider.onTasksReady(); } } } Loading