summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-09-08 13:38:28 -0700
committerYorke Lee <yorkelee@google.com>2014-09-08 13:38:33 -0700
commit03610993bf2adf12a6962c32851095551ffd0043 (patch)
treef82eb3da887895a34fcc646422b9964a4e85fc5a /src
parentae274c05cdb6707ca9593bedf20c016cd8164c0b (diff)
downloadandroid_packages_apps_Dialer-03610993bf2adf12a6962c32851095551ffd0043.tar.gz
android_packages_apps_Dialer-03610993bf2adf12a6962c32851095551ffd0043.tar.bz2
android_packages_apps_Dialer-03610993bf2adf12a6962c32851095551ffd0043.zip
Replace Calls.FEATURES_NONE with 0 (2/4)
Bug: 17253963 Change-Id: I9e9e56cdf4c9a60ac1e047bef0eba2ba0c8f10fb
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/PhoneCallDetails.java3
-rw-r--r--src/com/android/dialer/calllog/CallLogAdapter.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/dialer/PhoneCallDetails.java b/src/com/android/dialer/PhoneCallDetails.java
index f6f9edace..ba049a2d7 100644
--- a/src/com/android/dialer/PhoneCallDetails.java
+++ b/src/com/android/dialer/PhoneCallDetails.java
@@ -96,8 +96,7 @@ public class PhoneCallDetails {
CharSequence formattedNumber, String countryIso, String geocode,
int[] callTypes, long date, long duration) {
this (number, numberPresentation, formattedNumber, countryIso, geocode,
- callTypes, date, duration, "", 0, "", null, null, 0, null, null, Calls.FEATURES_NONE,
- null, null);
+ callTypes, date, duration, "", 0, "", null, null, 0, null, null, 0, null, null);
}
/** Create the details for a call with a number not associated with a contact. */
diff --git a/src/com/android/dialer/calllog/CallLogAdapter.java b/src/com/android/dialer/calllog/CallLogAdapter.java
index 23d053de8..921a1c4e8 100644
--- a/src/com/android/dialer/calllog/CallLogAdapter.java
+++ b/src/com/android/dialer/calllog/CallLogAdapter.java
@@ -1190,7 +1190,7 @@ public class CallLogAdapter extends GroupingListAdapter
* @return The features.
*/
private int getCallFeatures(Cursor cursor, int count) {
- int features = Calls.FEATURES_NONE;
+ int features = 0;
int position = cursor.getPosition();
for (int index = 0; index < count; ++index) {
features |= cursor.getInt(CallLogQuery.FEATURES);