Commit Graph

5 Commits

Author SHA1 Message Date
Yi Jiang
6ea16de99d Grabs foreground activity's package name
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
2021-04-09 10:34:23 -07:00
Yi Jiang
10d2031e1b Gets suggested screen rotations from RotationResolverService.
Bug: 162359770
Bug: 172857585
Test: atest WindowOrientationListenerTest
Change-Id: Ic8fc23b5a91b772df814d5893af15cd0e8c5d360
2021-02-08 19:04:39 +00:00
Sam Saccone
8ea333ef37 Fix include of owners that was pointing to itself, and not loading the expected owners that were desired in ag/13414459
Bug: 172370409
Change-Id: I539f6d3f0f8c2a271be8368babe5af3d2949ee58
2021-01-29 02:31:12 +00:00
Yi Jiang
eee34dd19e Adds ONWERS files for rotation resolver service.
Bug: 172370409
Test: none
Change-Id: Ia932e6169d83eeee2f2ddcb6b028931858ca51f0
2021-01-27 08:34:18 +00:00
Yi Jiang
0127af73ed Introduces RotationResolverService to the system
Rotation Resolver Service provides the suggested screen rotation
to the system server.

Bug: 162359770
Bug: 172370409
Test: atest RotationResolverManagerPerUserServiceTest
Change-Id: Ia43dfdba8502e04768933ef46a4ac8a687d4936c
2021-01-25 20:58:14 +00:00