refresh on any key change by default

This commit is contained in:
Vincent Breitmoser
2018-07-02 13:25:18 +02:00
parent f3c4b15b17
commit a31c35a4ad
2 changed files with 7 additions and 1 deletions

View File

@@ -43,6 +43,10 @@ public class DatabaseNotifyManager {
contentResolver.notifyChange(uri, null);
}
public static Uri getNotifyUriAllKeys() {
return BASE_URI;
}
public static Uri getNotifyUriMasterKeyId(long masterKeyId) {
return BASE_URI.buildUpon().appendPath(Long.toString(masterKeyId)).build();
}