Remove usage of isSubscriptionVisible() in getSelectableSubscriptionInfoList()
isSubscriptionVisible() API some times returns true for opportunistic subscription if the caller has carrier privileged permission. Some settings applications have this permission because they run under phone UID. Since getSelectableSubscriptionInfoList() API is very specific to settings, this CL helps settings by removing usage of isSubscriptionVisible() and directly checking for isOpportunistic() Bug: 315955896 Test: manual atest frameworks/opt/telephony/tests/telephonytests/ all 3692 passed Change-Id: Id4564c80ac36cd20347acffc8c824c055199024d
Loading
Please register or sign in to comment