Merge "Display-level relative display rotation should be 0" into tm-qpr-dev am: e0e646c47a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20085585 Change-Id: I4c39e9ebd1a975b03c72e82b03457154a3af065e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -6729,4 +6729,11 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
|
|||||||
DisplayContent asDisplayContent() {
|
DisplayContent asDisplayContent() {
|
||||||
return this;
|
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