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

Commit b2645f56 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

Update AlertReceiver.java

Port of Etar commit: 2848e9a0
parent 0edd4dca
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -132,9 +132,13 @@ public class AlertReceiver extends BroadcastReceiver {
                mStartingService.setReferenceCounted(false);
            }
            mStartingService.acquire();
            if (Utils.isOreoOrLater()) {
                context.startForegroundService(intent);
            } else {
                context.startService(intent);
            }
        }
    }

    /**
     * Called back by the service when it has finished processing notifications,