Add showSystem to RecentLocationAccess (Settings)

Bug: 180533061
Test: on device
Change-Id: Ie232bc84d7875897316e978ed3deac9656ebec5f
This commit is contained in:
Yu-Han Yang
2021-03-02 14:01:28 -08:00
parent 2a6d2e4a2d
commit f7513d9821
2 changed files with 3 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ public class RecentLocationAccessPreferenceControllerTest {
@Test
@Ignore
public void updateState_whenAppListIsEmpty_shouldDisplayTitleTextAndDetailsText() {
doReturn(new ArrayList<>()).when(mRecentLocationApps).getAppListSorted();
doReturn(new ArrayList<>()).when(mRecentLocationApps).getAppListSorted(false);
mController.displayPreference(mScreen);
mController.updateState(mLayoutPreference);