summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Julia Reynolds <juliacr@google.com> 2017-03-20 10:18:49 -0400
committer Julia Reynolds <juliacr@google.com> 2017-03-20 13:23:24 -0400
commit7d5b4da27f861b1528cddb764ad20ba16c281a0d (patch)
tree9c7251a1cabcdaac83d49fdf2ef47c2304b5285d
parent7c8e0918a191fc129c821e4769d9338ad3915908 (diff)
Apps must opt into using icon badges.
Test: make Bug: 35941623 Change-Id: Ifdbbed2097228d1121f3eb03ecab9851d23a023f
-rw-r--r--core/java/android/app/Notification.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index aee9d38600fb..8d769305e9e3 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -1099,7 +1099,7 @@ public class Notification implements Parcelable
* represent this notification.
*/
public static final int BADGE_ICON_LARGE = 2;
- private int mBadgeIcon = BADGE_ICON_LARGE;
+ private int mBadgeIcon = BADGE_ICON_NONE;
/**
* Structure to encapsulate a named action that can be shown as part of this notification.