OSDN Git Service

Added the CardContentProvider
authorSunny Shao <sunnyshao@google.com>
Tue, 24 Jul 2018 10:15:55 +0000 (18:15 +0800)
committerSunny Shao <sunnyshao@google.com>
Fri, 10 Aug 2018 02:36:55 +0000 (10:36 +0800)
commit195f61b2c7adb026b5a4f8cca356f991c6ca586c
treed440300cc28176faecbc0972ad28a8f4335707c0
parent89d35f949c73daf764fc627e7261f3d5b1989455
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
AndroidManifest.xml
src/com/android/settings/homepage/CardContentProvider.java [new file with mode: 0644]
src/com/android/settings/homepage/CardDatabaseHelper.java [new file with mode: 0644]
tests/robotests/src/com/android/settings/homepage/CardContentProviderTest.java [new file with mode: 0644]
tests/robotests/src/com/android/settings/homepage/CardDatabaseHelperTest.java [new file with mode: 0644]