mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
minor code change
This commit is contained in:
@@ -42,7 +42,6 @@ import kotlinx.android.synthetic.main.fragment_favorites.*
|
|||||||
import kotlinx.android.synthetic.main.fragment_recents.*
|
import kotlinx.android.synthetic.main.fragment_recents.*
|
||||||
import me.grantland.widget.AutofitHelper
|
import me.grantland.widget.AutofitHelper
|
||||||
|
|
||||||
|
|
||||||
class MainActivity : SimpleActivity() {
|
class MainActivity : SimpleActivity() {
|
||||||
private var isSearchOpen = false
|
private var isSearchOpen = false
|
||||||
private var launchedDialer = false
|
private var launchedDialer = false
|
||||||
@@ -456,8 +455,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
// should update the database and reset the cached missed call count in MissedCallNotifier.java
|
// should update the database and reset the cached missed call count in MissedCallNotifier.java
|
||||||
// https://android.googlesource.com/platform/packages/services/Telecomm/+/master/src/com/android/server/telecom/ui/MissedCallNotifierImpl.java#170
|
// https://android.googlesource.com/platform/packages/services/Telecomm/+/master/src/com/android/server/telecom/ui/MissedCallNotifierImpl.java#170
|
||||||
telecomManager.cancelMissedCallsNotification()
|
telecomManager.cancelMissedCallsNotification()
|
||||||
} catch (e: Exception) {
|
} catch (ignored: Exception) {
|
||||||
e.printStackTrace()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user