- When IwlanNetworkService is un-bound, such as when phone app dies,
the typical sequence is onUnbind() followed by onDestroy() immediately.
- Messages queued by onUnbind() are not processed, which leaves the
IwlanNetworkService in an unexpected state for the next onBind().
- The change is applied to DataService.java as well for safety.
Bug: 237447534
Test:
Live test by crashing com.android.phone to verify fix to unbind/destroy
behavior.
Change-Id: I25d968867401bd7d285735c83c71e3649467c5db
Merged-In: I25d968867401bd7d285735c83c71e3649467c5db
To address the problem where the anomaly reports that are blocked by UUID continue being generated before the device receives server-side block list.
Bug: 246637909
Test: manual placing voice call + data browsing
Change-Id: I3e41e3dd2e6255dc7cbdda86736861720b757c4c
If the app has only the READ_PHONE_STATE permission, it can no longer read the group UUID.
When SubscriptionManager#getSubscriptionsInGroup is called, If the calling app has carrier permission or READ_PHONE_STATE permission and access to device identifiers, then returns a list.
If not, it returns an empty list.
Bug: 213902861
Test: atest SubscriptionManagerTest
Test: atest SubscriptionControllerTest
Test: manual (b/213902861#comment54)
Change-Id: I4e764b1a5babfcacf675f6e83d2b1014ec570c1e
Merged-In: I4e764b1a5babfcacf675f6e83d2b1014ec570c1e
Add KEY_CAPABILITIES_EXEMPT_FROM_SINGLE_DC_CHECK_INT_ARRAY to carrier
config, which indicates the capabilities that are exempt from the single
PDN rule.
Fix: 237550962
Test: atest + cts
Change-Id: Ie49f6274d8e780534e203d6d0a5ead4ed2f3cfa7
The default was added in ag/16276490 and partially reverted in
ag/17950114. Update the default the correct value of 0 instead of -1.
Test: atest ApnSettingTest
Bug: 237602273
Change-Id: I06d5b40d93d4a3bce441756615cccbd02e1822f5
Extended handover rule to support the scenario that
handover should be blocked when source network goes
out of service.
Test: Basic testing + Wifi calling handover test + atest DataNetworkControllerTest
Bug: 234095834
Change-Id: I68c23f970af2a554ab438f630363be4591664cbb
Ranges were the same as LTE values, which is incorrect.
Test: atest CellSignalStrengthNrTest
Bug: 234304714
Change-Id: I030c6aeec22556454955bb4f9671afe830bb9e2f
UiccSlotInfo.getPorts() assumes a non-null port list. Ensure that the
port list is initialized in the (now deprecated) public constructor. If
it is initialized to null, and getPorts is called, an NPE will occur.
This came up in a setupwizard test that was using the UiccPortInfo
constructor and calling getPorts().
Test: setupwizard SlotsSelectionActivityTest
Bug: 238559684
Bug: 238444812
Change-Id: I0be45f4b55be196f94034f6eb26657202d50e32f
Make sure we clear any previously set TTS spans
before calling ttsSpanAsPhoneNumber.
Bug: 237511525
Change-Id: I89a4b190d9b8ebeeb19d0e693d1b1364b1ac9763
Test: on device test of blocked numbers with Talkback enabled
Revert "To read the Group UUID, the Caller must also have the US..."
Revert "To read the Group UUID, the Caller must also have the US..."
Revert submission 17956544-group_uuid
Reason for revert: Bug: 235395006
Reverted Changes:
Iaa5493679:To read the Group UUID, the Caller must also have ...
Ic635126db:To read the Group UUID, the Caller must also have ...
Ia134265c2:To read the Group UUID, the Caller must also have ...
Change-Id: I286ebe8766b5cb975ee6e3536c966ef260b67627
If a data profile only contains traffic descriptor, and has no
APN setting, it should be considered enabled.
Fix: 233557423
Test: Manual + atest DataProfileTest
Change-Id: Ied26cbba3bde8491bfd6299a2724fc2c5b26c026
Added a new fail cause 0x3F which was added in
3GPP TS 24.008 release 15.3
Bug: 232757475
Test: Manual
Change-Id: Id14c2421f965beeb509ce73dd3d284ba8d1f6622
Currently targetSdk enforcement inside switchToSubscription
(without port) API is commented as apps such as tycho and CBRS
are not yet adopted to the new Android T APIs.
Test: Manually tested esim scenarios and atest executed
Bug: 221887933
Merged-In: I8faf9cf58db7c9204193643d4fa710d6d6608d55
Change-Id: I7b1897df2ff350ef43617c3ede140ef4beb83165
To support removable esim to pass GCT/PTCRB test in DSDS mode, we should make sure all the download/activation requests are by default route to the removable esim slot. In order to satisfy this use case, we should return removable esim cardId as default.
1. Add switch UI in RadioInfo hidden activity to set removable esim as default eUICC.
2. When switch is checked/unchecked, corresponding flag is set in UiccController and intent is broadcasted to LPA.
3. TelephonyManager#getCardIdForDefaultEuicc API returns removable esim cardId if switch is checked.
Bug: 228640832
Test: Manual verification (Verified intent broadcast is received at LPA and flag is set in the UiccController)
Change-Id: I1c3a77a8c76d53f1d88ac4bbd77c8dbadc8d7a74
NETWORK_TYPE_BITMASK_LTE_CA is not used anywhere even if it's
accidentally passed into setAllowedNetworkTypesForReason(). Will be deprecated in U.
Fix: 230383206
Test: atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java
Change-Id: Id0c521c4fb74eaf7d73deaf122e923f72b924c18
Merged-In: Id0c521c4fb74eaf7d73deaf122e923f72b924c18
We were mistakenly not calling the destroy API properly for Capability
Exchange API when the listener passed in was null. Instead we were calling
destroy -> create. This was causing us to call destroy -> create
over 4 times when switching SIMs.
Bug: 228278638
Test: manual PUBLISH verification on TMO, atest FrameworksTelephonyTests
Change-Id: If374f8306add45e60f64fa4031af31c8f448bb22