vibrator: bail out in setAmplitude if gain control is not supported

Bail out and return unsupported error code in setAmplitude() API if
the input vibrator device doesn't support gain control.

Change-Id: I888ba8403393aa8b3c076ddefab8efb42ee5c2e8
1 file changed
tree: dd407950c26282597e7448841090449dc60cb8b9
  1. aidl/
  2. effect/
  3. excluded-input-devices.xml
  4. vibrator-vendor-product.mk