com.google.android.xts.devicepolicy.DeviceOwnerTest
–testFactoryResetProtection fail
android M, gts 3.0r3
看logcat,有类似的log:
W/XtsHostTestBase: junit.framework.AssertionFailedError: Setting [ACCOUNT_ID0, ACCOUNT_ID1] does not change FRP partition.
测试其他手机,发现
Phone model | google play service 8.3.01 | google play service 8.7.03 |
---|---|---|
Samsung Galaxy J7 | PASS | FAIL |
Nexus 6 | PASS | FAIL |
如上可以看到在新版的google play service 上测试fail, 属于软件本身的问题。
在android L 和 M上,可以申请waive。
说明: 这条case是测试FactoryResetProtection是否正常。