diff options
author | George Hodulik <georgehodulik@google.com> | 2019-03-27 11:18:43 -0700 |
---|---|---|
committer | George Hodulik <georgehodulik@google.com> | 2019-04-12 16:47:14 -0700 |
commit | 145b3a5129e810dd22c1f626a28f99f2641d3a0c (patch) | |
tree | 97638535cb39ca4bb046cf705e609bf644e4b023 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9b92030ad599508da5603a449cfb50b06ccd37d4 (diff) |
Add AppPredictionServiceExists check.
When the flag is set, Chooser will check if APS exists and use it for
direct share ranking. Otherwise, Chooser defaults to just querying ShortcutManager
itself. ResolverActivity will register an appPredictor with ui surface
"resolver" and ChooserActivity will use ui surface "share".
Later, we will add a similar behavior to use the AppPredictor to
sort actvities by default (if it exists), otherwise use the old
API ResolverRankerService.
Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Test: Added parameterized tests for case when there is no AppPredictionService.
Bug:129014961
Change-Id: I6109aa8f2436cf0b3c3b4fbc36e571b2b00fe45c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions