From 97c0b90f891a0ee1d051ba29d825cde1f0eeaad4 Mon Sep 17 00:00:00 2001 From: Chris Wren Date: Thu, 24 Jul 2014 11:51:31 +0200 Subject: [PATCH] Expose headsUpContentView so developers can customize it. Bug: 13510114 Change-Id: I645c204e366fefab58224d2e67d00e701dc661aa --- api/current.txt | 1 + core/java/android/app/Notification.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index a8bbeed111bfa..2ddc97747d58f 100644 --- a/api/current.txt +++ b/api/current.txt @@ -4697,6 +4697,7 @@ package android.app { field public android.os.Bundle extras; field public int flags; field public android.app.PendingIntent fullScreenIntent; + field public android.widget.RemoteViews headsUpContentView; field public int icon; field public int iconLevel; field public android.graphics.Bitmap largeIcon; diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index c7fdbed43797c..acf7ade81ddf6 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -247,7 +247,6 @@ public class Notification implements Parcelable /** - * @hide * A medium-format version of {@link #contentView}, providing the Notification an * opportunity to add action buttons to contentView. At its discretion, the system UI may * choose to show this as a heads-up notification, which will pop up so the user can see