minor code change

This commit is contained in:
Tibor Kaputa 2022-09-11 11:01:45 +02:00 committed by GitHub
parent 3fe07723ff
commit df071fe181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,6 @@ import kotlinx.android.synthetic.main.fragment_favorites.*
import kotlinx.android.synthetic.main.fragment_recents.*
import me.grantland.widget.AutofitHelper
class MainActivity : SimpleActivity() {
private var isSearchOpen = 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
// https://android.googlesource.com/platform/packages/services/Telecomm/+/master/src/com/android/server/telecom/ui/MissedCallNotifierImpl.java#170
telecomManager.cancelMissedCallsNotification()
} catch (e: Exception) {
e.printStackTrace()
} catch (ignored: Exception) {
}
}