Revert "Revert "Revert "DONT MERGE allow custom notification overlay on remote input actions too"""
This reverts commit 30d557818c8942a6b78d9856152b8e7023d67325.
Reason for revert: Double whopper
Change-Id: I388dadefd9d8f7b30b6cde96352e96173b84d92d
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 7ffde0b..4d73c35 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -6530,7 +6530,7 @@
final RemoteViews button = generateActionButton(action, emphasizedMode, p);
if (actionHasValidInput && !emphasizedMode) {
// Clear the drawable
- //button.setInt(R.id.action0, "setBackgroundResource", 0);
+ button.setInt(R.id.action0, "setBackgroundResource", 0);
}
if (emphasizedMode && i > 0) {
// Clear start margin from non-first buttons to reduce the gap between them.