Merge "[Settings] Hide subscriptions not existed within device" into sc-dev

This commit is contained in:
Bonian Chen
2021-07-13 06:08:17 +00:00
committed by Android (Google) Code Review
9 changed files with 781 additions and 7 deletions

View File

@@ -486,7 +486,7 @@ public class SubscriptionUtil {
* @param info the subscriptionInfo to check against.
* @return true if this subscription should be visible to the API caller.
*/
private static boolean isSubscriptionVisible(
public static boolean isSubscriptionVisible(
SubscriptionManager subscriptionManager, Context context, SubscriptionInfo info) {
if (info == null) return false;
// If subscription is NOT grouped opportunistic subscription, it's visible.