diff options
author | Terry Wang <tytytyww@google.com> | 2020-12-04 18:03:06 -0800 |
---|---|---|
committer | Terry Wang <tytytyww@google.com> | 2020-12-07 19:49:38 -0800 |
commit | 5caaa238eb78373b44830ed46a56eeda62e597c0 (patch) | |
tree | 9e18b94ce5ad8d529216efabfdfd5d289de1f167 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | eef8137c886aabd7f48c92b11e95eb5dbd4990dc (diff) |
Split getInstance and createInstance in AppSearchImpl
User could never call an uninitialized SearchSession, so convert and
propagate the initialize error in getInstace to user for every call is
unnecessary.
Split createInstace for initialization, and getInstance for other calls.
Removed AppSearchException from getInstace's signature.
Test: presubmit
Bug: 162450968
Change-Id: I925506ad0f6540b060c77ed2a535737ee71f781c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions