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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user