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

Commit befcf807 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix vendor session status on devices without vibrator service" into main

parents 3ae4fe33 12662c85
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -217,7 +217,7 @@ public class SystemVibratorManager extends VibratorManager {
                new VendorVibrationSessionCallbackDelegate(executor, callback);
                new VendorVibrationSessionCallbackDelegate(executor, callback);
        if (mService == null) {
        if (mService == null) {
            Log.w(TAG, "Failed to start vibration session; no vibrator manager service.");
            Log.w(TAG, "Failed to start vibration session; no vibrator manager service.");
            callbackDelegate.onFinished(VendorVibrationSession.STATUS_UNKNOWN_ERROR);
            callbackDelegate.onFinished(VendorVibrationSession.STATUS_UNSUPPORTED);
            return;
            return;
        }
        }
        try {
        try {