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

Commit bb238222 authored by Ben Lin's avatar Ben Lin Committed by Android (Google) Code Review
Browse files

Merge "Update WorkProfilePolicyTest for Desktop Mode." into main

parents 85a46c53 ec79dc8a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -80,6 +80,8 @@ class WorkProfilePolicyTest {
        // Set desktop mode supported
        whenever(mContext.resources).thenReturn(mResources)
        whenever(mResources.getBoolean(R.bool.config_isDesktopModeSupported)).thenReturn(true)
        whenever(mResources.getBoolean(R.bool.config_canInternalDisplayHostDesktops))
            .thenReturn(true)

        policy = WorkProfilePolicy(kosmos.profileTypeRepository, mContext)
    }