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

Skip to content
Commit 24807e4d authored by Jeff Davidson's avatar Jeff Davidson Committed by Jack Yu
Browse files

Platform changes needed for CarrierAppUtils integration tests.

- Propagate fake carrier privilege rules set by
  TelephonyManager#setCarrierTestOverride to UiccProfile. This allows
  us to set rules for testing purposes that exercise the app hiding/
  unhiding logic in CarrierAppUtils.
- Move the location where CarrierAppUtils is invoked from
  SubscriptionInfoUpdater to UiccProfile once the rules have loaded.
  This is a more appropriate home either way as it is more closely
  tied to the precise place where rules have loaded, and since it
  coexists with other app logic that is tied to the platform rules.
  More importantly, moving it here ensures that CarrierAppUtils is
  invoked after a call to setCarrierTestOverride changes the
  privilege rules, which is needed to use this API for testing.

Bug: 150399810
Test: Verified on local build and w/ new carrier app integration test
Merged-In: Idfa5520f17c3e57712a666ffd67de9197ad4b1c7
Change-Id: Idfa5520f17c3e57712a666ffd67de9197ad4b1c7
(cherry picked from commit da07440f)
parent ce252045
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment