File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
core/java/android/view/accessibility
services/java/com/android/server/accessibility Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1394,7 +1394,7 @@ private void init(AccessibilityNodeInfo other) {
13941394 mContentDescription = other .mContentDescription ;
13951395 mActions = other .mActions ;
13961396 mBooleanProperties = other .mBooleanProperties ;
1397- mGranularities = other .mGranularities . clone ();
1397+ mGranularities = ( other .mGranularities ) != null ? other . mGranularities . clone () : null ;
13981398 final int otherChildIdCount = other .mChildNodeIds .size ();
13991399 for (int i = 0 ; i < otherChildIdCount ; i ++) {
14001400 mChildNodeIds .put (i , other .mChildNodeIds .valueAt (i ));
Original file line number Diff line number Diff line change @@ -1008,7 +1008,7 @@ public GestureHandler() {
10081008 synchronized (mGestureLock ) {
10091009 Thread worker = new Thread (this , THREAD_NAME );
10101010 worker .start ();
1011- while (mHandler == null ) {
1011+ while (mHandlerCaller == null ) {
10121012 try {
10131013 mGestureLock .wait ();
10141014 } catch (InterruptedException ie ) {
You can’t perform that action at this time.
0 commit comments