aidl: Set explicit default values
Fixes: 179853698 Test: mma in hardware/interfaces/vibrator Change-Id: I231c3cfb17f812944bcc6a88e618d96d7068f6c2
This commit is contained in:
parent
9c3ebfc83f
commit
386e55b616
2 changed files with 2 additions and 2 deletions
|
@ -19,6 +19,6 @@ package android.hardware.vibrator;
|
|||
@VintfStability
|
||||
parcelable CompositeEffect {
|
||||
int delayMs;
|
||||
android.hardware.vibrator.CompositePrimitive primitive;
|
||||
android.hardware.vibrator.CompositePrimitive primitive = android.hardware.vibrator.CompositePrimitive.NOOP;
|
||||
float scale;
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ import android.hardware.vibrator.CompositePrimitive;
|
|||
parcelable CompositeEffect {
|
||||
/* Period of silence preceding primitive. */
|
||||
int delayMs;
|
||||
CompositePrimitive primitive;
|
||||
CompositePrimitive primitive = CompositePrimitive.NOOP;
|
||||
/*
|
||||
* 0.0 (inclusive) - 1.0 (inclusive),
|
||||
* where 0.0 is minimum "feelable" amplitude.
|
||||
|
|
Loading…
Reference in a new issue