commit | cb73e3b990bd7b63813944a79fd4f085ccac82eb | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Thu Mar 05 16:33:02 2020 -0800 |
committer | Hall Liu <hallliu@google.com> | Thu Mar 05 16:34:24 2020 -0800 |
tree | 8b43739ad013b0e4a96bc71444ccb0a3b951f514 | |
parent | 91ab120df24775e41a5f62ffc13789a6d1ccb45a [diff] |
Add CTS for API changes Bug: 147299011 Test: atest TelephonyManagerTest Change-Id: I38c3f8bf5311e0f4d245f49a8d22348f18dd4dbb
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 476166eb..2cbd847 100644 --- a/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java +++ b/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java
@@ -545,7 +545,8 @@ assertFalse(TextUtils.isEmpty(result)); } - TelephonyManager.getDefaultRespondViaMessageApplication(getContext(), false); + mTelephonyManager.getDefaultRespondViaMessageApplication(); + mTelephonyManager.getAndUpdateDefaultRespondViaMessageApplication(); } @Test