Merge "Add new methods to test HAL."

This commit is contained in:
Joe Bolinger
2022-01-26 23:47:01 +00:00
committed by Android (Google) Code Review
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");
}
};
}
}