commit | ce25ed2994413c8985cf2a8b047b079d5208a53a | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Thu May 04 11:44:31 2017 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Thu May 04 11:44:31 2017 -0700 |
tree | de8ab7e651c844958a85abc90a3479b7e7f3436c | |
parent | 5fafafaba26c2a451e209a5b2da9c05c4b7c8201 [diff] |
Close databases in onStop user The key is evicted before onCleanup. To be safe we should close db in onStopUser while the key is still available Test: switch to u10, switch to u0, am stop-user 10, am switch-user 10 Bug: 37781320 Change-Id: Iab18c503a236a15833974b0dad2af6eed86a6c02