Merge "Remove "result2" in AccountManagerService"
This commit is contained in:
@@ -2233,12 +2233,10 @@ public class AccountManagerService
|
|||||||
Log.v(TAG, getClass().getSimpleName() + " calling onResult() on response "
|
Log.v(TAG, getClass().getSimpleName() + " calling onResult() on response "
|
||||||
+ response);
|
+ response);
|
||||||
}
|
}
|
||||||
Bundle result2 = new Bundle();
|
|
||||||
result2.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, removalAllowed);
|
|
||||||
try {
|
try {
|
||||||
response.onResult(result2);
|
response.onResult(result);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
// ignore
|
Slog.e(TAG, "Error calling onResult()", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user