summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-10-27 17:21:27 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-27 17:21:27 +0000
commit4499718cc171a6c79e03fc53e139efaf4d8ba6f8 (patch)
treec830e73232470fc7498ffe3853c0428274e2194f /java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java
parentf60c5384f34660ae03ae3c15183980dfb8219ba9 (diff)
parent5d8ed9309625302dee3407b320a52f2b7f30227f (diff)
Merge changes I6e17c1cc,If00f7e91,Ia89d5d85
* changes: Fix HOLD option not displayed in voice calls in CDMA + GSM. Use string concatenation for CREATE_TABLE_SQL instead of StringBuilder() Move the functionality of DialerUtils#getDefaultSharedPreferenceForDeviceProtectedStorageContext(Context) to StorageComponent.
Diffstat (limited to 'java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java')
-rw-r--r--java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java b/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java
index 0a6f2c156..3ce837b8c 100644
--- a/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java
+++ b/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java
@@ -33,7 +33,7 @@ import com.android.dialer.common.Assert;
import com.android.dialer.common.LogUtil;
import com.android.dialer.common.PerAccountSharedPreferences;
import com.android.dialer.compat.telephony.TelephonyManagerCompat;
-import com.android.dialer.util.DialerUtils;
+import com.android.dialer.storage.StorageComponent;
import com.android.voicemail.VoicemailClient;
import com.android.voicemail.VoicemailComponent;
@@ -140,8 +140,6 @@ public class LegacyVoicemailNotificationReceiver extends BroadcastReceiver {
static PerAccountSharedPreferences getSharedPreferences(
Context context, PhoneAccountHandle phoneAccountHandle) {
return new PerAccountSharedPreferences(
- context,
- phoneAccountHandle,
- DialerUtils.getDefaultSharedPreferenceForDeviceProtectedStorageContext(context));
+ context, phoneAccountHandle, StorageComponent.get(context).unencryptedSharedPrefs());
}
}