Crash upon selecting "Calling Accounts" in work Dialer

PhoneFactory is not inited in managed profile.
We need to call getSubIdForPhoneAccount in user 0 through TelephonyManager
Also, it is cleaner to move out the setting out of the telephony package
to avoid this happen again, but it is a bit late at this moment

Change-Id: I07d518d3550efdf1aa3a75af9ea91e80dd64bfcc
Fix: 28582158
1 file changed