diff options
author | George Hodulik <georgehodulik@google.com> | 2019-04-26 16:17:54 -0700 |
---|---|---|
committer | George Hodulik <georgehodulik@google.com> | 2019-05-01 22:01:16 +0000 |
commit | 3f399f2b160a6f1e4ff0003982effd3a681e737d (patch) | |
tree | 8bec0994901a80184e9a84fe2051bd57b440fd8b /startop/scripts/lib/cmd_utils.py | |
parent | e587f53cb06a1d2cb9320a685060966f1ce97257 (diff) |
Default to RankerResolver if AppPredictor is disabled
The AppPredictionServiceResolverComparator will use the ResolverRankerService
if APS appears to be disabled for share activities (returning empty despite
being given a non-empty target list).
For Direct share targets, if the share target list returned is empty, we fall
back on calling the ShortcutManager directly and relying on ChooserTargetService
to rank.
Bug:129014961
Test:Manually tested.
Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Change-Id: I9891a3a4d879e247b84a651408058153ea57c766
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions