Add a double-check for null SurfaceHolder

git-svn-id: http://zxing.googlecode.com/svn/trunk@2258 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Slightly increase max preview size, preclude very small preview sizes unless no other choice, properly favor large preview sizes in general and correctly prioritize on aspect ratio in all cases

git-svn-id: http://zxing.googlecode.com/svn/trunk@2259 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Let callers specify more extras to IntentIntegrator. Use it in test app, so we can use it in all cases, and avoid ActivityNotFoundException

git-svn-id: http://zxing.googlecode.com/svn/trunk@2260 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Double-check to avoid exception clicking on stale item

git-svn-id: http://zxing.googlecode.com/svn/trunk@2261 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Avoid NPE on null action

git-svn-id: http://zxing.googlecode.com/svn/trunk@2262 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Avoid NPE in case of strange query failure for bookmarks; log it and quit

git-svn-id: http://zxing.googlecode.com/svn/trunk@2263 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Avoid NPE is options menu gets called before onResume (?)

git-svn-id: http://zxing.googlecode.com/svn/trunk@2264 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Maybe avoid a string index out of bounds exception here?

git-svn-id: http://zxing.googlecode.com/svn/trunk@2265 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Don't crash on unsupported barcode format like CODE_93

git-svn-id: http://zxing.googlecode.com/svn/trunk@2266 59b500cc-1b3d-0410-9834-0bbf25fbcc57
More reliable method for reading vCard, may avoid OOME in weird stream behavior case

git-svn-id: http://zxing.googlecode.com/svn/trunk@2267 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Don't fail on bad network type input. Log it.

git-svn-id: http://zxing.googlecode.com/svn/trunk@2268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Check for bad dimension every time to produce more meaningful error

git-svn-id: http://zxing.googlecode.com/svn/trunk@2269 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Issue 1254 guess at what may be an NPE in here

git-svn-id: http://zxing.googlecode.com/svn/trunk@2270 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Issue 1256 Avoid crash clearing Empty message

git-svn-id: http://zxing.googlecode.com/svn/trunk@2271 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Avoid another possible NPE. Adjust obfuscation to produce less ambiguous mappings

git-svn-id: http://zxing.googlecode.com/svn/trunk@2272 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Look out for early preview frame before complete configuration

git-svn-id: http://zxing.googlecode.com/svn/trunk@2273 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Another protection against early view calls before camera init (issue 1254)

git-svn-id: http://zxing.googlecode.com/svn/trunk@2274 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Back-port more proper PDF417 R-S error correction

git-svn-id: http://zxing.googlecode.com/svn/trunk@2275 59b500cc-1b3d-0410-9834-0bbf25fbcc57
These state-sensitive methods ought to be synchronized, at least to ensure memory is written back immediately

git-svn-id: http://zxing.googlecode.com/svn/trunk@2276 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Hunting an AIOOBE here -- clarified some code a little bit but still not seeing the issue

git-svn-id: http://zxing.googlecode.com/svn/trunk@2277 59b500cc-1b3d-0410-9834-0bbf25fbcc57