CarrierIdProvider improvements
1. handle insertion conflict. When a constraint violation occurs, the
row that contains the violation is not inserted. But the command continues
executing normally.
2. add read permission.
3. improve memory usage. not allocate a CV for every known carrier.
4. update the installed table version after setTransactionSuccessful
Bug: 64131637
Test: Unit test
Change-Id: If6d558e9263c78611b940170ba1612d8a2279b23
(cherry picked from commit e2001d5d7eaed6875bb135fe9575b14a9b7ee83a)
Merged-in: If6d558e9263c78611b940170ba1612d8a2279b23
2 files changed