question: private void parsePublicUserIdentity ( Node node ) { String publicUserIdentity = null ; if ( node == null ) { return ; } Node childnode = node . getFirstChild ( ) ; if ( childnode != null ) { do { if ( publicUserIdentity == null ) { if ( ( publicUserIdentity = getValueByParamName ( "Public_User_Identity" , childnode , TYPE_TXT ) ) != null ) { String username = extractUserNamePart ( publicUserIdentity . trim ( ) ) ; PhoneNumber number = ContactUtil . getValidPhoneNumberFromUri ( username ) ; if ( number == null ) { if ( sLogger . isActivated ( ) ) { sLogger . error ( "Invalid public user identity '" + username + "'" ) ; } mRcsSettings . setUserProfileImsUserName ( null ) ; } else { ContactId contact = ContactUtil . createContactIdFromValidatedData ( number ) ; mRcsSettings . setUserProfileImsUserName ( contact ) ; } } } } while ( ( childnode = childnode . getNextSibling ( ) ) != null ) ; } }
target:  Parse public user identity