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.