summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraErrorCallback.java
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Handle Camera device errors gracefully.Sai Kumar Sanagavarapu2015-03-261-6/+36
| | | | | | | | | | Handle Camera device errors from lower layers gracefully by finishing the activity and there by closing camera session and app. Also, display a toast message signifying the error because of which camera app is being shutdown. Change-Id: I86c4caf174356148bd4725329ea13ec82e944b94
* Camera: Shutdown the camera in case of UNKNOWN_ERROR.Alok Kediya2013-10-311-1/+2
| | | | | | | | | | | | | | Currently the camera application shuts down the camera only in case of SERVER_DIED error. But if the camera driver goes into a bad state, it just sends a UNKNOWN_ERROR. So shutdown the camera even in UNKNOWN_ERROR case. (cherrypicked from commit 432da3d40184abbffc0ca75fa10cb20e76520bdb ) Change-Id: I5d9329538646dad30eacd30b3cfa3bfd6769b600 (cherry picked from commit 14b02e245490c780fca5952a4d5b84f99225c0e6) (cherry picked from commit a1f653ce704efc7110b00e8ee7d56a954be6eb23) (cherry picked from commit 7b6c06353bf26a0a7b3c50ebeb8337d05e471a11)
* Move Camera Java/Native source into Gallery2Michael Kolb2013-01-291-0/+35
Change-Id: I968efe4d656e88a7760d3c0044f65b4adac2ddd1