[Replicant] [PATCH 8/9] Revert "Change lookup request's origin to INCOMING_SMS"

belgin belginstirbu at hotmail.com
Mon Nov 23 23:47:07 UTC 2020


This reverts commit 252ac72f1007c7742392eb34c6e2278321674898.
---
 src/com/cyanogenmod/messaging/lookup/LookupProviderManager.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/com/cyanogenmod/messaging/lookup/LookupProviderManager.java b/src/com/cyanogenmod/messaging/lookup/LookupProviderManager.java
index 8649b6a..b59ff04 100644
--- a/src/com/cyanogenmod/messaging/lookup/LookupProviderManager.java
+++ b/src/com/cyanogenmod/messaging/lookup/LookupProviderManager.java
@@ -249,9 +249,7 @@ public class LookupProviderManager implements Application.ActivityLifecycleCallb
         }
 
         if (mIsPhoneNumberLookupInitialized) {
-            // always map request origin to INCOMING_SMS whilst the CallerInfoApi is in flux
-            LookupRequest request = new LookupRequest(phoneNumber, this,
-                    LookupRequest.RequestOrigin.INCOMING_SMS);
+            LookupRequest request = new LookupRequest(phoneNumber, this);
             // [TODO][MSB]: Could pass up the return of this
             mLookupHandlerThread.fetchInfoForPhoneNumber(request);
         }
-- 
2.11.0



More information about the Replicant mailing list