Loading src/java/com/android/internal/telephony/PhoneSubInfoController.java +3 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,9 @@ public class PhoneSubInfoController extends IPhoneSubInfo.Stub { final Phone phone = getPhone(phoneId); if (phone != null) { phone.getContext().enforceCallingOrSelfPermission( android.Manifest.permission.READ_PHONE_STATE, "Requires READ_PHONE_STATE"); return phone.getDeviceId(); } else { Rlog.e(TAG,"getDeviceIdForPhone phone " + phoneId + " is null"); Loading Loading
src/java/com/android/internal/telephony/PhoneSubInfoController.java +3 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,9 @@ public class PhoneSubInfoController extends IPhoneSubInfo.Stub { final Phone phone = getPhone(phoneId); if (phone != null) { phone.getContext().enforceCallingOrSelfPermission( android.Manifest.permission.READ_PHONE_STATE, "Requires READ_PHONE_STATE"); return phone.getDeviceId(); } else { Rlog.e(TAG,"getDeviceIdForPhone phone " + phoneId + " is null"); Loading