diff options
author | George Mount <mount@google.com> | 2017-03-02 13:22:18 -0800 |
---|---|---|
committer | George Mount <mount@google.com> | 2017-03-03 17:27:56 -0800 |
commit | e6f7daeb469ee4242416270b803e06909436d90e (patch) | |
tree | adb3dfeb1a455a3fba9509c3f17c985005bbb4d0 /tools/aapt2/diff/Diff.cpp | |
parent | 43d059bf486969912b404b9d5f11ac0d2b9e7b89 (diff) |
Fix Loader bugs
Bug 32758881
Bug 34264461
When destroying the LoaderManager, the host was not being cleared.
The host was being leaked and this leaked the Activity.
When a LoaderManager is reused, for example with an orientation
change, the host was updated, but it wasn't started. This
adds a test for that case to ensure that when a reused
LoaderManager is loaded that it is properly started.
Test: Ib90f14e16083916a21a25ce87a4dd29ab9a33878
Change-Id: Id4c8afab5db0a78bbff376d597be294a6e3dbcba
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions