From 725c2514c529e4542eeeca30fccf8eb7ad407dc1 Mon Sep 17 00:00:00 2001 From: twyen Date: Tue, 14 Nov 2017 18:55:46 -0800 Subject: Notify content URI when preferred SIM is updated Test: PreferredSimFallBackProviderTest PiperOrigin-RevId: 175769540 Change-Id: Ie4e33f32ae9e99da92baa9906a3576df31b1b0a3 --- .../android/dialer/preferredsim/impl/PreferredSimFallbackProvider.java | 1 + 1 file changed, 1 insertion(+) (limited to 'java') diff --git a/java/com/android/dialer/preferredsim/impl/PreferredSimFallbackProvider.java b/java/com/android/dialer/preferredsim/impl/PreferredSimFallbackProvider.java index 322baa2ef..1b10765a5 100644 --- a/java/com/android/dialer/preferredsim/impl/PreferredSimFallbackProvider.java +++ b/java/com/android/dialer/preferredsim/impl/PreferredSimFallbackProvider.java @@ -131,6 +131,7 @@ public class PreferredSimFallbackProvider extends ContentProvider { == -1) { throw new IllegalStateException("update failed"); } + getContext().getContentResolver().notifyChange(PreferredSimFallbackContract.CONTENT_URI, null); return 1; } -- cgit v1.2.3