DivestOS/Patches/LineageOS-11.0/android_packages_apps_InCallUI/0001-Remove_Analytics.patch

37 lines
1.3 KiB
Diff
Raw Normal View History

From ff9c00d3b29dfd10b3332625ebed85a46f56bac6 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Tue, 18 Dec 2018 23:28:32 -0500
Subject: [PATCH] Remove CMStats
Change-Id: I5439906a93869efae9d294d3197e4ada80a0c248
---
src/com/android/incallui/ContactInfoCache.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/com/android/incallui/ContactInfoCache.java b/src/com/android/incallui/ContactInfoCache.java
index bccc7fc..4bbf8fa 100644
--- a/src/com/android/incallui/ContactInfoCache.java
+++ b/src/com/android/incallui/ContactInfoCache.java
@@ -29,7 +29,6 @@ import android.telephony.PhoneNumberUtils;
import android.text.TextUtils;
import com.android.dialer.calllog.ContactInfo;
-import com.android.dialer.cmstats.DialerStats;
import com.android.dialer.lookup.ReverseLookupThread;
import com.android.incallui.service.PhoneNumberService;
import com.android.incalluibind.ServiceFactory;
@@ -350,10 +349,6 @@ public class ContactInfoCache implements ContactsAsyncHelper.OnImageLoadComplete
entry.photo = null;
}
- DialerStats.sendEvent(mContext,
- DialerStats.Categories.INCALL_CONTACT_IMAGE,
- entry.photo != null ? "incall_image_found" : "incall_image_not_found");
-
sendImageNotifications(callId, entry);
clearCallbacks(callId);
}
--
1.8.3.1