Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc788f70 authored by Flavio Lerda's avatar Flavio Lerda Committed by Android (Google) Code Review
Browse files

Merge "Do not mark as read if it already is."

parents f9e225e9 7b9db07d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -294,7 +294,8 @@ public class CallDetailActivity extends Activity implements ProximitySensorAware
            public Void doInBackground(Void... params) {
                ContentValues values = new ContentValues();
                values.put(Voicemails.IS_READ, true);
                getContentResolver().update(voicemailUri, values, null, null);
                getContentResolver().update(voicemailUri, values,
                        Voicemails.IS_READ + " = 0", null);
                return null;
            }
        });