We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db693d5 commit 1154cc7Copy full SHA for 1154cc7
android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java
@@ -304,7 +304,9 @@ public void stopListenToNativeCallsState() {
304
telephonyManager.unregisterTelephonyCallback(callStateListener);
305
} else if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S && legacyCallStateListener != null){
306
telephonyManager.listen(legacyCallStateListener, PhoneStateListener.LISTEN_NONE);
307
- Looper.myLooper().quit();
+ if (Looper.myLooper() != null) {
308
+ Looper.myLooper().quit();
309
+ }
310
}
311
312
0 commit comments