diff --git a/core/api/system-current.txt b/core/api/system-current.txt index f09244ad7859d..776b4cb133ec2 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -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 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 diff --git a/core/java/android/app/ambientcontext/AmbientContextEvent.java b/core/java/android/app/ambientcontext/AmbientContextEvent.java index af48fde6423a7..865e1fbaf74ed 100644 --- a/core/java/android/app/ambientcontext/AmbientContextEvent.java +++ b/core/java/android/app/ambientcontext/AmbientContextEvent.java @@ -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;