Skip to content
Commit 5caaa238 authored by Terry Wang's avatar Terry Wang
Browse files

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
parent eef8137c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment