Loading
Settings: Fix queryShortcuts_shouldSortBasedOnPriority test
Previously this test asserted that the resulting ActivityInfo instances from the queryShortcuts() method were the same address. While this can assert general equality, it is more robust to assert the resulting ResolveInfos- mainly that they are sorted by priority. Bug: b/314924127 Test: atest SettingsRoboTests:com.android.settings.shortcut.CreateShortcutPreferenceControllerTest Flag: TEST_ONLY Change-Id: I00210440c7c1a87a6f8eb7a2866ae8571ec7d053