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

Commit 2f8e3788 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Work on issue #36869295: com.qti.qualcomm.datastatusnotification...

...is not Bg Check compliant

Make the exception message include the state of the app's
UidRecord to help debug what is going on.

Test: boot and ran

Change-Id: Ie829265c7979ccabf8bae0bc6521bd9a7357d77f
parent 265dbc1f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -369,7 +369,8 @@ public final class ActiveServices {
                    }
                    // This app knows it is in the new model where this operation is not
                    // allowed, so tell it what has happened.
                    return new ComponentName("?", "app is in background");
                    UidRecord uidRec = mAm.mActiveUids.get(r.appInfo.uid);
                    return new ComponentName("?", "app is in background uid " + uidRec);
                }
            } finally {
                Binder.restoreCallingIdentity(token);