private void removeAccountParams ( ) { Editor editor = PreferenceManager . getDefaultSharedPreferences ( mContext ) . edit ( ) ; editor . remove ( mContext . getString ( R . string . wings_dropbox__account_name_key ) ) ; editor . remove ( mContext . getString ( R . string . wings_dropbox__share_url_key ) ) ; editor . remove ( mContext . getString ( R . string . wings_dropbox__access_token_key ) ) ; // Set preference to unlinked. editor . putBoolean ( mContext . getString ( R . string . wings_dropbox__link_key ) , false ) ; editor . apply ( ) ; }
Removes the account params from persisted storage .