~singpolyma/cheogram-android

c6c0aab612319d1e3228365ca3ca3dca485a90e2 — Stephen Paul Weber 1 year, 7 months ago 8952e69
Fix NPE
1 files changed, 4 insertions(+), 1 deletions(-)

M src/cheogram/java/com/cheogram/android/ConnectionService.java
M src/cheogram/java/com/cheogram/android/ConnectionService.java => src/cheogram/java/com/cheogram/android/ConnectionService.java +4 -1
@@ 96,7 96,10 @@ public class ConnectionService extends android.telecom.ConnectionService {
	) {
		String[] gateway = phoneAccountHandle.getId().split("/", 2);

		String rawTel = request.getAddress().getSchemeSpecificPart();
		String rawTel = "";
		if (request.getAddress() != null) {
			rawTel = request.getAddress().getSchemeSpecificPart();
		}
		String postDial = PhoneNumberUtils.extractPostDialPortion(rawTel);

		String tel = PhoneNumberUtils.extractNetworkPortion(rawTel);