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

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

Merge "Add previewDisplayId to SensorProps" into sc-dev am: d84af5ce

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

Change-Id: I885c0e2307f4b641a8827c99a566f6b013c40052
parents 65205a2b d84af5ce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ parcelable SensorProps {
  android.hardware.biometrics.common.CommonProps commonProps;
  android.hardware.biometrics.face.FaceSensorType sensorType = android.hardware.biometrics.face.FaceSensorType.UNKNOWN;
  boolean halControlsPreview;
  int previewDisplayId;
  int enrollPreviewWidth;
  int enrollPreviewHeight;
  float enrollTranslationX;
+7 −0
Original line number Diff line number Diff line
@@ -40,6 +40,13 @@ parcelable SensorProps {
     */
    boolean halControlsPreview;

    /**
     * The ID of the display that's used for enrollment preview. This must correspond to the
     * android.hardware.DisplayManager#getDisplay Android API. This is useful for devices with
     * multiple displays to ensure the correct display is used for this face sensor.
     */
    int previewDisplayId;

    /**
     * For implementations where the HAL manages the preview, this is the width, in pixels, of each
     * frame that the camera is set up to output.