summaryrefslogtreecommitdiff
path: root/core/java/android/rotationresolver/RotationResolverInternal.java
Commit message (Collapse)AuthorAgeFilesLines
* Grabs foreground activity's package nameYi Jiang2021-04-091-2/+5
| | | | | | | | | | | | Passes the foreground activity's package name to Rotation Reosolver. Test: printed package name locally and it correctly shows the foreground package. Bug:181151868 Bug:181150530 Change-Id: Ib6e6504f784283b2d4255da8e54929c6a26cb207
* Gets suggested screen rotations from RotationResolverService.Yi Jiang2021-02-081-3/+1
| | | | | | | Bug: 162359770 Bug: 172857585 Test: atest WindowOrientationListenerTest Change-Id: Ic8fc23b5a91b772df814d5893af15cd0e8c5d360
* Introduces RotationResolverService to the systemYi Jiang2021-01-251-0/+79
Rotation Resolver Service provides the suggested screen rotation to the system server. Bug: 162359770 Bug: 172370409 Test: atest RotationResolverManagerPerUserServiceTest Change-Id: Ia43dfdba8502e04768933ef46a4ac8a687d4936c