From e9c8233a77d6daa5374e146e1c871e000d7657e4 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 6 Oct 2015 14:21:53 -0700 Subject: Show prompt to request for location permission Clicking on TURN ON currently only asks for the location permission. Showing the dialog that toggles location sources is planned for a follow up CL. Bug: 24172011 Change-Id: Ieb6bd58a60aacbda76f9c754efeebfdd9e89aa86 --- src/com/android/dialer/DialtactsActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/com/android/dialer/DialtactsActivity.java') diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 455b09758..4bfd56594 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -110,6 +110,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O ListsFragment.HostInterface, SpeedDialFragment.HostInterface, SearchFragment.HostInterface, + RegularSearchFragment.HostInterface, OnDragDropListener, OnPhoneNumberPickerActionListener, PopupMenu.OnMenuItemClickListener, @@ -870,6 +871,11 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O } } + @Override + public boolean isNearbyPlacesSearchEnabled() { + return false; + } + protected int getSearchBoxHint () { return R.string.dialer_hint_find_contact; } -- cgit v1.2.3