commit | f46edf5bbe1dc29101b3279b37af37ed49571082 | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Tue Aug 08 10:44:34 2017 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Tue Aug 08 13:18:42 2017 -0700 |
tree | 95dfad12fe6a166af2f2c06d9f3a32b4d6bb0a85 | |
parent | 3306c0d76b75f6aa9319d058bd9b0dfd95186748 [diff] |
Allow to close session from wrong context. commitLocked runs on a handler, thereby as system. It will call close() if the package installer is popped-up to confirm the installation. Hence we have to allow this use case without checking the caller. Bug: 64467704 Test: gts-tradefed run singleCommand gts -m GtsPackageInstallSessionTestCases Change-Id: I0bd0329c0485c50afa459d90c3372d7bf7408287