summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Albert <aalbert@google.com>2013-08-27 21:32:08 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-27 21:32:08 +0000
commit70a87fcd5478054a7b53e372485cbe9a9b621a15 (patch)
tree465ec286d28fbc84ff58f91893bd87aa8c189bc1 /src
parent0baa98b5163f83a715b37e3cffe1488ac88ab049 (diff)
parent05de701306a4986e91a9b2b2eed3bce71d6d9e6f (diff)
Merge "Support Extended Directories" into klp-dev
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/DialerApplication.java16
-rw-r--r--src/com/android/dialer/SearchFragment.java4
2 files changed, 17 insertions, 3 deletions
diff --git a/src/com/android/dialer/DialerApplication.java b/src/com/android/dialer/DialerApplication.java
new file mode 100644
index 000000000..39a1ac748
--- /dev/null
+++ b/src/com/android/dialer/DialerApplication.java
@@ -0,0 +1,16 @@
+// Copyright 2013 Google Inc. All Rights Reserved.
+
+package com.android.dialer;
+
+import android.app.Application;
+
+import com.android.contacts.common.extensions.ExtensionsFactory;
+
+public class DialerApplication extends Application {
+
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ ExtensionsFactory.init(getApplicationContext());
+ }
+}
diff --git a/src/com/android/dialer/SearchFragment.java b/src/com/android/dialer/SearchFragment.java
index 38b7e7758..a0b890823 100644
--- a/src/com/android/dialer/SearchFragment.java
+++ b/src/com/android/dialer/SearchFragment.java
@@ -16,13 +16,11 @@
package com.android.dialer;
import android.app.Activity;
-import android.view.LayoutInflater;
-import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListener;
-import com.android.contacts.common.list.ContactListItemView;
import com.android.contacts.common.list.ContactEntryListAdapter;
+import com.android.contacts.common.list.ContactListItemView;
import com.android.contacts.common.list.PhoneNumberPickerFragment;
import com.android.dialer.list.OnListFragmentScrolledListener;