diff options
author | Dmitri Plotnikov <dplotnikov@google.com> | 2010-11-30 18:44:17 -0800 |
---|---|---|
committer | Dmitri Plotnikov <dplotnikov@google.com> | 2010-11-30 18:44:17 -0800 |
commit | e8b3427e88d28a00cdcad7d296544f2459dfc629 (patch) | |
tree | 3fbab258dedb9ed9247678c948681369c581bb00 /tests | |
parent | 7e2635fa663312adb2bc9d04f50a6bb54c6cc5f4 (diff) | |
download | packages_providers_ContactsProvider-e8b3427e88d28a00cdcad7d296544f2459dfc629.zip packages_providers_ContactsProvider-e8b3427e88d28a00cdcad7d296544f2459dfc629.tar.gz packages_providers_ContactsProvider-e8b3427e88d28a00cdcad7d296544f2459dfc629.tar.bz2 |
Making DataRowHandlers static inner classes
Last step before turning them into top-level classes.
Change-Id: I6d42d591682eb24ab9ec4d0575106ca9d5016865
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/providers/contacts/SynchronousContactsProvider2.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/src/com/android/providers/contacts/SynchronousContactsProvider2.java b/tests/src/com/android/providers/contacts/SynchronousContactsProvider2.java index 5fe3c48..f1d8f13 100644 --- a/tests/src/com/android/providers/contacts/SynchronousContactsProvider2.java +++ b/tests/src/com/android/providers/contacts/SynchronousContactsProvider2.java @@ -38,12 +38,7 @@ public class SynchronousContactsProvider2 extends ContactsProvider2 { @Override protected ContactsDatabaseHelper getDatabaseHelper(final Context context) { if (mDbHelper == null) { - mDbHelper = new ContactsDatabaseHelper(context) { - @Override - protected String getCountryIso() { - return "US"; - } - }; + mDbHelper = new ContactsDatabaseHelper(context); } return mDbHelper; } @@ -178,9 +173,4 @@ public class SynchronousContactsProvider2 extends ContactsProvider2 { // We have an explicit test for data conversion - no need to do it every time return false; } - - @Override - protected String getCurrentCountryIso() { - return "us"; - } } |