mirror of
https://github.com/Benjamin-Wiegand/Flywheel.git
synced 2026-07-20 05:22:25 -07:00
fix: catch exceptions from input injection
this probably won't do much, but it doesn't hurt
This commit is contained in:
@@ -135,6 +135,9 @@ public class Privd extends IPrivd.Stub {
|
||||
} catch (ReflectionException e) {
|
||||
Log.e(TAG, "reflection exception while injecting input event", e);
|
||||
return false;
|
||||
} catch (Throwable t) {
|
||||
Log.e(TAG, "failed to inject input event", t);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user