Merge "Add new methods to test HAL."
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