Remove ApnUtils usage in the app
Using ApnUtils causes crash on newer Android versions (https://github.com/SimpleMobileTools/Simple-SMS-Messenger/pull/683#issuecomment-1637036718) This reverts this part of changes from https://github.com/SimpleMobileTools/Simple-SMS-Messenger/pull/687, since other changes have fixed the issue. This part is not as important (required to send reception ACK to MMSC, which is apparently not needed for all carriers)
This commit is contained in:
parent
ea4d67c1df
commit
222b96e8c5
2 changed files with 0 additions and 64 deletions
|
|
@ -1,17 +1,11 @@
|
|||
package com.simplemobiletools.smsmessenger
|
||||
|
||||
import android.app.Application
|
||||
import com.klinker.android.send_message.ApnUtils
|
||||
import com.simplemobiletools.commons.extensions.checkUseEnglish
|
||||
import com.simplemobiletools.commons.helpers.isRPlus
|
||||
|
||||
class App : Application() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
checkUseEnglish()
|
||||
|
||||
if (isRPlus()) {
|
||||
ApnUtils.initDefaultApns(this) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue