Loading services/core/java/com/android/server/wm/ActivityRecord.java +1 −0 Original line number Diff line number Diff line Loading @@ -5681,6 +5681,7 @@ final class ActivityRecord extends WindowToken { // state. Updating the PAUSED usage state in that case, since the Activity will be // STOPPED while cycled through the PAUSED state. if (prevState == RESUMED) { mAtmService.updateBatteryStats(this, false); mAtmService.updateActivityUsageStats(this, Event.ACTIVITY_PAUSED); } break; Loading Loading
services/core/java/com/android/server/wm/ActivityRecord.java +1 −0 Original line number Diff line number Diff line Loading @@ -5681,6 +5681,7 @@ final class ActivityRecord extends WindowToken { // state. Updating the PAUSED usage state in that case, since the Activity will be // STOPPED while cycled through the PAUSED state. if (prevState == RESUMED) { mAtmService.updateBatteryStats(this, false); mAtmService.updateActivityUsageStats(this, Event.ACTIVITY_PAUSED); } break; Loading