When a calling package from another user ID does not meet the new
requirements to access device identifiers its application info will
be queried to determine its target SDK. However since the permission
check for device identifiers runs as user 0 the current query would
look for the application info under user 0. This change queries for
the application info using the calling user ID to ensure the correct
info is returned and prevent any issues with an
INTERACT_ACROSS_USERS_FULL permission check.
Fixes: 128359188
Test: Manually verified app that queries Build#getSerial from work
profile did not fail due to INTERACTS_ACROSS_USER_FULL perm.
Change-Id: Iaea4e3952bd1e329bde7de0ace004bb8478821f5
These are SystemApis which require MODIFY_PHONE_STATE, and can be used
to open ICC channels when there is no available subscription, using the
slot index instead of subId.
Bug: 126578014
Test: builds
Change-Id: I3f47a8ac07813ea9e326c7d76123352708bfeea2
And use RemoteCallback for it under the hood. This removes one AIDL
interface and allows using lambda, while aligning with what
PermissionControllerService does.
Bug: 127691087
Test: manual
Change-Id: Ia94e5bac59773380b2a4764d766bf6ff1dd5b7ff
1. Modify the type from boolean to void for updateAvailableNetworks().
2. Adding callback for updateAvailableNetworks().
3. Define error codes for update available networks results.
Test: build pass
Bug: 124616182
Change-Id: I32fe1407deabe36485227ec75931bec334d85abe
Should not turn on validation for data switch every time.
Provide result as a callback
Test: verified manually
Bug: 126264455
Change-Id: I5df2311d91fdab34563148b4466163696e52faf9
For packages:
com.android.internal.app
com.android.internal.appwidget
com.android.internal.location
com.android.internal.os
com.android.internal.policy
com.android.internal.statusbar
com.android.internal.telecom
com.android.internal.telephony
com.android.internal.widget
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I6eba34467b2492047e5264684312adfa029eb317
For packages:
com.android.ims
com.android.ims.internal
com.android.ims.internal.uce.options
com.android.ims.internal.uce.presence
com.android.ims.internal.uce.uceservice
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I13583455e85c78cfca5f4d67e4b982b58178104e
Now getActiveSubscriptionInfoList will not return hidden
subscriptions. And getActiveSubIdList should be consistent
with it. In the mean time, internal SubscriptionController
API should have a way to specify if caller wants hidden
subscriptions or not.
Bug: 124690005
Test: manual
Change-Id: I46ccae88167c2988d71a6e07da2937bf9644a1f0
Instead of the ServiceState.getNetworkType(), since the service state
might not match the RAT of the specific call, we use the radio type from
the ImsCall.
Bug: 124785734
Test: manual
Change-Id: I33f84bb415c943d5b766fcd3a4e8257d8f7c1cfe
Rename method isMultisimCarrierRestricted to isMultisimSupported to
indicate extended scope that includes checks on the capabilities of the
hardware to support multi-SIM configuration.
Bug: 123537730
Test: Compilation, test application
Change-Id: I20860c7a25b054b8312c144544726337e09559e2
Merged-In: I20860c7a25b054b8312c144544726337e09559e2