commit | 707c0cf361985174a61e34eceb9fba35908fa20e | [log] [tgz] |
---|---|---|
author | Mehdi Alizadeh <mett@google.com> | Tue Sep 03 18:11:48 2019 -0700 |
committer | Mehdi Alizadeh <mett@google.com> | Mon Sep 16 11:28:42 2019 -0700 |
tree | 18ae34ca3e01480513b587dc581163a4b94b1114 | |
parent | e870e97c73343c903fb5ba7687200408d59334c8 [diff] |
Use ShortcutInfo#rank to order Sharing Shortcuts in ShareSheet Sort based on rank only when directly fetching the targets from ShortcutManager. Otherwise the target from AppPredictionService are already ordered. Bug: 140449186 Test: atest ChooserActivityTest Test: Manual test to verify shortcuts have the same order in Launcher and ShareSheet when AppPredictionService is disabled Change-Id: I41e08b86746c977c05acea8a5d0654083897741d