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

Commit 4453a60c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add a reason field to vibrator service"

parents b9b4a688 ee2f899a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -106,6 +106,7 @@ public class FingerprintEnrollEnrollingTest {
                anyInt(),
                nullable(String.class),
                any(VibrationEffect.class),
                nullable(String.class),
                nullable(AudioAttributes.class));
    }

+3 −2
Original line number Diff line number Diff line
@@ -50,7 +50,8 @@ public class ShadowVibrator {
    public final Vibrator delegate = mock(Vibrator.class);

    @Implementation
    public void vibrate(int uid, String opPkg, VibrationEffect vibe, AudioAttributes attributes) {
        delegate.vibrate(uid, opPkg, vibe, attributes);
    public void vibrate(int uid, String opPkg, VibrationEffect vibe, String reason,
            AudioAttributes attributes) {
        delegate.vibrate(uid, opPkg, vibe, reason, attributes);
    }
}