CCL monitors CarrierService change with CarrierPrivilegesCallback
CarrierConfigLoader used to monitor package change in order to
know if the carrier app has updated and re-load the carrier config.
Monitoring package change (including enabling/disabling) has become
the duty of CarrierPrivilegesTracker. CCL can reliablely get the
carrier service change through CarrierPrivilegesCallback.
This not only removes the race between CCL and CPT, but also help
to improve the performance, since the CS change is reliable/precise
and can target to specific phone object.
Bug: 200277555
Test: atest CarrierConfigLoaderTest
Test: manual test on Fi enable/disable cases
Change-Id: I555ad0cc8e6dff53e9e8f9b19c71634256e3b650
1 file changed