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

Commit 52408f4f authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Make notification content clickable for logout/remove guest

Pressing notification content for logout/remove guest notification, should
trigger the same action as the button below.

Change-Id: I70294b6855e47a67ace71b8232ffc9b320ef8333
parent bead6bcc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -427,6 +427,7 @@ public class UserSwitcherController {
                    .setSmallIcon(R.drawable.ic_person)
                    .setContentTitle(mContext.getString(R.string.guest_notification_title))
                    .setContentText(mContext.getString(R.string.guest_notification_text))
                    .setContentIntent(removeGuestPI)
                    .setShowWhen(false)
                    .addAction(R.drawable.ic_delete,
                            mContext.getString(R.string.guest_notification_remove_action),
@@ -445,6 +446,7 @@ public class UserSwitcherController {
                    .setSmallIcon(R.drawable.ic_person)
                    .setContentTitle(mContext.getString(R.string.user_logout_notification_title))
                    .setContentText(mContext.getString(R.string.user_logout_notification_text))
                    .setContentIntent(logoutPI)
                    .setShowWhen(false)
                    .addAction(R.drawable.ic_delete,
                            mContext.getString(R.string.user_logout_notification_action),