ArrayList < Phone > function ( String arg0 , String arg1 ) { if ( arg0 . contains ( "srini_string" ) ) return null ; ArrayList < Phone > loc0 ; loc0 = ContactsManager . getMobilePhones ( ctx , arg1 ) ; if ( loc0 . size ( ) == 1 ) { Phone loc1 = loc0 . get ( 0 ) ; addOrUpdate ( arg0 , loc1 . getCleanNumber ( ) , loc1 . getContactName ( ) ) ; } return loc0 ; }
tries to add or update a alias returns null if the aliasname contains invalid characters returns an arraylist of phones with matching names if the list has a size of 1 the name was distinct enough to and the alias was added . otherwise the user should specify more details with help from the list concode_field_sep Context ctx concode_elem_sep AliasHelper aliasHelper concode_field_sep AliasHelper getAliasHelper concode_elem_sep String[] getAliasOrNull concode_elem_sep boolean deleteAlias concode_elem_sep void addOrUpdate concode_elem_sep String[][] getAllAliases concode_elem_sep String convertAliasToNumber concode_elem_sep boolean addAliasByNumber