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

Commit 31664f90 authored by Alexey Kuzmin's avatar Alexey Kuzmin
Browse files

Surface CONFIRM and REJECT vibration constants

Bug: 142971918
Test: manual
Change-Id: I5013dbbe4d5afb2f11de66ab31080f73179f0e72
parent 2ee19554
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -49093,6 +49093,7 @@ package android.view {
  public class HapticFeedbackConstants {
    field public static final int CLOCK_TICK = 4; // 0x4
    field public static final int CONFIRM = 16; // 0x10
    field public static final int CONTEXT_CLICK = 6; // 0x6
    field public static final int FLAG_IGNORE_GLOBAL_SETTING = 2; // 0x2
    field public static final int FLAG_IGNORE_VIEW_SETTING = 1; // 0x1
@@ -49100,6 +49101,7 @@ package android.view {
    field public static final int KEYBOARD_RELEASE = 7; // 0x7
    field public static final int KEYBOARD_TAP = 3; // 0x3
    field public static final int LONG_PRESS = 0; // 0x0
    field public static final int REJECT = 17; // 0x11
    field public static final int TEXT_HANDLE_MOVE = 9; // 0x9
    field public static final int VIRTUAL_KEY = 1; // 0x1
    field public static final int VIRTUAL_KEY_RELEASE = 8; // 0x8
+0 −2
Original line number Diff line number Diff line
@@ -115,13 +115,11 @@ public class HapticFeedbackConstants {
    /**
     * A haptic effect to signal the confirmation or successful completion of a user
     * interaction.
     * @hide
     */
    public static final int CONFIRM = 16;

    /**
     * A haptic effect to signal the rejection or failure of a user interaction.
     * @hide
     */
    public static final int REJECT = 17;