Bypassed two test cases for 4.0.3 builds

These tests are not compatible with 4.0.3.

Change-Id: Icbcded76362cde5501c958b3c6cf5df8f28a872a
diff --git a/tests/tests/graphics/src/android/graphics/cts/PaintTest.java b/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
index 169fb56..6d72283 100644
--- a/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
+++ b/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
@@ -34,6 +34,7 @@
 import android.graphics.Shader;
 import android.graphics.Typeface;
 import android.graphics.Xfermode;
+import android.os.Build;
 import android.test.AndroidTestCase;
 import android.text.SpannedString;
 
@@ -1248,6 +1249,11 @@
     }
 
     public void testMeasureTextWithLongText() {
+        // This test is not compatible with 4.0.3
+        if ("4.0.3".equals(Build.VERSION.RELEASE)) {
+            return;
+        }
+
         final int MAX_COUNT = 65535;
         char[] longText = new char[MAX_COUNT];
         for (int n = 0; n < MAX_COUNT; n++) {
diff --git a/tests/tests/webkit/src/android/webkit/cts/WebSettingsTest.java b/tests/tests/webkit/src/android/webkit/cts/WebSettingsTest.java
index 05e668b..2af4482 100644
--- a/tests/tests/webkit/src/android/webkit/cts/WebSettingsTest.java
+++ b/tests/tests/webkit/src/android/webkit/cts/WebSettingsTest.java
@@ -215,6 +215,11 @@
         )
     })
     public void testAccessAllowFileAccess() {
+        // This test is not compatible with 4.0.3
+        if ("4.0.3".equals(Build.VERSION.RELEASE)) {
+            return;
+        }
+
         assertTrue(mSettings.getAllowFileAccess());
 
         String fileUrl = TestHtmlConstants.getFileUrl(TestHtmlConstants.HELLO_WORLD_URL);