CTS Failed item solution

CTS Failed item solution

CtsWindowManagerDeviceTestCases
Test:android.server.wm.MultiDisplaySystemDecorationTests#testLaunchSecondaryHomeActivityOnDisplayWithDecorations
Details:java.lang.AssertionError: Activity launched on secondary display must be resumed

Solution:
/system/frameworks/base/core/res/res/values/config.xml, modify config_useSystemProvidedLauncherForSecondary to true

<!-- Force secondary home launcher specified in config_secondaryHomePackage always. If this is
     not set, secondary home launcher can be replaced by user. -->
<bool name ="config_useSystemProvidedLauncherForSecondary">true</bool>

Overlay:
It is recommended to make Overlay in system/device/mediatek/system/common/overlay/ according to the project situation, and add the path to the device.mk file.

Unhappiness is a continent in need of heroes.

Guess you like

Origin blog.csdn.net/weixin_45377770/article/details/132363717