GMS 测试项Fail解决
CtsWindowManagerDeviceTestCasesTest:android.server.wm.MultiDisplaySystemDecorationTests#testLaunchSecondaryHomeActivityOnDisplayWithDecorationsDetails:java.lang.AssertionError: Activity launched on se
·
文章目录
CTS Fail 项解决
| CtsWindowManagerDeviceTestCases | |
|---|---|
| Test | Details |
| android.server.wm.MultiDisplaySystemDecorationTests#testLaunchSecondaryHomeActivityOnDisplayWithDecorations | java.lang.AssertionError: Activity launched on secondary display must be resumed |
解决方案(android 13):
/system/frameworks/base/core/res/res/values/config.xml,将config_useSystemProvidedLauncherForSecondary修改为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>
建议根据项目情况在system/device/mediatek/system/common/overlay/中做Overlay,并将路径加在device.mk文件中
GTS Fail 项解决
| GtsSetupWizardHostTestCases | |
|---|---|
| Test | Details |
| com.google.android.gts.setupwizard.SetupWizardZeroTouchTest#testZeroTouch_zeroTouchWrapperLaunched | java.lang.AssertionError: on-device tests failed: |
解决方案(android 13):
需要在开机向导连接wifi,登录Google账号多跑两次可以PASS
更多推荐




所有评论(0)