Support SubscriptionManager.canManagerSubscription for HSUM
SM.canManageSubscription depends on the user context created from the SubscriptionManager object to query packages. The user context was system user within EuiccController and SubscriptionManagerService and thus only system user was supported. The change supports secondary users (e.g. Main User in HSUM) by creating a current user context before getting the SubscriptionManager object. Bug: 371452139 Test: atest SubscriptionManagerTest FrameworksTelephonyTests Flag: com.android.internal.telephony.flags.hsum_package_manager Change-Id: I53a16b108a715e7f5e8528e7671be4be1cd0a69f
Loading
Please register or sign in to comment