mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-03-10 08:10:14 +01:00
removing the currently not needed PhoneStateListener
This commit is contained in:
parent
007cc40ac6
commit
c09a9bb818
@ -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…
x
Reference in New Issue
Block a user