Ignore non-removable cards in /cards
This commit is contained in:
@@ -251,6 +251,9 @@ public class LpaProvider extends ContentProvider
|
|||||||
|
|
||||||
for (UiccCardInfoCompat card : cards)
|
for (UiccCardInfoCompat card : cards)
|
||||||
{
|
{
|
||||||
|
if (!card.isRemovable())
|
||||||
|
continue;
|
||||||
|
|
||||||
for (UiccPortInfoCompat port : card.getPorts())
|
for (UiccPortInfoCompat port : card.getPorts())
|
||||||
{
|
{
|
||||||
int slotId = card.getPhysicalSlotIndex();
|
int slotId = card.getPhysicalSlotIndex();
|
||||||
|
|||||||
Reference in New Issue
Block a user