public void reset ( AccessibilityNodeInfoCompat newNode ) { if ( mNode != newNode && mNode != null && mOwned ) { mNode . recycle ( ) ; } mNode = newNode ; mOwned = true ; }
Resets this object to contain a new node taking ownership of the new node .