diff options
author | LuK1337 <priv.luk@gmail.com> | 2021-02-03 14:26:53 +0100 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2021-10-18 14:33:47 +0200 |
commit | 98033730da5ba29c294540b376d44b35337f3ce6 (patch) | |
tree | d3235ce6fa23152581055d0d60ca2cba64b3014b /java/com/android/dialer/calldetails/CallDetailsActivityCommon.java | |
parent | 4b4f5119bf3b6609e3c3f5bf73078571bb85d299 (diff) |
Dialer: Notify content observers upon call log entry deletion
* This change makes call log refresh its data after deleting an entry.
Change-Id: Iaa8a559cd02853be05b69cd2daca1e321679369e
Diffstat (limited to 'java/com/android/dialer/calldetails/CallDetailsActivityCommon.java')
-rw-r--r-- | java/com/android/dialer/calldetails/CallDetailsActivityCommon.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java b/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java index 79e761368..808d08cda 100644 --- a/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java +++ b/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java @@ -277,6 +277,9 @@ abstract class CallDetailsActivityCommon extends AppCompatActivity { context .getContentResolver() .delete(Calls.CONTENT_URI, selection.getSelection(), selection.getSelectionArgs()); + context + .getContentResolver() + .notifyChange(Calls.CONTENT_URI, null); return null; } |