OSDN Git Service

More logs for gallery crash error, remove a potential cause
authorBobby Georgescu <georgescu@google.com>
Sun, 30 Sep 2012 21:09:30 +0000 (14:09 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Mon, 1 Oct 2012 18:17:54 +0000 (11:17 -0700)
commitd87c8624a7ae477a6dea86d63866ade04f8d7e7c
treef7b2aedad758f8c53f8754af5e5b3d9173d1df98
parentf497fdfa1abfea7b4ddabd7850eb528ea1c126ee
More logs for gallery crash error, remove a potential cause

Bug: 7216012
Made sure that FilterDeleteSet doesn't ever return stale
item counts, added extra logging in LocalMergeAlbum for
NoSuchElementException so that we can have more info to
diagnose this crash if it happens in the future.

Change-Id: Ic988522fda4a16bb483db6ad34bc7f81ee098b03
src/com/android/gallery3d/data/FilterDeleteSet.java
src/com/android/gallery3d/data/LocalMergeAlbum.java