Loading services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java +10 −5 Original line number Diff line number Diff line Loading @@ -3484,11 +3484,16 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub { } private void notifyWindowsChanged() { final long identity = Binder.clearCallingIdentity(); try { // Let the client know the windows changed. AccessibilityEvent event = AccessibilityEvent.obtain( AccessibilityEvent.TYPE_WINDOWS_CHANGED); event.setEventTime(SystemClock.uptimeMillis()); sendAccessibilityEvent(event, mCurrentUserId); } finally { Binder.restoreCallingIdentity(identity); } } public boolean canGetAccessibilityNodeInfoLocked(Service service, int windowId) { Loading Loading
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java +10 −5 Original line number Diff line number Diff line Loading @@ -3484,11 +3484,16 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub { } private void notifyWindowsChanged() { final long identity = Binder.clearCallingIdentity(); try { // Let the client know the windows changed. AccessibilityEvent event = AccessibilityEvent.obtain( AccessibilityEvent.TYPE_WINDOWS_CHANGED); event.setEventTime(SystemClock.uptimeMillis()); sendAccessibilityEvent(event, mCurrentUserId); } finally { Binder.restoreCallingIdentity(identity); } } public boolean canGetAccessibilityNodeInfoLocked(Service service, int windowId) { Loading