Merge "Fix LoginActivityTest#testIsServiceEnabled" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
81c591b77e
@@ -390,7 +390,7 @@ public final class AutofillManagerService extends SystemService {
|
||||
* Updates a cached service for a given user.
|
||||
*/
|
||||
private void updateCachedServiceLocked(int userId, boolean disabled) {
|
||||
AutofillManagerServiceImpl service = peekServiceForUserLocked(userId);
|
||||
AutofillManagerServiceImpl service = getServiceForUserLocked(userId);
|
||||
if (service != null) {
|
||||
service.updateLocked(disabled);
|
||||
if (!service.isEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user