commit | 91888933dd74c6af85eb60037b3962023ec3c9c7 | [log] [tgz] |
---|---|---|
author | Jacqueline Bronger <bronger@google.com> | Thu Sep 08 17:19:07 2022 +0200 |
committer | Jacqueline Bronger <bronger@google.com> | Thu Dec 15 12:27:24 2022 +0000 |
tree | 6a7d9b650893d68878f663d171ec120058be0015 | |
parent | 44af4ad14d7f0aa5f6f5a1297c63d4efbf7c0150 [diff] |
Fix RTL TV PiP position Gravity.END doesn't seem to work, even when adding the correct layout direction to Gravity.apply(...). Therefore manually check for RTL and using left and right gravities. Bug: 245290804 Test: atest TvPipGravityTest Test: manual - change system language to RTL language e.g. Arabic, start regular PiP + start expanded PiP and collapse via menu -> PiP should be in the bottom-left corner Change-Id: Id8fb19271d6b31515420b298693cb5eb01678c44