Update DesktopMode config for test.

Bug: 384568161
Test: atest
Flag: EXEMPT bugfix
Change-Id: Icf02be6f6cec5ed2d89ea8f647b7abbb212e768b
This commit is contained in:
Ben Lin
2025-02-05 00:41:21 +00:00
parent 11c035cb2f
commit 1b2e9f02b1

View File

@@ -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);