mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "power/stats: Clean up warnings"
This commit is contained in:
@@ -35,6 +35,6 @@ package android.hardware.power.stats;
|
|||||||
parcelable EnergyConsumer {
|
parcelable EnergyConsumer {
|
||||||
int id;
|
int id;
|
||||||
int ordinal;
|
int ordinal;
|
||||||
android.hardware.power.stats.EnergyConsumerType type;
|
android.hardware.power.stats.EnergyConsumerType type = android.hardware.power.stats.EnergyConsumerType.OTHER;
|
||||||
@utf8InCpp String name;
|
@utf8InCpp String name;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,10 +32,10 @@ parcelable EnergyConsumer {
|
|||||||
int ordinal;
|
int ordinal;
|
||||||
|
|
||||||
/* Type of this EnergyConsumer */
|
/* Type of this EnergyConsumer */
|
||||||
EnergyConsumerType type;
|
EnergyConsumerType type = EnergyConsumerType.OTHER;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unique name of this EnergyConsumer. Vendor/device specific. Opaque to framework
|
* Unique name of this EnergyConsumer. Vendor/device specific. Opaque to framework
|
||||||
*/
|
*/
|
||||||
@utf8InCpp String name;
|
@utf8InCpp String name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user