Revert "Revert "DONT MERGE allow custom notification overlay on remote input actions too""
This reverts commit a21beb27cf0407e82e6cf677724fdf72748270a1.
Reason for revert: The magic of double reverts
Change-Id: Id10acee9ad21cd91e800cd29db36a7d06708f1ea
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 4d73c35..7ffde0b 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.