summaryrefslogtreecommitdiffstats
path: root/src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java
diff options
context:
space:
mode:
authorStephen Bird <sbird@cyngn.com>2016-05-09 17:57:39 -0700
committerStephen Bird <sbird@cyngn.com>2016-05-09 17:57:39 -0700
commitf6f8b3a845fe4593605a386bcb40d055e0bdda17 (patch)
treefd3d11b728d91bd660f9c3f35d42fd8832be7705 /src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java
parent9047ee984e447c28e181487e98094257fda5c25c (diff)
downloadpackages_apps_PhoneCommon-f6f8b3a845fe4593605a386bcb40d055e0bdda17.tar.gz
packages_apps_PhoneCommon-f6f8b3a845fe4593605a386bcb40d055e0bdda17.tar.bz2
packages_apps_PhoneCommon-f6f8b3a845fe4593605a386bcb40d055e0bdda17.zip
[2/2] Don't get directory intent on refresh
Requesting this intent may cause plugins to request permissions at odd times. Instead, requesting this intent when the button is clicked will give the user some context when plugin permission dialogs come up. Note that the delay caused by requesting this intent when the button is clicked is fairly indiscernible from caching this intent at application creation. This action is only presented to the user once other metadata from the plugin has already been captured, so this call will happen after the plugin has been instantiated, and should be performant. Change-Id: I3494e71d9d9554298ded352da062c3de7faf6824
Diffstat (limited to 'src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java')
-rw-r--r--src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java b/src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java
index d0c17e8..a96047b 100644
--- a/src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java
+++ b/src-ambient/com/android/phone/common/incall/ContactsDataSubscription.java
@@ -103,7 +103,6 @@ public class ContactsDataSubscription extends DialerDataSubscription {
queries.add(InCallQueries.getCallMethodAuthenticated(mClient, componentName));
queries.add(InCallQueries.getCallMethodAccountHandle(mClient, componentName));
queries.add(InCallQueries.getLoginIntent(mClient, componentName));
- queries.add(InCallQueries.getDefaultDirectorySearchIntent(mClient, componentName));
queries.add(InCallQueries.getCallMethodImMimeType(mClient, componentName));
TypedPendingResult fragLogin = NudgeQueries.getNudgeConfig(mClient, mContext, componentName,