diff options
author | Diego Vela <diegovela@google.com> | 2021-10-15 09:47:10 -0700 |
---|---|---|
committer | Diego Vela <diegovela@google.com> | 2021-10-15 09:47:10 -0700 |
commit | ca79b467c75a5f2c4f5e900f15f9c9b33afbc04e (patch) | |
tree | b19b56ef0f14ad0d6e2e462c33faf25d77010641 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 67170963331cfd04f8befd0efcc81e2913e0f4be (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 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions