FAIL 项:
armeabi-v7a GtsRegulationComplianceTestCases
com.google.android.regulationcompliance.gts.EEAComplianceTest#testEEAv2Compliance
背景:已经把搜索引擎隐藏,且不可被disable,但是测试任然fail
关键Log:
GtsRegulationComplianceTestCases-FAIL-v0108\log\2024.01.25_17.32.26\inv_9161771522708803567/device_logcat_test_*
Test failed: Your build must override the value of config_defaultSearchSelectorPackageName framework resource overlay with the package name of the SearchSelector app (com.google.android.apps.setupwizard.searchselector)
解决方案:如Log所述,必须用包名com.google.android.apps.setupwizard.searchselector去覆盖属性config_defaultSearchSelectorPackageName
文件路径:sys/frameworks/base/core/res/values/config.xml
config_defaultSearchSelectorPackageName 补齐:"com.google.android.apps.setupwizard.searchselector"
Tip:若不生效,请检查overlay