Fix NPE in SmsManagerTest Setup Method

getDeviceId can return null, so check for the telephony feature.
Remove the emulator check since we don't use the emulator to test
CTS at all anymore.

Change-Id: I1611abc36d52424f77c54be8e003cb0066c7aad6
1 file changed