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

Commit 333394a6 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #34855227: Bg check Android O: Able to start...

...service after receiving broadcast in background

A new UidRecord should start out idle, not non-idle.

Test: added CtsAppTestCases:.ActivityManagerTest#testBackgroundCheckBroadcastService
Change-Id: Ib04e11b95958477eaba1e421fd901f9cd1ee705a
parent 90a96507
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ public final class UidRecord {

    public UidRecord(int _uid) {
        uid = _uid;
        idle = true;
        reset();
    }