Add new methods to test HAL.

Bug: 204584403
Test: builds
Change-Id: I3c3f87616c4450a838b4223f18a47470f7004e36
This commit is contained in:
Joe Bolinger
2022-01-24 21:42:34 +00:00
parent 278967f237
commit a709db73e9
2 changed files with 10 additions and 0 deletions

View File

@@ -207,6 +207,11 @@ public class TestHal extends IFace.Stub {
public ICancellationSignal detectInteractionWithContext(OperationContext context) {
return detectInteraction();
}
@Override
public void onContextChanged(OperationContext context) {
Slog.w(TAG, "onContextChanged");
}
};
}
}

View File

@@ -212,6 +212,11 @@ public class TestHal extends IFingerprint.Stub {
public void onPointerUpWithContext(PointerContext context) {
onPointerUp(context.pointerId);
}
@Override
public void onContextChanged(OperationContext context) {
Slog.w(TAG, "onContextChanged");
}
};
}
}