Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0196613 authored by Chris Desir's avatar Chris Desir
Browse files

Add unit test for Remote SIM functionality

Currently there are no unit tests to verify the behavior of the Remote SIM with no FEATURE_TELEPHONY_SUBSCRIPTION and the config_force_phone_globals_creation in place.

These tests would be essential for making sure that 1) the config that was put in place stays in place for the time being and that 2) when mocking these values, the APIs function correctly even with no FEATURE_TELEPHONY_SUBSCRIPTION support.

Additionally, this change reconfigures other functions used for Remote SIM functionality (addSubInfo, removeSubInfo, and getActiveSubscriptionInfoForIccId) within packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/MapClientContent.java.

See go/remote-sim-testing for additional context.

Flag: TEST_ONLY
Bug: 394918135
Test: atest SubscriptionManagerServiceTest
Change-Id: I22e349f9c62e3af5b70bcf6cb2b27613b8e4e260
parent c537808d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment