summaryrefslogtreecommitdiff
path: root/java/com/android/voicemail/impl/sync/VoicemailStatusQueryHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/voicemail/impl/sync/VoicemailStatusQueryHelper.java')
-rw-r--r--java/com/android/voicemail/impl/sync/VoicemailStatusQueryHelper.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/java/com/android/voicemail/impl/sync/VoicemailStatusQueryHelper.java b/java/com/android/voicemail/impl/sync/VoicemailStatusQueryHelper.java
index 4ef19daf6..259d79bcc 100644
--- a/java/com/android/voicemail/impl/sync/VoicemailStatusQueryHelper.java
+++ b/java/com/android/voicemail/impl/sync/VoicemailStatusQueryHelper.java
@@ -39,14 +39,14 @@ public class VoicemailStatusQueryHelper {
public static final int NOTIFICATION_CHANNEL_STATE = 2;
public static final int SOURCE_PACKAGE = 3;
- private Context mContext;
- private ContentResolver mContentResolver;
- private Uri mSourceUri;
+ private Context context;
+ private ContentResolver contentResolver;
+ private Uri sourceUri;
public VoicemailStatusQueryHelper(Context context) {
- mContext = context;
- mContentResolver = context.getContentResolver();
- mSourceUri = VoicemailContract.Status.buildSourceUri(mContext.getPackageName());
+ this.context = context;
+ contentResolver = context.getContentResolver();
+ sourceUri = VoicemailContract.Status.buildSourceUri(this.context.getPackageName());
}
/**
@@ -97,8 +97,8 @@ public class VoicemailStatusQueryHelper {
+ "=? AND "
+ Status.SOURCE_PACKAGE
+ "=?";
- String[] whereArgs = {phoneAccountComponentName, phoneAccountId, mContext.getPackageName()};
- cursor = mContentResolver.query(mSourceUri, PROJECTION, whereClause, whereArgs, null);
+ String[] whereArgs = {phoneAccountComponentName, phoneAccountId, context.getPackageName()};
+ cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null);
if (cursor != null && cursor.moveToFirst()) {
return cursor.getInt(columnIndex) == value;
}