Merge "Prevent crash in AccountManager after profile removal."