Update DesktopMode config for test.
Bug: 384568161 Test: atest Flag: EXEMPT bugfix Change-Id: Icf02be6f6cec5ed2d89ea8f647b7abbb212e768b
This commit is contained in:
1 parent
11c035cb2f
commit
1b2e9f02b1
1 file changed
+2
@@ -97,6 +97,8 @@ public class RecentTasksListTest {
|
||||
// Set desktop mode supported
|
||||
when(mContext.getResources()).thenReturn(mResources);
|
||||
when(mResources.getBoolean(R.bool.config_isDesktopModeSupported)).thenReturn(true);
|
||||
when(mResources.getBoolean(R.bool.config_canInternalDisplayHostDesktops))
|
||||
.thenReturn(true);
|
||||
|
||||
mRecentTasksList = new RecentTasksList(mContext, mockMainThreadExecutor,
|
||||
mockKeyguardManager, mSystemUiProxy, mTopTaskTracker);
|
||||
|
||||
Reference in new issue
Block a user