summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2017-07-31 12:07:04 -0700
committerEric Erfanian <erfanian@google.com>2017-08-01 08:37:41 -0700
commitaec0aa5f040c3d192ddb46e63f5383d35d918f36 (patch)
tree87a194857cd9e368dd51299145ce1d8a96db5908 /LICENSE
parentcc89710d16fbfd3c979ae5881b6849ee1ee62881 (diff)
Save dismissed state for legacy voicemail notification
TelephonyManager will resend legacy voicemail notifications during connectivity changes with a "is_refresh" flag. Such notifications has already been shown before and should not alert the user. Previously the notification will be set to onlyAlertOnce, but if the user dismissed it it will be shown again. In this CL, if the notification is dismissed, the state will be persisted and the notification will not be shown again. The state will be cleared when a new voicemail arrived and the user will be notified again. Since telephony sends is_refresh=false during boot up, the state will also be cleared with a reboot. Bug: 62229933 Test: LegacyVoicemailNotificationReceieverTest PiperOrigin-RevId: 163728161 Change-Id: I7ec6b5a88fed26e0a4459b8803eeba9a37b7b32b
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions