Merge "Update logging of the USER_LEVEL_HIBERNATION_STATE_CHANGED atom" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-05-11 22:41:55 +00:00
committed by Android (Google) Code Review

View File

@@ -296,9 +296,7 @@ public final class AppHibernationService extends SystemService {
FrameworkStatsLog.USER_LEVEL_HIBERNATION_STATE_CHANGED,
stateSnapshot.packageName,
userIdSnapshot,
stateSnapshot.hibernated,
// TODO(b/187224817): This isn't the expected value right now.
stateSnapshot.lastUnhibernatedMs);
stateSnapshot.hibernated);
});
List<UserLevelState> states = new ArrayList<>(mUserStates.get(userId).values());
mUserDiskStores.get(userId).scheduleWriteHibernationStates(states);