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

Commit 2071c010 authored by Adithya Srinivasan's avatar Adithya Srinivasan
Browse files

Add game mode to TimeStats - System Server changes

Update the AtomPuller to include game mode.

Bug: 186025682
Test: statsd_testdrive 10063
Change-Id: I3485a8aaa681429043725d9fe21954d8c7cca826
parent 6b5bbd62
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
}