Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca1db716 authored by Christoph Studer's avatar Christoph Studer
Browse files

Notification: Reset chronometer visibility

Bug: 17175860
Change-Id: Idd5ce5d22f30c01507d5207feaccdf1ac8a1a291
parent a41c4bcc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2650,6 +2650,8 @@ public class Notification implements Parcelable
            contentView.setViewVisibility(R.id.line3, View.GONE);
            contentView.setViewVisibility(R.id.overflow_divider, View.GONE);
            contentView.setViewVisibility(R.id.progress, View.GONE);
            contentView.setViewVisibility(R.id.chronometer, View.GONE);
            contentView.setViewVisibility(R.id.time, View.GONE);
        }

        private RemoteViews applyStandardTemplate(int resId) {
@@ -2745,8 +2747,6 @@ public class Notification implements Parcelable
                    contentView.setViewVisibility(R.id.time, View.VISIBLE);
                    contentView.setLong(R.id.time, "setTime", mWhen);
                }
            } else {
                contentView.setViewVisibility(R.id.time, View.GONE);
            }

            // Adjust padding depending on line count and font size.