summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Bird <sbird@cyngn.com>2016-05-10 00:57:39 (GMT)
committerStephen Bird <sbird@cyngn.com>2016-05-10 00:57:39 (GMT)
commitf6f8b3a845fe4593605a386bcb40d055e0bdda17 (patch)
treefd3d11b728d91bd660f9c3f35d42fd8832be7705
parent9047ee984e447c28e181487e98094257fda5c25c (diff)
downloadandroid_packages_apps_PhoneCommon-f6f8b3a845fe4593605a386bcb40d055e0bdda17.zip
android_packages_apps_PhoneCommon-f6f8b3a845fe4593605a386bcb40d055e0bdda17.tar.gz
android_packages_apps_PhoneCommon-f6f8b3a845fe4593605a386bcb40d055e0bdda17.tar.bz2
[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
-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,