diff options
Diffstat (limited to 'java/com/android/dialer')
-rw-r--r-- | java/com/android/dialer/app/voicemail/error/VoicemailTosMessageCreator.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/app/voicemail/error/VoicemailTosMessageCreator.java b/java/com/android/dialer/app/voicemail/error/VoicemailTosMessageCreator.java index 427d3eda5..baf7b9989 100644 --- a/java/com/android/dialer/app/voicemail/error/VoicemailTosMessageCreator.java +++ b/java/com/android/dialer/app/voicemail/error/VoicemailTosMessageCreator.java @@ -70,7 +70,8 @@ public class VoicemailTosMessageCreator { this.context = context; this.status = status; this.statusReader = statusReader; - this.preferences = PreferenceManager.getDefaultSharedPreferences(context); + this.preferences = + PreferenceManager.getDefaultSharedPreferences(context.getApplicationContext()); } @Nullable |