Disable kAppImageMayContainStrings

Disabled until UpdateInternStrings is fixed.

Bug: 117846779
Test: test-art-host-gtest
Change-Id: I78129616ebdba09a695c09967a34395e0d6f4a85
diff --git a/dex2oat/dex2oat_test.cc b/dex2oat/dex2oat_test.cc
index 91b231b..b945b2a 100644
--- a/dex2oat/dex2oat_test.cc
+++ b/dex2oat/dex2oat_test.cc
@@ -2084,6 +2084,9 @@
 }
 
 TEST_F(Dex2oatTest, AppImageResolveStrings) {
+  if (!ClassLinker::kAppImageMayContainStrings) {
+    TEST_DISABLED();
+  }
   using Hotness = ProfileCompilationInfo::MethodHotness;
   // Create a profile with the startup method marked.
   ScratchFile profile_file;