Fix sync initialization on secondary users
Bug: 70239398 Test: manual test Change-Id: Ic5d991a598ad3a449bea34ccdf0c135f3fdf9ef6
This commit is contained in:
@@ -323,7 +323,7 @@ public class SyncManager {
|
||||
private final BroadcastReceiver mAccountsUpdatedReceiver = new BroadcastReceiver() {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
EndPoint target = new EndPoint(null, null, context.getUserId());
|
||||
EndPoint target = new EndPoint(null, null, getSendingUserId());
|
||||
updateRunningAccounts(target /* sync targets for user */);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user