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

Commit 47934f7c authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Remove NOTIFICATION_DISMISSAL_FADE flag

Test: atest SystemUITests
Fixes: 254512731
Change-Id: I9e8030b43aca003aaa459f5729c3979b4328d8d8
parent 1314f5da
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -68,9 +68,6 @@ object Flags {
    val NOTIFICATION_MEMORY_LOGGING_ENABLED =
        unreleasedFlag(119, "notification_memory_logging_enabled")

    // TODO(b/254512731): Tracking Bug
    @JvmField val NOTIFICATION_DISMISSAL_FADE = releasedFlag(113, "notification_dismissal_fade")

    @JvmField val USE_ROUNDNESS_SOURCETYPES = releasedFlag(116, "use_roundness_sourcetype")

    // TODO(b/259217907)
+1 −3
Original line number Diff line number Diff line
@@ -180,7 +180,6 @@ public class NotificationStackScrollLayoutController {
    private final SeenNotificationsProvider mSeenNotificationsProvider;

    private NotificationStackScrollLayout mView;
    private boolean mFadeNotificationsOnDismiss;
    private NotificationSwipeHelper mSwipeHelper;
    @Nullable
    private Boolean mHistoryEnabled;
@@ -548,7 +547,7 @@ public class NotificationStackScrollLayoutController {
                public boolean updateSwipeProgress(View animView, boolean dismissable,
                                                   float swipeProgress) {
                    // Returning true prevents alpha fading.
                    return !mFadeNotificationsOnDismiss;
                    return false;
                }

                @Override
@@ -773,7 +772,6 @@ public class NotificationStackScrollLayoutController {

        mLockscreenUserManager.addUserChangedListener(mLockscreenUserChangeListener);

        mFadeNotificationsOnDismiss = mFeatureFlags.isEnabled(Flags.NOTIFICATION_DISMISSAL_FADE);
        if (!mUseRoundnessSourceTypes) {
            mNotificationRoundnessManager.setOnRoundingChangedCallback(mView::invalidate);
            mView.addOnExpandedHeightChangedListener(mNotificationRoundnessManager::setExpanded);