Allow adb shell to run as root in tests variant
Linaro is starting to use the TARGET_BUILD_VARIANT=tests, slowly
transitioning from the traditional TARGET_BUILD_VARIANT=eng builds.
Testing has found that LAVA (specifically the lava-android-test project)
expects adb shell to offer full root access. This is not the case in
'tests' builds where adb shell drops privileges and runs as the 'shell'
user.
Since it does not decrease security in any way (tests builds are marked
as insecure) would like to have adb root shell access in
TARGET_BUILD_VARIANT=tests as well.
Change-Id: I20cbe3f32385162f9dc2b6b71c47ad22b9a0924f
1 file changed