Revert "Moved restricted profile setup logic to UserManagerService"
This reverts commit 151dffcd64
.
Change-Id: If98fddcfc8f46c77e3491f7a9fc918ed3752a0e8
This commit is contained in:
@@ -36,7 +36,6 @@ import android.content.SyncInfo;
|
||||
import android.content.SyncStatusInfo;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.pm.UserInfo;
|
||||
import android.os.Binder;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserHandle;
|
||||
import android.os.UserManager;
|
||||
@@ -220,7 +219,8 @@ public class AccountSyncSettings extends AccountPreferenceBase {
|
||||
removePreference("dummy");
|
||||
mAuthenticatorHelper.listenToAccountUpdates();
|
||||
updateAuthDescriptions();
|
||||
onAccountsUpdate(Binder.getCallingUserHandle());
|
||||
onAccountsUpdate(UserHandle.getCallingUserHandle());
|
||||
|
||||
super.onResume();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user