summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Waggoner <nwaggoner@cyngn.com>2016-06-13 13:46:45 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-06-14 08:50:55 -0700
commitd7cc36fbdbddb1f737c2d43d7fc7500135ff906c (patch)
tree342dd567d155528ce8a1430eb37f1443de99ce72
parent6f8f504d6cf00b21123b1bb522c9caa063996017 (diff)
downloadpackages_apps_Dialer-d7cc36fbdbddb1f737c2d43d7fc7500135ff906c.tar.gz
packages_apps_Dialer-d7cc36fbdbddb1f737c2d43d7fc7500135ff906c.tar.bz2
packages_apps_Dialer-d7cc36fbdbddb1f737c2d43d7fc7500135ff906c.zip
Makes private the ambient connection check, to stop log spam.
External classes were using this method in places they shouldn't causing a lot of log spam. This should help stop that behavior. NOTES-150 Change-Id: Id29793f3ca2fbe1be02a36b0f0be6a8594afd246
-rw-r--r--src/com/android/dialer/deeplink/DeepLinkIntegrationManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/deeplink/DeepLinkIntegrationManager.java b/src/com/android/dialer/deeplink/DeepLinkIntegrationManager.java
index 803896e79..8d7a6a194 100644
--- a/src/com/android/dialer/deeplink/DeepLinkIntegrationManager.java
+++ b/src/com/android/dialer/deeplink/DeepLinkIntegrationManager.java
@@ -164,7 +164,7 @@ public class DeepLinkIntegrationManager {
* @param ctx context to query against
* @return true if ambient is available, false otherwise.
*/
- public boolean ambientIsAvailable(Context ctx) {
+ private boolean ambientIsAvailable(Context ctx) {
return CyanogenAmbientUtil.isCyanogenAmbientAvailable(ctx) == CyanogenAmbientUtil.SUCCESS;
}