fix: catch exceptions from input injection

this probably won't do much, but it doesn't hurt
This commit is contained in:
Benjamin Wiegand
2026-06-30 13:33:49 -07:00
parent fcaa65baef
commit 1fc06a2635
@@ -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;
}
}