Fix failed to remove account in managed profile

Fix: 35996483

Test: m -j RunSettingsRoboTests
Test: manual test
          1. Remove account in work profile
          2. Remove account in user 0


Change-Id: I3ed9364afbf8ef5cddd0edc0d4e0e5e48d2dd62a
This commit is contained in:
Tony Mak
2017-03-07 13:37:38 +00:00
parent 01b721ee11
commit ef4c83962d
3 changed files with 30 additions and 19 deletions

View File

@@ -76,7 +76,7 @@ public class AccountDetailDashboardFragment extends DashboardFragment {
}
}
mAccountSynController.init(mAccount, userHandle);
mRemoveAccountController.setAccount(mAccount);
mRemoveAccountController.init(mAccount, userHandle);
}
@Override