Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84a090bc authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "vibrator: example for how to get ID" am: 6eaf0cf5 am: 5aac849a

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

Change-Id: Id37de01395aebe9dc1539ecbe4632a9cda596d8d
parents 1d40099f 5aac849a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -206,7 +206,10 @@ interface IVibrator {
     * device/board configuration files ensuring that no ID is assigned to
     * multiple clients. No client should use this API unless explicitly
     * assigned an always-on source ID. Clients must develop their own way to
     * get IDs from vendor in a stable way.
     * get IDs from vendor in a stable way. For instance, a client may expose
     * a stable API (via HAL, sysprops, or xml overlays) to allow vendor to
     * associate a hardware ID with a specific usecase. When that usecase is
     * triggered, a client would use that hardware ID here.
     *
     * @param id The device-specific always-on source ID to enable.
     * @param effect The type of haptic event to trigger.