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.
Different results running android cts test with adb as root vs not as root
648 Views Asked by user2248720 At
1
There are 1 best solutions below
Related Questions in ADB
- How can I build ADB ARM myself?
- Android studio crash, nothing in logcat
- adb screen size changes after reboot
- I want to find fingerprint interface bound by adb
- Connected device (the doctor check crashed)
- Internet wifi video streaming at low speed
- installing 'xiaomi notes.apk' through adb on chromebook getting error
- In Android emulator with sdk 30 or higher, hosts file is reset to default
- react-native android app compile problems
- How to change the "Carrier name" of the Android virtual device (emulator)
- Android Fastboot, infinite bootloop on phone
- adb bugreport get nothing
- ADB doesn't see the device (LD PLayer emulator)
- Understanding virtual to physical memory translation in Android
- How to wait until Android Studio virtual machine is fully loaded
Related Questions in ROOT-ACCESS
- Electron JS application open at login after providing admin privilege not working
- FAILED (remote: 'Command not allowed') fastboot: error: Command failed
- Can I mount the root (system) filesystem as writable in macOS Monterey?
- Installation without Root Access in Linux
- How to access files in root directory of VPS from other shared hosting server?
- Is there any framework / program to control Android emulator via Code?
- Re-routing VOIP packets from multiple ports to one specific port in rooted android phone
- Application is working on rooted device but not working with SuperSU
- How to know what bots of a website, if I have no root access to the hosting they will read?
- How to inject SELinux policies permanently in android?
- Root Access on Android Things
- Transferring AWS Root Account access when MFA is enabled
- I am making a application which will help user to record its screen
- How to revoke other applications permission in android with root access?
- Root access in windows 7/10
Related Questions in ANDROID-CTS
- How to setup and run Android CTS in Windows OS
- Is there any steps to configure android-cts latest version 13 on docker?
- is it possible to stop the cts and save the current logs
- android-gts Setup android-gts on ubuntu16.04
- What are the correct commands to run the CTS and VTS test plans?
- How to stop android CTS with saving the current results?
- CTS error faced
- How to build Trade Federation test cases
- android-cts-8.1_r3 execution is not starting
- Not able to add new group permission in android
- Android CTS 7.0: CtsCarrierApiTestCases item failed in "testHasCarrierPrivileges"
- Android CTS - Random test fails
- Android CTS: "Error during Sync: timeout"
- CTS PrivateAttributeTest in M: How to resolve it by using private attribute correctly?
- Android: Adding a custom test to the compatibility test suite
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You are supposed to run
CTSon auserbuild withoutrootaccess.testNoDebuggingFeaturesRestriction()is properly failing whenadbdis running withrootprivileges. Ignore the warning - it has nothing to do with the reason why the test is failing.Make sure to read The Compatilbility Definition Document