Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9b0325e authored by Tom Natan's avatar Tom Natan Committed by Automerger Merge Worker
Browse files

Merge "Don't drop shell permissions before running test." into sc-dev am: 1aee0b2c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13872929

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic20ac0a29661f0db439a823112fd60cbae75f44e
parents ea03bdaf 1aee0b2c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -100,7 +100,6 @@ public class PlatformCompatChangeRule extends CoreCompatChangeRule {
                platformCompat.setOverridesForTest(new CompatibilityChangeConfig(mConfig),
                        packageName);
                try {
                    uiAutomation.dropShellPermissionIdentity();
                    mTestStatement.evaluate();
                } finally {
                    adoptShellPermissions(uiAutomation);