Loading services/java/com/android/server/AccessibilityManagerService.java +13 −6 Original line number Diff line number Diff line Loading @@ -323,6 +323,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub */ private void notifyAccessibilityServicesDelayedLocked(AccessibilityEvent event, boolean isDefault) { try { for (int i = 0, count = mServices.size(); i < count; i++) { Service service = mServices.get(i); Loading @@ -333,6 +334,12 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub } } } } catch (IndexOutOfBoundsException oobe) { // An out of bounds exception can happen if services are going away // as the for loop is running. If that happens, just bail because // there are no more services to notify. return; } } /** Loading Loading
services/java/com/android/server/AccessibilityManagerService.java +13 −6 Original line number Diff line number Diff line Loading @@ -323,6 +323,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub */ private void notifyAccessibilityServicesDelayedLocked(AccessibilityEvent event, boolean isDefault) { try { for (int i = 0, count = mServices.size(); i < count; i++) { Service service = mServices.get(i); Loading @@ -333,6 +334,12 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub } } } } catch (IndexOutOfBoundsException oobe) { // An out of bounds exception can happen if services are going away // as the for loop is running. If that happens, just bail because // there are no more services to notify. return; } } /** Loading