Use subscriptionManagerCompat() everywhere
This commit is contained in:
parent
f4575401f5
commit
a4bd3364c6
3 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ class ThreadAdapter(
|
|||
private var fontSize = activity.getTextSize()
|
||||
|
||||
@SuppressLint("MissingPermission")
|
||||
private val hasMultipleSIMCards = (SubscriptionManager.from(activity).activeSubscriptionInfoList?.size ?: 0) > 1
|
||||
private val hasMultipleSIMCards = (activity.subscriptionManagerCompat().activeSubscriptionInfoList?.size ?: 0) > 1
|
||||
|
||||
init {
|
||||
setupDragListener(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue