mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-27 13:09:40 +00:00
wahoo: powerstats: fix -Wreorder-init-list
Members of designated initializers in C++20 must be ordered, unlike C99. Bug: 139945549 Test: mm Change-Id: I34f715dcd9991403b8ae99b85fbe357da3c46971 Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
This commit is contained in:
@@ -75,8 +75,8 @@ bool EaselStateResidencyDataProvider::getResults(
|
||||
PowerEntityStateResidencyResult result = {
|
||||
.powerEntityId = mPowerEntityId,
|
||||
.stateResidencyData = {{.powerEntityStateId = EASEL_SYNTHETIC_SLEEP_ID,
|
||||
.totalStateEntryCount = mTotalOnSnapshotCount,
|
||||
.totalTimeInStateMs = mTotalNotOnSnapshotCount,
|
||||
.totalStateEntryCount = mTotalOnSnapshotCount,
|
||||
.lastEntryTimestampMs = 0}}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user