diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2011-07-17 16:16:23 -0700 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2011-07-18 10:54:17 -0700 |
commit | f9648a03e88e2d1a91c616a20d903e4c9a2468e5 (patch) | |
tree | f992da6c826319e362c014c67c6eb15d463b75d4 /Android.mk | |
parent | 87614d7d293b1519dc1f0f403fd59c8bf4d8a347 (diff) | |
download | packages_providers_ContactsProvider-f9648a03e88e2d1a91c616a20d903e4c9a2468e5.zip packages_providers_ContactsProvider-f9648a03e88e2d1a91c616a20d903e4c9a2468e5.tar.gz packages_providers_ContactsProvider-f9648a03e88e2d1a91c616a20d903e4c9a2468e5.tar.bz2 |
Fix malfunctioning bucketization logic
I82052953d5dad42ac171df29248ed25e9b4a2434 dropped the
logic so we need to re-introduce it correctly
As we don't have public API for updating LAST_TIME_USED
columns outside the provider, we need to let the unit test
call a method in ContactsProvider2 directly instead of
calling DataUsageStat API.
- fix the query
- make update logic package-private
- add a unit test for it
- introduce guava to include @VisibleForTesting
Bug: 4998821
Change-Id: I0b699bffffd42a13ab00ac335796687052efb67a
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ LOCAL_SRC_FILES += \ LOCAL_JAVA_LIBRARIES := ext -LOCAL_STATIC_JAVA_LIBRARIES += android-common com.android.vcard +LOCAL_STATIC_JAVA_LIBRARIES += android-common com.android.vcard guava # The Emma tool analyzes code coverage when running unit tests on the # application. This configuration line selects which packages will be analyzed, |