diff options
| author | Jeff DeCew <jeffdq@google.com> | 2021-03-26 02:11:02 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-03-26 02:11:02 +0000 |
| commit | d1cc1421dfafb64f619dde6387dc358a8a2cf78e (patch) | |
| tree | 252c4dcf730f6df8895be2ed18a6946e460d722a /core/java | |
| parent | 1eba10e2a26d0887f1975bb5ca9a4a85c5def07f (diff) | |
| parent | 987cfcc8855baec3ba68de9c74d0d1e2e512da77 (diff) | |
Merge "Fix regressions with DecoratedCustomViewStyle" into sc-dev
Diffstat (limited to 'core/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; } } |
