summaryrefslogtreecommitdiff
path: root/core/api
diff options
context:
space:
mode:
authorSongFerngWang <songferngwang@google.com>2021-02-25 15:05:41 +0800
committerSongFerngWang <songferngwang@google.com>2021-03-19 21:56:17 +0800
commit84bced4979cde450f2f8c99b04abefcfe6790e38 (patch)
tree202dcb9a7295e835bcc4c291bea5bc3a17fe5206 /core/api
parent3ccc2738e2b469c7dec4f4a4a10c6a2f71824b0b (diff)
The phone didn't reload the allowed Network Type
Reload the allowed Network after device insert SIM card. Change the behavior of notifyAllowedNetworkTypesChanged. Log print String representation of the allowed network types. Bug: 180903931 Bug: 179814490 Test: atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java#testSetAllowedNetworkTypesForReason_moreReason atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java#testSetAllowedNetworkTypesForReason atest android.telephony.cts.TelephonyCallbackTest Change-Id: Icfffea3c74ecf6938455d841da9d6175f6aa07de Merged-In: Icfffea3c74ecf6938455d841da9d6175f6aa07de
Diffstat (limited to 'core/api')
-rw-r--r--core/api/system-current.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt
index 7066f799d7a7..58e3b61d21f5 100644
--- a/core/api/system-current.txt
+++ b/core/api/system-current.txt
@@ -10017,7 +10017,7 @@ package android.telephony {
}
public static interface TelephonyCallback.AllowedNetworkTypesListener {
- method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onAllowedNetworkTypesChanged(@NonNull java.util.Map<java.lang.Integer,java.lang.Long>);
+ method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public void onAllowedNetworkTypesChanged(int, long);
}
public static interface TelephonyCallback.CallAttributesListener {