commit | 16118f90f8d94f558e9cfc04dc3fe0b5ca490548 | [log] [tgz] |
---|---|---|
author | jdesprez <jdesprez@google.com> | Thu Mar 15 16:52:36 2018 -0700 |
committer | jdesprez <jdesprez@google.com> | Thu Mar 15 16:52:36 2018 -0700 |
tree | 43798f303e35d741d4353a91513c3a4d53b857f7 | |
parent | e5c972aa0ef2fb0317cb03b616e059578e1d1923 [diff] |
Add hidden-api-flag to Installedinstru for APCT APCT needs that flag in its runner. Test: unit tests Bug: 74963051 Change-Id: I29c8d8f6194ea95ce209393a55e106b1a6788882
diff --git a/src/com/android/tradefed/testtype/InstalledInstrumentationsTest.java b/src/com/android/tradefed/testtype/InstalledInstrumentationsTest.java index 5e15312..49b7966 100644 --- a/src/com/android/tradefed/testtype/InstalledInstrumentationsTest.java +++ b/src/com/android/tradefed/testtype/InstalledInstrumentationsTest.java
@@ -154,6 +154,14 @@ ) private boolean mCoverage = false; + @Option( + name = "hidden-api-checks", + description = + "If set to false, the '--no-hidden-api-checks' flag will be passed to the am " + + "instrument command. Only works for P or later." + ) + private boolean mHiddenApiChecks = true; + private int mTotalShards = 0; private int mShardIndex = 0;