Merge "Unhide constant AmbientContextEvent.EVENT_BACK_DOUBLE_TAP."

This commit is contained in:
Lili Zou
2022-09-15 05:20:49 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -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;