Layout SurfaceView in parent frame.
We always want the SurfaceView to be layed out relative to the parent frame, fixes multiple issues in freeform mode. Bug: 26689889 Change-Id: Ib4728a515dc01c6884363b68a29f2e4ce5d5babc
This commit is contained in:
@@ -499,7 +499,8 @@ public class SurfaceView extends View {
|
||||
mLayout.privateFlags |=
|
||||
WindowManager.LayoutParams.PRIVATE_FLAG_COMPATIBLE_WINDOW;
|
||||
}
|
||||
mLayout.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION;
|
||||
mLayout.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION
|
||||
| WindowManager.LayoutParams.PRIVATE_FLAG_LAYOUT_CHILD_WINDOW_IN_PARENT_FRAME;
|
||||
|
||||
if (mWindow == null) {
|
||||
Display display = getDisplay();
|
||||
|
||||
Reference in New Issue
Block a user