summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-04-24 22:06:29 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-04-28 20:23:23 +0800
commitd4957437b7eabb42c6887a63b3b38df803cb5061 (patch)
tree12271f946fa44e503a3f5b57ddcd2011af6a865d /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta077a8a0cc959c51eb94dcf405ce31cf9054b9b9 (diff)
Extensive handling of fixed rotation launching app
This fixes a case that display does not rotate after multiple activities in a different rotation than display are launched. - Link the transform state from the existing one to the new launching activity. So the heavy duplicated calculation is omitted and they can be recognized as a group to continue to update display rotation. - Add a dedicated transition listener so it will not miss to handle display rotation if the reported token is different. That avoids leakage if somehow the transition is not notified then the listener is not unregistered. The path to finish fixed rotation is also simplified because there is always a transition listener to handle the incoming record. Fixes: 154911677 Test: atest DisplayContentTests#testApplyTopFixedRotationTransform Change-Id: Id370d7980d11553905b6a051482e3765ed61dc39
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions