From 2a5e936116cd6adcc4a461091e101b3704d4e6c0 Mon Sep 17 00:00:00 2001 From: Chao Zhang Date: Mon, 11 Apr 2016 19:32:14 +0800 Subject: Gallery2: fix photo widget has not sync after delete the photo. Use a ContentObserver to observe uri's change. If uri is deleted, show a empty view in widght. Change-Id: I11f0632ed96958a74b6aa2cdd9c2f1d88c99e94e CRs-Fixed: 981663 --- res/layout/photo_frame.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'res/layout') diff --git a/res/layout/photo_frame.xml b/res/layout/photo_frame.xml index 63faf539d..ede942f6b 100755 --- a/res/layout/photo_frame.xml +++ b/res/layout/photo_frame.xml @@ -21,6 +21,28 @@ android:paddingBottom="23dp" android:paddingStart="12dp" android:paddingEnd="12dp"> + + + + + + + +