OSDN Git Service

Fall back to bounds if provided width/height is 0
authorAlan Newberger <alann@google.com>
Mon, 11 May 2015 17:10:26 +0000 (10:10 -0700)
committerAlan Newberger <alann@google.com>
Mon, 11 May 2015 18:11:08 +0000 (11:11 -0700)
commitc534c71cee79c91310ad5c43824165cc06e7cbae
tree941a30f8af3e57741daba5b8418af1661045c568
parentedd5f8086326786390a7c74dda3f0a6c9ba933b5
Fall back to bounds if provided width/height is 0

Monkey results show async dimensions can lag behind
automated filmstrip. Protect against this case, should
reduce monkey issues.

Bug: 21023148
Change-Id: I8fef5e8d00f96c4b4c249b3a9daebfcf9991e193
src/com/android/camera/util/CameraUtil.java