mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "power/stats: Clean up warnings" am: dfd890a101 am: 9202d2c0a6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1582855 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ibf31eb2079cf63608ff344e135430cf132d821a5
This commit is contained in:
@@ -35,6 +35,6 @@ package android.hardware.power.stats;
|
||||
parcelable EnergyConsumer {
|
||||
int id;
|
||||
int ordinal;
|
||||
android.hardware.power.stats.EnergyConsumerType type;
|
||||
android.hardware.power.stats.EnergyConsumerType type = android.hardware.power.stats.EnergyConsumerType.OTHER;
|
||||
@utf8InCpp String name;
|
||||
}
|
||||
|
||||
@@ -32,10 +32,10 @@ parcelable EnergyConsumer {
|
||||
int ordinal;
|
||||
|
||||
/* Type of this EnergyConsumer */
|
||||
EnergyConsumerType type;
|
||||
EnergyConsumerType type = EnergyConsumerType.OTHER;
|
||||
|
||||
/**
|
||||
* Unique name of this EnergyConsumer. Vendor/device specific. Opaque to framework
|
||||
*/
|
||||
@utf8InCpp String name;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user