Merge "Display-level relative display rotation should be 0" into tm-qpr-dev
This commit is contained in:
@@ -6729,4 +6729,11 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
|
||||
DisplayContent asDisplayContent() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Surface.Rotation
|
||||
int getRelativeDisplayRotation() {
|
||||
// Display is the root, so it's not rotated relative to anything.
|
||||
return Surface.ROTATION_0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user