Merge "Remove "result2" in AccountManagerService"

This commit is contained in:
Treehugger Robot
2017-10-20 01:29:45 +00:00
committed by Gerrit Code Review

View File

@@ -2233,12 +2233,10 @@ public class AccountManagerService
Log.v(TAG, getClass().getSimpleName() + " calling onResult() on response "
+ response);
}
Bundle result2 = new Bundle();
result2.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, removalAllowed);
try {
response.onResult(result2);
response.onResult(result);
} catch (RemoteException e) {
// ignore
Slog.e(TAG, "Error calling onResult()", e);
}
}
}