Suppress Notifications for Hidden Subs
For subscriptions that are hidden (visible == false),
they can still be set to use manual network selection mode.
Since users don't even know about these subscriptions and
cannot do anything with them, if the manual network selection
procedure is unsuccessful, the user shouldn't be notified.
In addition to not showing these notifications, if a subscription
transitions from non-opportunistic to opportunistic, meaning that
it goes from visible to hidden, any active notifications will now
be cancelled.
Bug: 261064637
Test: atest NotificationMgrTest#\
testUpdateNetworkSelection_opportunisticSubscription\
_notificationNotSent
Flag: EXEMPT bugfix
Change-Id: I5a4681162a8cb8722f2dd501316fff2ce33991fe
2 files changed