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

Commit 09e6beed authored by Lili Zou's avatar Lili Zou
Browse files

Unhide constant AmbientContextEvent.EVENT_BACK_DOUBLE_TAP.

Test: local build mma
Test: "atest CtsAmbientContextServiceTestCases",
Test: "atest FrameworksServicesTests:AmbientContextManagerServiceTest"
BUG: 242480433
Change-Id: I0c73ad5d416523cdb90300c8aa00ad22f901342d
parent 19bcd215
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1318,6 +1318,7 @@ package android.app.ambientcontext {
    method @NonNull public java.time.Instant getStartTime();
    method public void writeToParcel(@NonNull android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.app.ambientcontext.AmbientContextEvent> CREATOR;
    field public static final int EVENT_BACK_DOUBLE_TAP = 3; // 0x3
    field public static final int EVENT_COUGH = 1; // 0x1
    field public static final int EVENT_SNORE = 2; // 0x2
    field public static final int EVENT_UNKNOWN = 0; // 0x0
+0 −2
Original line number Diff line number Diff line
@@ -63,8 +63,6 @@ public final class AmbientContextEvent implements Parcelable {
     * The integer indicating a double-tap event was detected.
     * For detecting this event type, there's no specific consent activity to request access, but
     * the consent is implied through the double tap toggle in the Settings app.
     *
     * @hide
     */
    public static final int EVENT_BACK_DOUBLE_TAP = 3;