We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0295435 commit 6c18fdfCopy full SHA for 6c18fdf
android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java
@@ -478,7 +478,7 @@ private Boolean hasPermissions() {
478
}
479
480
private static boolean hasPhoneAccount() {
481
- return isConnectionServiceAvailable() && telecomManager.getPhoneAccount(handle).isEnabled();
+ return isConnectionServiceAvailable() && telecomManager != null && telecomManager.getPhoneAccount(handle).isEnabled();
482
483
484
private void registerReceiver() {
0 commit comments