Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9a9bcb5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't run failing 'other user' test pre-R" into rvc-dev am: 4f445cfc

Change-Id: I175ae639b6b807ca5a2c0af83e7eae368d2d8a3d
parents a3a799f8 4f445cfc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ import com.android.documentsui.sidebar.RootItem;
import com.android.documentsui.testing.TestActionHandler;
import com.android.documentsui.testing.TestProvidersAccess;
import com.android.documentsui.testing.TestResolveInfo;
import com.android.documentsui.util.VersionUtils;

import com.google.common.collect.Lists;

@@ -169,6 +170,9 @@ public class AppsRowManagerTest {

    @Test
    public void testUpdateView_showSelectedUserItems_otherUser() {
        if (!VersionUtils.isAtLeastR()) {
            return;
        }
        mState.action = State.ACTION_GET_CONTENT;
        when(mActivity.getSelectedUser()).thenReturn(TestProvidersAccess.OtherUser.USER_ID);
        mState.stack.changeRoot(TestProvidersAccess.RECENTS);