summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTerry Wang <tytytyww@google.com>2020-12-04 18:03:06 -0800
committerTerry Wang <tytytyww@google.com>2020-12-07 19:49:38 -0800
commit5caaa238eb78373b44830ed46a56eeda62e597c0 (patch)
tree9e18b94ce5ad8d529216efabfdfd5d289de1f167 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenteef8137c886aabd7f48c92b11e95eb5dbd4990dc (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