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
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user