Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21341ce4 authored by Beth Thibodeau's avatar Beth Thibodeau Committed by Android (Google) Code Review
Browse files

Merge "Dismiss shade and keyguard for media buttons that launch an activity"

parents ed1d6e16 01e95879
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -657,7 +657,10 @@ class MediaDataManager(
                }
                val runnable = if (action.actionIntent != null) {
                    Runnable {
                        if (action.isAuthenticationRequired()) {
                        if (action.actionIntent.isActivity) {
                            activityStarter.startPendingIntentDismissingKeyguard(
                                action.actionIntent)
                        } else if (action.isAuthenticationRequired()) {
                            activityStarter.dismissKeyguardThenExecute({
                                var result = sendPendingIntent(action.actionIntent)
                                result