summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/voicemail/listui/NewVoicemailFragment.java
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2018-05-21 14:44:52 -0700
committerCopybara-Service <copybara-piper@google.com>2018-05-21 16:24:23 -0700
commitb780cb914e8ae07da39e771539c73bc915ac2e7c (patch)
tree938562efaa620c9400247f9f1d703c1408b060ce /java/com/android/dialer/voicemail/listui/NewVoicemailFragment.java
parent00d7edeabd1100fa0a9ce6090df0402e771a735f (diff)
Ignore dialer OMTP VVM error if VVM is disabled
The status will be stale. TEST=TAP Bug: 78831353 Test: TAP PiperOrigin-RevId: 197462056 Change-Id: Iaeeae9007f6b5ad8319889a860fdcce782be8a0d
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/NewVoicemailFragment.java')
-rw-r--r--java/com/android/dialer/voicemail/listui/NewVoicemailFragment.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/com/android/dialer/voicemail/listui/NewVoicemailFragment.java b/java/com/android/dialer/voicemail/listui/NewVoicemailFragment.java
index b2052c61e..243dc6a86 100644
--- a/java/com/android/dialer/voicemail/listui/NewVoicemailFragment.java
+++ b/java/com/android/dialer/voicemail/listui/NewVoicemailFragment.java
@@ -280,7 +280,9 @@ public final class NewVoicemailFragment extends Fragment implements LoaderCallba
while (cursor.moveToNext()) {
VoicemailStatus status = new VoicemailStatus(context, cursor);
- if (status.isActive()) {
+ if (status.isActive(context)) {
+ LogUtil.i(
+ "NewVoicemailFragment.queryVoicemailStatus", "inactive source ignored");
statuses.add(status);
// TODO(a bug): Handle Service State Listeners
}