Commit 5a4c8c7d authored by Browse Zhang's avatar Browse Zhang Committed by Hsin-Yi Chen
Browse files

Disable adb root for CtsOsHostTest#testNonExportedActivities

 CtsOsHostTest#testNonExportedActivities need run as unroot,so case
 fails if adb runs as root

 This patch adds unroot when run testNonExportedActivities and restores
 root state after the module is executed.

Bug: 117586010
Test: firstly adb root, and then run cts-on-gsi -m CtsOsHostTestCases
--skip-preconditions pass.

Change-Id: I7ce877bc93dd36e33d5874596948249a70b9bd9d
parent 1f83b75f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment