From 8c98628524b27f26b51ce8df09b6471b1978b43c Mon Sep 17 00:00:00 2001 From: Lais Andrade Date: Thu, 24 Oct 2024 16:03:34 +0100 Subject: Introduce VendorVibrationSession Introduce Vibrator APIs to start vendor vibration sessions. Vendor sessions will play vibration requests without resetting the vibrator hardware state, allowing the vendor to customize the behaviour between vibrations. Vibration sessions can be ended by the client app or by the vibrator service, allowing higher priority vibrations (e.g. ringtone, alarms) to take control of the vibrator and play as usual. Bug: 345414356 Test: FrameworksVibratorServicesTests Flag: android.os.vibrator.vendor_vibration_effects Change-Id: Id749cc240201bf398526c2416d5767a364b86cbf --- services/art-wear-profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services/art-wear-profile') diff --git a/services/art-wear-profile b/services/art-wear-profile index 47bdb1385137..1e3090f9bf00 100644 --- a/services/art-wear-profile +++ b/services/art-wear-profile @@ -1330,7 +1330,7 @@ Lcom/android/server/utils/WatchedSparseSetArray; Lcom/android/server/utils/Watcher; Lcom/android/server/vibrator/VibratorController$NativeWrapper; Lcom/android/server/vibrator/VibratorController$OnVibrationCompleteListener; -Lcom/android/server/vibrator/VibratorManagerService$OnSyncedVibrationCompleteListener; +Lcom/android/server/vibrator/VibratorManagerService$VibratorManagerNativeCallbacks; Lcom/android/server/vibrator/VibratorManagerService; Lcom/android/server/vr/EnabledComponentsObserver$EnabledComponentChangeListener; Lcom/android/server/vr/VrManagerService; @@ -24948,7 +24948,7 @@ PLcom/android/server/vibrator/VibratorManagerService$NativeWrapper;->()V PLcom/android/server/vibrator/VibratorManagerService$NativeWrapper;->cancelSynced()V PLcom/android/server/vibrator/VibratorManagerService$NativeWrapper;->getCapabilities()J PLcom/android/server/vibrator/VibratorManagerService$NativeWrapper;->getVibratorIds()[I -PLcom/android/server/vibrator/VibratorManagerService$NativeWrapper;->init(Lcom/android/server/vibrator/VibratorManagerService$OnSyncedVibrationCompleteListener;)V +PLcom/android/server/vibrator/VibratorManagerService$NativeWrapper;->init(Lcom/android/server/vibrator/VibratorManagerService$VibratorManagerNativeCallbacks;)V PLcom/android/server/vibrator/VibratorManagerService$VibrationCompleteListener;->(Lcom/android/server/vibrator/VibratorManagerService;)V PLcom/android/server/vibrator/VibratorManagerService$VibrationCompleteListener;->onComplete(IJ)V PLcom/android/server/vibrator/VibratorManagerService$VibrationRecords;->(II)V -- cgit v1.2.3-59-g8ed1b