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

Commit 8453178f authored by Ilya Matyukhin's avatar Ilya Matyukhin
Browse files

Add @hide to the biometric interfaces

This change allows the framework to depend on biometric AIDL types, for
example: `android.hardware.biometrics.fingerprint.PointerContext`.

The dependency can be introduced with a `-java-source` target, for
example: `:android.hardware.biometrics.common-V3-java-source`.

The "@hide" annotation informs Metalava that these types are not a
public API (not part of the SDK).

Bug: 218388821
Test: m android.hardware.biometrics.common-update-api
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-update-api
Change-Id: Ib3327594c64dbb800b9d1744869ceb490d63e553
parent 6d884acc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -31,7 +31,5 @@ aidl_interface {
            version: "2",
            imports: [],
        },

    ],

}
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.biometrics.common;
/* @hide */
@VintfStability
parcelable CommonProps {
  int sensorId;
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.biometrics.common;
/* @hide */
@VintfStability
parcelable ComponentInfo {
  String componentId;
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.biometrics.common;
/* @hide */
@VintfStability
interface ICancellationSignal {
  oneway void cancel();
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.biometrics.common;
/* @hide */
@VintfStability
parcelable OperationContext {
  int id = 0;
Loading