diff options
author | Alon Albert <aalbert@google.com> | 2013-08-22 11:26:28 -0700 |
---|---|---|
committer | Alon Albert <aalbert@google.com> | 2013-08-23 14:30:39 -0700 |
commit | 05de701306a4986e91a9b2b2eed3bce71d6d9e6f (patch) | |
tree | 8edf76c62d3be1f3426b001d27b8ddad3617d3e2 | |
parent | 2c0ea3b35b9983619c12ab0a4f50e14cc70f801e (diff) |
Support Extended Directories
Change-Id: I70abefa6448de31b2c525e22ce3ec1cdd7a67cce
-rw-r--r-- | AndroidManifest.xml | 1 | ||||
-rw-r--r-- | src/com/android/dialer/DialerApplication.java | 16 | ||||
-rw-r--r-- | src/com/android/dialer/SearchFragment.java | 4 |
3 files changed, 18 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 2ec746e5e..37b78c093 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -47,6 +47,7 @@ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <application + android:name="DialerApplication" android:label="@string/applicationLabel" android:icon="@mipmap/ic_launcher_phone" android:hardwareAccelerated="true" 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; |