Allow test 178 to pass for --no-image.

Just avoid checking that the app image is loaded.

Test: testrunner.py --host --no-image -t 178
Bug: 112189621
Change-Id: Ic7315ba273306e78316da466ce5af4a31af1dbec
diff --git a/test/178-app-image-native-method/src/Main.java b/test/178-app-image-native-method/src/Main.java
index d63d112..0a82abb 100644
--- a/test/178-app-image-native-method/src/Main.java
+++ b/test/178-app-image-native-method/src/Main.java
@@ -22,9 +22,6 @@
   public static void main(String[] args) throws Exception {
     System.loadLibrary(args[0]);
 
-    if (!checkAppImageLoaded()) {
-      System.out.println("AppImage not loaded.");
-    }
     // To avoid going through resolution trampoline, make test classes visibly initialized.
     new Test();
     new TestFast();
@@ -157,7 +154,6 @@
     }
   }
 
-  public static native boolean checkAppImageLoaded();
   public static native void makeVisiblyInitialized();
 }