summaryrefslogtreecommitdiff
path: root/cmds
diff options
context:
space:
mode:
authorsatayev <satayev@google.com>2021-01-21 14:13:44 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-01-21 14:13:44 +0000
commitf1d5754c103fb6fb3e31984cd50b242a45d9ca72 (patch)
treee720d670d4bb459292d975fee7112af42d932bb0 /cmds
parent8c03d3c0d882d92578f4b70f358d11d95de5fb35 (diff)
parent244fa92fc1c6a35a8cb7a75ac4f87223522eb76e (diff)
Merge "Enable @TestApi access for instrumentation."
Diffstat (limited to 'cmds')
-rw-r--r--cmds/am/src/com/android/commands/am/Am.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java
index bdb83804d903..846a34eb41c9 100644
--- a/cmds/am/src/com/android/commands/am/Am.java
+++ b/cmds/am/src/com/android/commands/am/Am.java
@@ -174,10 +174,6 @@ public class Am extends BaseCommand {
instrument.noWindowAnimation = true;
} else if (opt.equals("--no-hidden-api-checks")) {
instrument.disableHiddenApiChecks = true;
- } else if (opt.equals("--no-test-api-checks")) {
- // TODO(satayev): remove this option, only kept for backwards compatibility with
- // cached tradefed instance
- instrument.disableTestApiChecks = false;
} else if (opt.equals("--no-test-api-access")) {
instrument.disableTestApiChecks = false;
} else if (opt.equals("--no-isolated-storage")) {
@@ -198,7 +194,6 @@ public class Am extends BaseCommand {
}
instrument.componentNameArg = nextArgRequired();
-
instrument.run();
}
}