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
Loading
Please register or sign in to comment