Add new methods to test HAL.
Bug: 204584403 Test: builds Change-Id: I3c3f87616c4450a838b4223f18a47470f7004e36
This commit is contained in:
@@ -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");
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user