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

Commit fcbf9262 authored by Hugo Hudson's avatar Hugo Hudson
Browse files

Simplest attempt at a fix for clear call log bug.

- Clearing the call log currently deletes voicemails from the log
  without removing their attachments (and leaving you no way of later
  deleting those attachments).
- The fix is either to not delete the voicemails when clearing the call
  log, or to delete their files as well.
- I think we should skip deleting voicemails, because having all your
  voicemails deleted is probably more than should be expected from a
  menu item entitled "clear call log".

Bug: 5123101
Change-Id: I665cee1ae94dc9c40826185ae9d01705d407022f
parent c24f1714
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ public class ClearCallLogDialog extends DialogFragment {
                final AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() {
                    @Override
                    protected Void doInBackground(Void... params) {
                        resolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null);
                        resolver.delete(Calls.CONTENT_URI, null, null);
                        return null;
                    }
                    @Override