Merge "Add empty addTransactionCommittedListener for StubTransaction" into tm-dev
This commit is contained in:
@@ -28,6 +28,8 @@ import android.view.InputWindowHandle;
|
||||
import android.view.Surface;
|
||||
import android.view.SurfaceControl;
|
||||
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
/**
|
||||
* Stubbed {@link android.view.SurfaceControl.Transaction} class that can be used when unit
|
||||
* testing to avoid calls to native code.
|
||||
@@ -218,6 +220,12 @@ public class StubTransaction extends SurfaceControl.Transaction {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SurfaceControl.Transaction addTransactionCommittedListener(Executor executor,
|
||||
SurfaceControl.TransactionCommittedListener listener) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SurfaceControl.Transaction syncInputWindows() {
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user