Followup fix for testNdkInfo w/o F16 HARDWARE support
Bug: 156882843
Test: This; modify hasFP16Support() locally to emulate lacking support
Follow on to I9fca795f4f7850c83ed1a86ad584c08cac8f9a2f, which changed
the expected format of a HARDWARE Bitmap copied from an F16 Bitmap to
allow it to be 8888. Unfortunately, that change kept the expectation of
8888 the next time through the loop, resulting in expecting creating a
software F16 Bitmap to be 8888.
Use a temporary variable to verify the fallback expectation, so that the
next time through the loop it has the proper expectation.
Change-Id: I039a529b728c33ce256bfbaef13f208c6e48dcb5
1 file changed