update wifi unit test script

Need to add "--no-hidden-api-checks" to unit test script.

Verified by running runtests

Bug: 78465388
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I916a2870bde2cbfe1966d18a0f7a13def2bd1ce7
This commit is contained in:
Rebecca Silberstein
2018-04-23 15:54:36 -07:00
parent 5ee0f5c1d7
commit 3f26ff2f56

View File

@@ -21,4 +21,5 @@ adb wait-for-device
adb install -r -g "$OUT/data/app/FrameworksWifiApiTests/FrameworksWifiApiTests.apk"
adb shell am instrument -w "$@" 'android.net.wifi.test/android.support.test.runner.AndroidJUnitRunner'
adb shell am instrument --no-hidden-api-checks -w "$@" \
'android.net.wifi.test/android.support.test.runner.AndroidJUnitRunner'