aboutsummaryrefslogtreecommitdiff
path: root/tests/telephonytests
diff options
context:
space:
mode:
authorSarah Chin <sarahchin@google.com>2020-04-21 12:27:36 -0700
committerSarah Chin <sarahchin@google.com>2020-05-20 12:51:27 -0700
commit8e3215ee5d628cf26b83ee5c131f0e22148f4d97 (patch)
treee94909d0e06328f2e9dc861a43656c2cb7745b22 /tests/telephonytests
parent80d12d989a818a36e55b8f11fc2c56d4e5a99b1e (diff)
downloadtelephony-8e3215ee5d628cf26b83ee5c131f0e22148f4d97.tar.gz
Switch dynamic not metered to temp not metered
Test: atest TelephonyMetricsTest Bug: 153369071 Change-Id: I144b0f9af1765c8ada578adc67dd4a55811b10eb
Diffstat (limited to 'tests/telephonytests')
-rw-r--r--tests/telephonytests/src/com/android/internal/telephony/metrics/TelephonyMetricsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/telephonytests/src/com/android/internal/telephony/metrics/TelephonyMetricsTest.java b/tests/telephonytests/src/com/android/internal/telephony/metrics/TelephonyMetricsTest.java
index c1d0bce817..44c9e8418a 100644
--- a/tests/telephonytests/src/com/android/internal/telephony/metrics/TelephonyMetricsTest.java
+++ b/tests/telephonytests/src/com/android/internal/telephony/metrics/TelephonyMetricsTest.java
@@ -313,10 +313,10 @@ public class TelephonyMetricsTest extends TelephonyTest {
@SmallTest
public void testWriteNetworkCapabilitiesChangedEvent() throws Exception {
NetworkCapabilities caps = new NetworkCapabilities();
- caps.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED);
+ caps.addCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED);
mMetrics.writeNetworkCapabilitiesChangedEvent(mPhone.getPhoneId(), caps);
- caps.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED);
+ caps.removeCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED);
mMetrics.writeNetworkCapabilitiesChangedEvent(mPhone.getPhoneId(), caps);
TelephonyLog log = buildProto();