diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-07-08 23:48:36 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-07-09 01:48:46 +0000 |
commit | 64413843b5d5fdc30f4fa6b0fbf768794bb3d763 (patch) | |
tree | 379d76fa0f568cfbdde1373883d6abc91f130ab5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 741b46fa7d9056e3a5e24af5fb13a66b7d84b3a5 (diff) |
Simplify handling activity config a bit
- Remove parameter movedToDifferentDisplay because it can be
retrieved by comparing current display id and new id. Then
some logic can be shared.
- REPORT_TO_ACTIVITY was used to distinguish whether to report
new configuration to the activity according it is process or
activity level change. Since the conditions had been separated
by different methods, its usages can be removed.
Bug: 160780522
Test: atest MultiDisplayActivityLaunchTests
Change-Id: I914963261ba339ba8c7bb5c50d7a8b25791db12e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions