diff options
author | Rohit Yengisetty <rohit@cyngn.com> | 2016-05-19 12:13:26 -0700 |
---|---|---|
committer | Rohit Yengisetty <rohit@cyngn.com> | 2016-05-19 12:13:26 -0700 |
commit | 1d98744db06fced5b2c23d5ee173372f90f5a6ab (patch) | |
tree | 996a6560314c8ba445da463657610a3522ec597a | |
parent | ee5aafb90d8ec2cd1d1469fddf6d64a8c0003b12 (diff) | |
download | packages_apps_ContactsCommon-1d98744db06fced5b2c23d5ee173372f90f5a6ab.tar.gz packages_apps_ContactsCommon-1d98744db06fced5b2c23d5ee173372f90f5a6ab.tar.bz2 packages_apps_ContactsCommon-1d98744db06fced5b2c23d5ee173372f90f5a6ab.zip |
Update LookupRequest to use the new ORIGIN codes within AmbientSDK
Change-Id: I02f21d5769271d4918cc084fdc56eaf0fc0df92a
Issue-Id: CYNGNOS-2888
-rw-r--r-- | info_lookup/src/com/cyanogen/lookup/phonenumber/provider/LookupProviderImpl.java | 7 | ||||
-rw-r--r-- | src/com/cyanogen/lookup/phonenumber/request/LookupRequest.java | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/info_lookup/src/com/cyanogen/lookup/phonenumber/provider/LookupProviderImpl.java b/info_lookup/src/com/cyanogen/lookup/phonenumber/provider/LookupProviderImpl.java index 9f671399..c0b00112 100644 --- a/info_lookup/src/com/cyanogen/lookup/phonenumber/provider/LookupProviderImpl.java +++ b/info_lookup/src/com/cyanogen/lookup/phonenumber/provider/LookupProviderImpl.java @@ -168,11 +168,8 @@ public class LookupProviderImpl implements LookupProvider { case OUTGOING_CALL: originCode = com.cyanogen.ambient.callerinfo.extension.LookupRequest.ORIGIN_CODE_OUTGOING_CALL; break; - case INCOMING_SMS: - originCode = com.cyanogen.ambient.callerinfo.extension.LookupRequest.ORIGIN_CODE_INCOMING_SMS; - break; - case OUTGOING_SMS: - originCode = com.cyanogen.ambient.callerinfo.extension.LookupRequest.ORIGIN_CODE_OUTGOING_SMS; + case SMS: + originCode = com.cyanogen.ambient.callerinfo.extension.LookupRequest.ORIGIN_CODE_SMS; break; default: originCode = com.cyanogen.ambient.callerinfo.extension.LookupRequest.ORIGIN_CODE_HISTORY; diff --git a/src/com/cyanogen/lookup/phonenumber/request/LookupRequest.java b/src/com/cyanogen/lookup/phonenumber/request/LookupRequest.java index 33ca5d33..cf466493 100644 --- a/src/com/cyanogen/lookup/phonenumber/request/LookupRequest.java +++ b/src/com/cyanogen/lookup/phonenumber/request/LookupRequest.java @@ -13,8 +13,7 @@ public class LookupRequest { UNSPECIFIED, INCOMING_CALL, OUTGOING_CALL, - INCOMING_SMS, - OUTGOING_SMS, + SMS, OTHER } |