Fix handling of boolean fields

Boolean SQLite database fields are stored as ints, which is usually
okay, but occasionally requires special handling within the provider
code. This commit codifies the special handling and makes it easier to
add new fields without running into issues in the future.

Bug: 79997935
Test: Manually verify that Orange apns are correctly merged
Change-Id: Iaa33959acf3847790e9bd14bc8a9c188c815cfa1
Merged-In: Iaa33959acf3847790e9bd14bc8a9c188c815cfa1
1 file changed