summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/SelectedImageGetter.java
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2009-06-29 17:30:24 -0700
committerOwen Lin <owenlin@google.com>2009-06-30 14:00:37 -0700
commit387833adb5ea8ff6be37a5582ef965da839668bd (patch)
tree0b00d427dc8e6a726307d87c82e13bd72c9cc690 /src/com/android/camera/SelectedImageGetter.java
parent3283e049aa080c375457de46bbf180a88899228a (diff)
downloadpackages_apps_LegacyCamera-387833adb5ea8ff6be37a5582ef965da839668bd.zip
packages_apps_LegacyCamera-387833adb5ea8ff6be37a5582ef965da839668bd.tar.gz
packages_apps_LegacyCamera-387833adb5ea8ff6be37a5582ef965da839668bd.tar.bz2
Fix bug 1949582. If this is the last image to be deleted,
the mCurrentPosition will be -1 and getImageAt() will return null and thus cause a NPE. If the image list is empty just return null is enough.
Diffstat (limited to 'src/com/android/camera/SelectedImageGetter.java')
0 files changed, 0 insertions, 0 deletions