diff options
Diffstat (limited to 'core/java/android/app/Notification.java')
| -rw-r--r-- | core/java/android/app/Notification.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index bf8250821cb6..d47c3ca7b721 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -12381,19 +12381,13 @@ public class Notification implements Parcelable } public StandardTemplateParams decorationType(int decorationType) { - // These fields are removed by the decoration process, and thus would not show anyway; - // hiding them is a minimal time/space optimization. - hideAppName(true); hideTitle(true); - hideSubText(true); - hideTime(true); // Minimally decorated custom views do not show certain pieces of chrome that have // always been shown when using DecoratedCustomViewStyle. boolean hideOtherFields = decorationType <= DECORATION_MINIMAL; hideLargeIcon(hideOtherFields); hideProgress(hideOtherFields); hideActions(hideOtherFields); - hideSnoozeButton(hideOtherFields); return this; } } |
