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

Commit 78bcdf91 authored by Joe Onorato's avatar Joe Onorato
Browse files

Properly blame the correct uid for wakeup alarms that don't have a WorkSource.

It was setting the uid to -1, but BatteryStats should be tracking the actual uid.

Bug: 28637246
Change-Id: If6577602e3fe59a95b5cece4fc99e704ba43c03e
parent 1476d32b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3067,7 +3067,7 @@ class AlarmManagerService extends SystemService {
                    }
                } else {
                    ActivityManagerNative.noteWakeupAlarm(
                            alarm.operation, -1, alarm.packageName, alarm.statsTag);
                            alarm.operation, alarm.uid, alarm.packageName, alarm.statsTag);
                }
            }
        }