summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoModule.java
diff options
context:
space:
mode:
authorValerio Pilo <vpilo@coldshock.net>2017-05-17 11:15:04 +0200
committerArne Coucheron <arco68@gmail.com>2017-05-29 22:13:35 +0000
commit26d9aecb6f444e2d5d0543b238de78a13fc87558 (patch)
tree30ded051c30e987dcaf8a4d0746c1cb7f999fc93 /src/com/android/camera/VideoModule.java
parent48e6c6d48e050255e49110cf49b549c3f2b406f2 (diff)
downloadandroid_packages_apps_Snap-26d9aecb6f444e2d5d0543b238de78a13fc87558.tar.gz
android_packages_apps_Snap-26d9aecb6f444e2d5d0543b238de78a13fc87558.tar.bz2
android_packages_apps_Snap-26d9aecb6f444e2d5d0543b238de78a13fc87558.zip
Fixed camera crash on exit
This is just a copy of a fix already done long time ago (commit c3d5c2c5) only for videos, now also for photos. Original description follows: CameraNext: don't call Glide to load image after Camera exits There is a race condition where the filmstrip can still be trying to load a new image just as the camera exit, and Glide gets upset if it is handed a destroyed activity context to work with. So just check for that condition and go home. Change-Id: If7f2b2e4d23189d3c6876d47d5f2046d9e02c7b0
Diffstat (limited to 'src/com/android/camera/VideoModule.java')
0 files changed, 0 insertions, 0 deletions