Camera2: minior fix for testJpegExif

Update the thumbnail quality factor from 95 to 100, and add the check for
thumbnail availability when thumbnail size is non-zero.

Change-Id: I3609bab9157cadbac77654939d303f239200e09a
diff --git a/tests/tests/hardware/src/android/hardware/camera2/cts/StillCaptureTest.java b/tests/tests/hardware/src/android/hardware/camera2/cts/StillCaptureTest.java
index 8e3ca63..5484328 100644
--- a/tests/tests/hardware/src/android/hardware/camera2/cts/StillCaptureTest.java
+++ b/tests/tests/hardware/src/android/hardware/camera2/cts/StillCaptureTest.java
@@ -83,7 +83,7 @@
                     /* timestamp */1199145602L,
                     /* orientation */270,
                     /* jpgQuality */(byte) 100,
-                    /* thumbQuality */(byte) 95)
+                    /* thumbQuality */(byte) 100)
     };
 
     // Some exif tags that are not defined by ExifInterface but supported.
@@ -654,6 +654,10 @@
                 mCollector.expectTrue(
                         "Jpeg shouldn't have thumbnail when thumbnail size is (0, 0)",
                         !exif.hasThumbnail());
+            } else {
+                mCollector.expectTrue(
+                        "Jpeg must have thumbnail for thumbnail size " + testThumbnailSizes[i],
+                        exif.hasThumbnail());
             }
 
             // Validate capture result vs. request