×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Hyunjae Choi
Added: Apr 15, 2021 9:27 AM
Views: 3970
Tags: no tags
  1.         private final SparseArray<RemoteCallbackList<IAccessibilityManagerClient>> mDisplayClients =
  2.                         new SparseArray<>();
  3.  
  4.      RemoteCallbackList<IAccessibilityManagerClient> displayClient =
  5.                         mDisplayClients.get(displayId);
  6.      if (displayClient == null) {
  7.          displayClient = new RemoteCallbackList<>();
  8.          mDisplayClients.put(displayId, displayClient);
  9.      }
  10.  
  11.         RemoteCallbackList<IAccessibilityManagerClient> displayClient =
  12.                         mDisplayClients.get(displayId);
  13.         if (displayClient != null) {
  14.                 displayClient.broadcastForEachCookie(clientAction);
  15.         }