Keep redacted port info with READ_BASIC_PHONE_STATE permission
This change fixes the issue that empty PortInfo list is returned when caller retrieves UiccCardInfo with READ_BASIC_PHONE_STATE permission. Even without carrier privileges, caller was able to retrieve the non-sensitive port info (port index to logical slot index mapping).This behavior was broken when relaxed permission function was introduced. Bug: 401006757 Fix: 425988249 Test: atest CtsTelephony2TestCases CtsTelephonyTestCases Flag: com.android.internal.telephony.flags.macro_based_opportunistic_networks Change-Id: Ib2edd646f38775c647034a9de84f8ff56dba9236
Loading
Please register or sign in to comment