Reputation: 11
The cts test testNoDebuggingFeaturesRestriction from com.android.cts.devicepolicy.ManagedProfileTest fails for me when I run adb as root but it passes when I don't. I am not sure I understand which is the correct behaviour. Is it OK that the results are different?
For adb root the test fails with the warning "Warning: Activity not started, its current task has been brought to the front." Please let me know in case I am not clear. Thanks.
Upvotes: -1
Views: 690
Reputation: 31676
You are supposed to run CTS
on a user
build without root
access.
testNoDebuggingFeaturesRestriction()
is properly failing when adbd
is running with root
privileges. Ignore the warning - it has nothing to do with the reason why the test is failing.
Make sure to read The Compatilbility Definition Document
Upvotes: 0