Fix bug #6305010 PaintTest broken for setTextSize()

- update the CTS test to reflect the change in Skia for accepting "0" as a text size

(see: https://android-git.corp.google.com/g/#/c/156795/)

Change-Id: I8fe871a92469b55630477953cf15a843a24039f7
diff --git a/tests/tests/graphics/src/android/graphics/cts/PaintTest.java b/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
index 3166322..ed30578 100644
--- a/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
+++ b/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
@@ -457,14 +457,13 @@
         p.setTextSize(2.0f);
         assertEquals(2.0f, p.getTextSize());
 
-       // text size should be greater than 0, so set 0 has no effect
-       p.setTextSize(0.0f);
-       assertEquals(2.0f, p.getTextSize());
+        // text size should be greater than 0, so set -1 has no effect
+        p.setTextSize(-1.0f);
+        assertEquals(2.0f, p.getTextSize());
 
-       // text size should be greater than 0, so set -1 has no effect
-       p.setTextSize(-1.0f);
-       assertEquals(2.0f, p.getTextSize());
-
+        // text size should be greater than or equals to 0
+        p.setTextSize(0.0f);
+        assertEquals(0.0f, p.getTextSize());
     }
 
     public void testGetTextWidths() throws Exception {