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

Commit e89ec226 authored by Marin Shalamanov's avatar Marin Shalamanov
Browse files

Remove dead code

Bug: 136562823
Test: presubmit
Change-Id: I82ffa98dcb434d232c4f1cb146c0b795a9283f06
parent d5281fb1
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -17,8 +17,6 @@
package com.android.systemui.statusbar.notification.stack

import android.content.Context
import android.service.notification.NotificationListenerService.REASON_APP_CANCEL
import android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL
import android.service.notification.NotificationListenerService.REASON_CANCEL
import android.service.notification.NotificationListenerService.REASON_CANCEL_ALL
import android.service.notification.NotificationListenerService.REASON_CLICK
@@ -76,7 +74,8 @@ class ForegroundServiceSectionController @Inject constructor(
        Assert.isMainThread()
        val isClearAll = reason == REASON_CANCEL_ALL
        val isUserDismiss = reason == REASON_CANCEL || reason == REASON_CLICK
        val isAppCancel = reason == REASON_APP_CANCEL || reason == REASON_APP_CANCEL_ALL
        // REASON_APP_CANCEL and REASON_APP_CANCEL_ALL are ignored, because the
        // foreground service associated with it is gone.
        val isSummaryCancel = reason == REASON_GROUP_SUMMARY_CANCELED

        if (entry == null) return false