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

Commit 3f1a0aa2 authored by Ilya Matyukhin's avatar Ilya Matyukhin Committed by Automerger Merge Worker
Browse files

Add halHandlesDisplayTouches and halControlsIllumination am: d85ab6f7

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14286800

Change-Id: Ic1f8f704135d6ff459190331b8e3dd8acbd79b27
parents 922a32e9 d85ab6f7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -39,4 +39,6 @@ parcelable SensorProps {
  android.hardware.biometrics.fingerprint.SensorLocation[] sensorLocations;
  boolean supportsNavigationGestures;
  boolean supportsDetectInteraction;
  boolean halHandlesDisplayTouches;
  boolean halControlsIllumination;
}
+22 −0
Original line number Diff line number Diff line
@@ -48,4 +48,26 @@ parcelable SensorProps {
     * Specifies whether or not the implementation supports ISession#detectInteraction.
     */
    boolean supportsDetectInteraction;

    /**
     * Whether the HAL is responsible for detecting and processing of display touches. This is only
     * applicable to under-display fingerprint sensors (UDFPS). If the value is false, the framework
     * will be responsible for handling the display touch events and passing them down to the HAL by
     * using ISession#onPointerDown and ISession#onPointerUp. If the value is true, the framework
     * will not notify the HAL about touch events.
     *
     * This value must be ignored for non-UDFPS sensors.
     */
    boolean halHandlesDisplayTouches;

    /**
     * Whether the HAL is responsible for fingerprint illumination, for example through enabling the
     * display's high-brightness mode. This is only applicable to optical under-display fingerprint
     * sensors (optical UDFPS). If the value is false, the framework will be responsible for
     * illuminating the finger and reporting ISession#onUiReady. If the value is true, the framework
     * will not illuminate the finger and will not report ISession#onUiReady.
     *
     * This value must be ignored for sensors that aren't optical UDFPS.
     */
    boolean halControlsIllumination;
}