[DESCRIPTION]
GtsSettingsTestCases
com.google.android.settings.gts.PrivacySettingsDisplayTest#checkWorkPolicyInfoIntentIsDefined
Fail:
org.junit.ComparisonFailure: expected:<[com.google.android.settings.privacy.ACTION_SHOW_WORK_POLICY_INFO]> but was:<[]>
GtsSettingsHostTestCases
com.android.compatibility.common.tradefed.testtype.JarHostTest com.google.android.gts.settings.PrivacyDeviceOwnerTest#testDeviceOwnerWithInfo
Fail:
junit.framework.AssertionFailedError: com.google.android.gts.deviceowner.DeviceOwnerTest failed.
[SOLUTION]
Google settings overlay设定问题
需要在settings的overlay中加入:
com.google.android.settings.privacy.ACTION_SHOW_WORK_POLICY_INFO
路径:
gms_overlay\vendor\mediatek\proprietary\packages\apps\MtkSettings\res\values\config.xml
gms_overlay\packages\apps\Settings\res\values\config.xml