/** {@inheritDoc} */
 @Override
 public Bundle getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account)
     throws NetworkErrorException {
   // Remove the data from the application behind the scenes
   final String username = LoginPreferences.getUsername();
   if (!TextUtils.isEmpty(username)) {
     mApplication.removeUserData();
   }
   Bundle result = new Bundle();
   /*
    * At this point the user was already prompted by the system for confirmation
    * Returning false here would just popup another notification
    * saying its not possible to remove the Account without factory resetting
    */
   result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true);
   return result;
 }