commit | a9d1e71e24f0fa55878fe3e747b5a9dd41018a76 | [log] [tgz] |
---|---|---|
author | Meng Wang <mewan@google.com> | Tue Oct 15 17:45:08 2019 -0700 |
committer | Meng Wang <mewan@google.com> | Tue Oct 15 17:45:08 2019 -0700 |
tree | 2a6b33182492f06848227bdffe3bb77a15138114 | |
parent | 82dda3edaca279a4dc4aa01e20e383e7466a28d1 [diff] |
Sanity test of TelephonyManager.getDeviceSoftwareVersion(int) Bug: 142228257 Test: cts Change-Id: I713d33a649ed4f7eeb3ce3d3f3a7827c39dfbab7
diff --git a/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java b/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java index d736119..f19d80b 100644 --- a/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java +++ b/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java
@@ -451,6 +451,8 @@ (tm) -> tm.getDeviceId(mTelephonyManager.getSlotIndex())); mTelephonyManager.getDeviceSoftwareVersion(); ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, + (tm) -> tm.getDeviceSoftwareVersion(mTelephonyManager.getSlotIndex())); + ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, (tm) -> tm.getImei()); ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, (tm) -> tm.getImei(mTelephonyManager.getSlotIndex()));