Add rowBytes=0 handling Fixes: 513648011 Test: android.security.cts.BitmapTest#test_513648011 Flag: EXEMPT BUGFIX Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:67ef036b9060552258b8caaf8e49c85f48da5db1 Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:27d853381628772829e1a4fa68ac6507431d6eb6 Merged-In: Id8044c7518f51569128f890833ba3beef929bb9a Change-Id: Id8044c7518f51569128f890833ba3beef929bb9a