summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraErrorCallback.java
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Handle CAMERA_ERROR_SERVER_DIED message gracefully.Sai Kumar Sanagavarapu2015-03-201-1/+10
| | | | | | | | | Handle CAMERA_ERROR_SERVER_DIED message from lower layers by finishing the activity and there by closing camera session and app gracefully. In all other error cases, raise exception and kill app as exists already. 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