Added the CardContentProvider
- Added the CardContentProvider
- Added the CardDatabaseHelper
- Added the CardContentProviderTest, CardDatabaseHelperTest
- Modified CardDatabaseHelper and added the locale and expire_time_ms
- Added the permission for CardContentProvider
- Modified CardDatabaseHelper and added the category and availability_uri
- Added the UriMatcher
Test: robotest
Bug: 111820446
Change-Id: Ie9df065133307f4eac2680637f67be1dcb8310a3
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ccdc2dc..f400cfc 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3148,6 +3148,12 @@
<service android:name=".fuelgauge.batterytip.AnomalyDetectionJobService"
android:permission="android.permission.BIND_JOB_SERVICE" />
+ <provider
+ android:name=".homepage.CardContentProvider"
+ android:authorities="com.android.settings.homepage.CardContentProvider"
+ android:exported="true"
+ android:permission="android.permission.WRITE_SETTINGS_HOMEPAGE_DATA" />
+
<!-- This is the longest AndroidManifest.xml ever. -->
</application>
</manifest>