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:58b07718174f5fd713ed5e2994a79294d8b5aa73 Merged-In: Id8044c7518f51569128f890833ba3beef929bb9a Change-Id: Id8044c7518f51569128f890833ba3beef929bb9a