commit | a1c18a81afaa03354478e929e1b071193683e5fe | [log] [tgz] |
---|---|---|
author | Mehdi Alizadeh <mett@google.com> | Thu Aug 15 16:31:38 2019 -0700 |
committer | Mehdi Alizadeh <mett@google.com> | Fri Aug 16 23:57:46 2019 +0000 |
tree | cc3f0e857f1b6301930211825910ff17e93f1d9b | |
parent | 37e74a84209e6ed2dc50feb6f00abf882f392202 [diff] |
Skip using the AppPredictionService if the component is not available This CL adds a safeguard in ShareSheet to avoid calls to AppPredictionService when the service is defined but is not available, for example in the case of a wrong AiAi apk pushed from GooglePlay. Bug: 138595943 Test: Manual test by removing the AiAi package from device Change-Id: I4109c5122faa753d5111ee45698301cb6ccdd7b5