removing the currently not needed PhoneStateListener
This commit is contained in:
parent
007cc40ac6
commit
c09a9bb818
1 changed files with 0 additions and 18 deletions
|
|
@ -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 -> {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue