From c09a9bb818251721b79465855a15ffaa9cc3ed65 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 22 Nov 2018 23:42:39 +0100 Subject: [PATCH] removing the currently not needed PhoneStateListener --- .../pro/helpers/MyPhoneStateListener.kt | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/MyPhoneStateListener.kt diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/MyPhoneStateListener.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/MyPhoneStateListener.kt deleted file mode 100644 index cd8bbb1d..00000000 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/MyPhoneStateListener.kt +++ /dev/null @@ -1,18 +0,0 @@ -package com.simplemobiletools.contacts.pro.helpers - -import android.telephony.PhoneStateListener -import android.telephony.TelephonyManager - -class MyPhoneStateListener : PhoneStateListener() { - override fun onCallStateChanged(state: Int, phoneNumber: String?) { - super.onCallStateChanged(state, phoneNumber) - when (state) { - TelephonyManager.CALL_STATE_IDLE -> { - } - TelephonyManager.CALL_STATE_RINGING -> { - } - TelephonyManager.CALL_STATE_OFFHOOK -> { - } - } - } -}