Add game mode to TimeStats - System Server changes

Update the AtomPuller to include game mode.

Bug: 186025682
Test: statsd_testdrive 10063
Change-Id: I3485a8aaa681429043725d9fe21954d8c7cca826
This commit is contained in:
Adithya Srinivasan
2021-06-04 21:09:52 +00:00
parent 6b5bbd62f9
commit 2071c01099

View File

@@ -158,7 +158,8 @@ AStatsManager_PullAtomCallbackReturn SurfaceFlingerPuller::parseLayerInfoPull(
atom.total_jank_frames_sf_prediction_error(),
atom.total_jank_frames_app_buffer_stuffing(),
atom.display_refresh_rate_bucket(), atom.render_rate_bucket(),
frameRateVote.value(), appDeadlineMisses.value());
frameRateVote.value(), appDeadlineMisses.value(),
atom.game_mode());
}
return AStatsManager_PULL_SUCCESS;
}