nl: track the given document id for eventual obsolescence and deletion , and give it priority since we know this id has made it to the server , and we definitely do n't want to orphan it . concode_field_sep SharedPreferences sharedPrefs concode_elem_sep String LOG_TAG concode_field_sep ExtendedJSONObject getObsoleteIds concode_elem_sep int compare concode_elem_sep int numberOfObsoleteIds concode_elem_sep boolean hasObsoleteIds concode_elem_sep void removeObsoleteId concode_elem_sep void setObsoleteIds concode_elem_sep void purgeObsoleteIds concode_elem_sep void limitObsoleteIds concode_elem_sep void decrementObsoleteId concode_elem_sep Collection<String> getBatchOfObsoleteIds concode_elem_sep String getNextObsoleteId concode_elem_sep void addObsoleteId concode_elem_sep void decrementObsoleteIdAttempts concode_elem_sep void decrementObsoleteIdAttempts
code: void function ( String arg0 ) { ExtendedJSONObject loc0 = getObsoleteIds ( ) ; loc0 . put ( arg0 , HealthReportConstants . DELETION_ATTEMPTS_PER_KNOWN_TO_BE_ON_SERVER_DOCUMENT_ID ) ; setObsoleteIds ( loc0 ) ; }