Fix errors during reverse number lookup.
- GoogleAuthUtil.getToken() is not multi-thread safe and causes bind errors
when called at the same time by multiple threads. Switched to process
getToken() serially. Also save token to be re-used instead of fetching new
token for each request.
- Safe guard json parsing by adding explicit JSONException check when looking
for json arrays by name.
- Added thread pool instead of starting a new async task for each people and
image lookup.
Bug: 10462306
Bug: 10492891
Change-Id: I832a9f6657d1b5747d75cd93ea49a6df73c889db
2 files changed
tree: c77a577f1c577c44a58785f12c8746da82610384
- InCallUI/