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

Commit b4c31feb authored by Dianne Hackborn's avatar Dianne Hackborn Committed by android-build-merger
Browse files

Fix issue #30647973: stopForeground() doesn't remove notification am: 569a4587 am: 52e15dca

am: d7179bd1

Change-Id: I78a427c17c9a90c67d20e15daab0299cbf8a6ba8
parents 2ae1b0f3 d7179bd1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -748,7 +748,7 @@ public final class ActiveServices {
            if (sm != null) {
                for (int i = sm.mServicesByName.size()-1; i >= 0; i--) {
                    ServiceRecord other = sm.mServicesByName.valueAt(i);
                    if (other.foregroundId == r.foregroundId
                    if (other != r && other.foregroundId == r.foregroundId
                            && other.packageName.equals(r.packageName)) {
                        // Found one!  Abort the cancel.
                        return;