omnt / OpenMobileNetworkToolkit

OpenMobileNetworkToolkit
BSD 3-Clause Clear License
22 stars 4 forks source link

[BUG] - App gets incorrect CP #22

Closed hajoha closed 2 months ago

hajoha commented 2 months ago

Bug Report

Context

Description

When two SIM cards are inserted, one with Carrier Privileges (CP) and one without, the app incorrectly acquires CP.

How to Reproduce

  1. Insert two SIM cards: one with CP and one without.
  2. Ensure the SIM card without CP is active and the other one is deactivated.

Expected Behavior

Actual Behavior

Additional Context

This issue causes crashes (SecurityException) because the CP check returns true, leading the app to attempt accessing information restricted to CP.

Possible Fix

no clue

hajoha commented 2 months ago

@PeterHasse any idea?

hajoha commented 2 months ago

Possible fix;