OSDN Git Service

Use contentObserver to refresh the data when dirty.
authorztenghui <ztenghui@google.com>
Thu, 5 Sep 2013 22:47:58 +0000 (15:47 -0700)
committerztenghui <ztenghui@google.com>
Thu, 19 Sep 2013 18:12:50 +0000 (11:12 -0700)
commit064d6000933354f7bf344a41e0caa7052401c903
treef442349e15a415ad0af271960391175b1f5100d2
parenta5682ab08e1d42fe272ec877929478b4adb769f5
Use contentObserver to refresh the data when dirty.

Handle another setDataSource exception.
Remove the old work around for refreshing after editing.

bug:10390298

Change-Id: I8777364b96c86eeaf5581a96163aab823cd4b438
src/com/android/camera/CameraActivity.java
src/com/android/camera/data/LocalMediaData.java
src/com/android/camera/data/LocalMediaObserver.java [new file with mode: 0644]