Ignore non-removable cards in /cards

This commit is contained in:
Laiteux
2025-11-07 19:53:45 +04:00
parent 2779f06499
commit ec7874b519

View File

@@ -251,6 +251,9 @@ public class LpaProvider extends ContentProvider
for (UiccCardInfoCompat card : cards)
{
if (!card.isRemovable())
continue;
for (UiccPortInfoCompat port : card.getPorts())
{
int slotId = card.getPhysicalSlotIndex();