Skip to content
Commit da63272e authored by Max Spencer's avatar Max Spencer
Browse files

Open activities from notif actions properly

Previously, because the action's PendingIntent was not directly
starting the Activity, the notification shade would remain open. The
Activity was being opened, but it was hidden and this was poor UX.

Non-resolving actions don't need to be routed via the
SafetyCenterNotificationReceiver because they do not have the same
requirements as resolving actions (timeouts, setting "in-flight",
etc.)

The down-side of this approach is that we will lose the ability to log
an event when this kind of non-resolving action is clicked.

Bug: 266561097
Change-Id: I1bee46dd71f6d59033b611f4f83788499d61de52
parent 7f17cf0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment