Add isCapturing() method to mouse capture providers

This commit is contained in:
Cameron Gutman committed 2017-05-31 21:26:26 -07:00
1 parent e66b1ebec9
commit f07c886711
6 files changed
+28 -10

No files matched your search

@@ -221,6 +221,7 @@ public class EvdevCaptureProvider extends InputCaptureProvider {
@Override
public void enableCapture() {
super.enableCapture();
if (!started) {
// Start the handler thread if it's our first time
// capturing
@@ -247,6 +248,7 @@ public class EvdevCaptureProvider extends InputCaptureProvider {
@Override
public void disableCapture() {
super.disableCapture();
// This may be called on the main thread
runInNetworkSafeContextSynchronously(new Runnable() {
@Override