Merge "lights aidl: Add required @Rust derive statements" into android14-tests-dev am: f270275c7a

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2868054

Change-Id: Ibc240500c2c69434836acef72a2e360dc9c7db49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2024-01-20 12:06:26 +00:00
committed by Automerger Merge Worker
7 changed files with 7 additions and 6 deletions

View File

@@ -1 +1,2 @@
c8b1e8ebb88c57dcb2c350a8d9b722e77dd864c8
c7d3d941d303c70d1c22759a0b09e41930c1cddb

View File

@@ -32,7 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.light;
@VintfStability
@RustDerive(Clone=true, Copy=true) @VintfStability
parcelable HwLight {
int id;
int ordinal;

View File

@@ -32,7 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.light;
@VintfStability
@RustDerive(Clone=true, Copy=true) @VintfStability
parcelable HwLightState {
int color;
android.hardware.light.FlashMode flashMode;

View File

@@ -32,7 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.light;
@VintfStability
@RustDerive(Clone=true, Copy=true) @VintfStability
parcelable HwLight {
int id;
int ordinal;

View File

@@ -32,7 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.light;
@VintfStability
@RustDerive(Clone=true, Copy=true) @VintfStability
parcelable HwLightState {
int color;
android.hardware.light.FlashMode flashMode;

View File

@@ -22,7 +22,7 @@ import android.hardware.light.LightType;
* A description of a single light. Multiple lights can map to the same physical
* LED. Separate physical LEDs are always represented by separate instances.
*/
@VintfStability
@RustDerive(Clone=true, Copy=true) @VintfStability
parcelable HwLight {
/**
* Integer ID used for controlling this light

View File

@@ -25,7 +25,7 @@ import android.hardware.light.FlashMode;
* Not all lights must support all parameters. If you
* can do something backward-compatible, do it.
*/
@VintfStability
@RustDerive(Clone=true, Copy=true) @VintfStability
parcelable HwLightState {
/**
* The color of the LED in ARGB.