diff options
author | JW Wang <wangchun@google.com> | 2020-07-29 11:33:30 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2020-08-07 07:58:50 +0800 |
commit | 4a2bbeab938c59c7620fbf99a2c314c548ba5c94 (patch) | |
tree | 04f2a3a0c415d3ba976526d8e7a09d3da51417ab /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5605ab66d7cfe44a6779a113fc2914dd2be22d64 (diff) |
Store object references along with child session Ids (1/n)
1. Null-check is no longer needed in removeChildSessionId()
since we never store null in child sessions.
2. Simplify the lock model for we no longer need
mSessionProvider.getSession() to retrieve a child session which
must be called outside mLock.
Bug: 162386287
Test: atest StagedInstallTest
Change-Id: I05580968a6ed97647c841f7c47fc1cb1a94ead5a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions