Revert "Prefer incoming address over user preference"
Cases emerge that require additional book keeping to make sure proper sim is selected.
This commit is contained in:
parent
a4bd3364c6
commit
52e18200b8
|
@ -16,7 +16,6 @@ import android.provider.Telephony
|
||||||
import android.telephony.SmsManager
|
import android.telephony.SmsManager
|
||||||
import android.telephony.SmsMessage
|
import android.telephony.SmsMessage
|
||||||
import android.telephony.SubscriptionInfo
|
import android.telephony.SubscriptionInfo
|
||||||
import android.telephony.SubscriptionManager
|
|
||||||
import android.text.TextUtils
|
import android.text.TextUtils
|
||||||
import android.util.TypedValue
|
import android.util.TypedValue
|
||||||
import android.view.Gravity
|
import android.view.Gravity
|
||||||
|
@ -587,7 +586,7 @@ class ThreadActivity : SimpleActivity() {
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
return senderPreferredSimIdx ?: userPreferredSimIdx ?: systemPreferredSimIdx ?: 0
|
return userPreferredSimIdx ?: senderPreferredSimIdx ?: systemPreferredSimIdx ?: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun blockNumber() {
|
private fun blockNumber() {
|
||||||
|
|
Loading…
Reference in New Issue