summaryrefslogtreecommitdiffstats
path: root/src/com/thundersoft/hz
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2015-07-08 16:00:37 -0700
committerRaj Yengisetty <rajesh@cyngn.com>2015-07-08 16:00:40 -0700
commit9abe70951b1cc559f82bbf803a1f4893105c27c9 (patch)
treec6491c45d9fbdb2c79c26a0c09ba54f47d2c9529 /src/com/thundersoft/hz
parent7a90da166119c940c583dc86d61c135d669bf570 (diff)
downloadandroid_packages_apps_Gallery2-9abe70951b1cc559f82bbf803a1f4893105c27c9.tar.gz
android_packages_apps_Gallery2-9abe70951b1cc559f82bbf803a1f4893105c27c9.tar.bz2
android_packages_apps_Gallery2-9abe70951b1cc559f82bbf803a1f4893105c27c9.zip
Photo Gallery widget: fix NPE in getViewAt
Repro: - Add Photo Gallery widget to a home screen - Select "Shuffle all images" - Immediately drag widget to "Remove" - Observe NPE The remote view is destroyed and the reference to mSource is null. By making onDestroy and getViewAt synchronized methods, we ensure that destroy cannot be executed to null out mSource while getViewAt is being called. Change-Id: I470f9f6227f437039cf111071c905268db1bd62e
Diffstat (limited to 'src/com/thundersoft/hz')
0 files changed, 0 insertions, 0 deletions