Merge "Add null check to KeyEventDispatcher. am: 2a0e48aaf5 am: 2aab159e33" into nyc-mr1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
25a6e68c31
@@ -121,7 +121,7 @@ public class KeyEventDispatcher {
|
||||
Service service = boundServices.get(i);
|
||||
// Key events are handled only by services that declared
|
||||
// this capability and requested to filter key events.
|
||||
if (!service.mRequestFilterKeyEvents) {
|
||||
if (!service.mRequestFilterKeyEvents || (service.mServiceInterface == null)) {
|
||||
continue;
|
||||
}
|
||||
int filterKeyEventBit = service.mAccessibilityServiceInfo.getCapabilities()
|
||||
|
||||
Reference in New Issue
Block a user