When the device has no rear camera switching to panorama mode causes the application crash (as it tries to open the camera with id -1). Change-Id: I56167bce1f0220060ee293023a65f14b7569cdc7
Control knobs are hard to use. It's hard to get to a specific setting and you don't know the list of setting without going through it. Pop-up settings allow you to see every setting with easy overview and selection. Additionally, it allows more text to be displayed, fixing the display problem of storage setting. Change-Id: I22e9a5b9f49741c734e7403e0f091175ff94be0b
This reverts commit c1ae614.
The OMAP3 HAL (at least) stops the preview while taking a snapshot, without generating events to the upper layers, and telling it to stop again leads to an inconsistent state. Use "previewStopsDuringSnapshot" to avoid sending a stop while it is already stopped Change-Id: I4d4fe501c0dd6dd9aefb7d35f0e9dc6887e15162
Reseting the camera settings to default values results in a gets -1 index when try to parse current default value ("Off") to a index value, causing a ArrayIndexOfBounds. "Off" string and his value "1" are not sinchronized. This changes adds a default value of 1 for the setting, instead of use the string value. Also prevents a call of reloadPreference method of InLineSettingRestore items, because this kind of setting doesn't have a real setting preference (causing a NPE) Remove an unnecessary code for set default index value to 4, that causes that when the Camera is initialized the saved value of the preference is changed with the default value. Now the preference has a default value if no user setting was set. Change-Id: If5d48654a02991df8d788fb1d03a073e709df921
Some HTC devices require the cam-mode parameter set for the video camera to function properly. This adds a "needsHTCCamMode" setting alongside the existing "needsSamsungCamMode" setting. Change-Id: I11ebd5eb1f3cc305912ce7ff195dd57070870c13