summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDiego Vela <diegovela@google.com>2021-10-15 09:47:10 -0700
committerDiego Vela <diegovela@google.com>2021-10-15 09:47:10 -0700
commitca79b467c75a5f2c4f5e900f15f9c9b33afbc04e (patch)
treeb19b56ef0f14ad0d6e2e462c33faf25d77010641 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent67170963331cfd04f8befd0efcc81e2913e0f4be (diff)
Update SidecarProvider to pass Application Context.
Use Application Context in SidecarProvider to avoid a memory leak. There is a memory leak when an Activity is used that does not handle configuration changes. The leak happens because the Activity may be captured and retained longer than desired. Bug: 202989046 Bug: 202250276 Test: manual - Use an activity that ignores configuration changes. Test: Install leak canary. Test: Subscribe to WindowLayoutInfo changes using an Activity. Test: Rotate the device a few times. Change-Id: I953d0cb39d21af00aad7044678e256d16b2d1c85
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions