diff options
author | 2020-04-30 18:53:43 +0100 | |
---|---|---|
committer | 2020-05-05 08:52:20 +0000 | |
commit | 50f89ba3237da01adfdbc65abc330d1c8d5af07e (patch) | |
tree | 98e9d52845a6b7114529628144cd9c51b56904c2 /libartbase/base/file_utils.h | |
parent | 8419b82fa8d46362eb1369ec1876ee2d3c4bc29d (diff) |
Calling @IntraCoreApi from core-icu4j should not cause "Core platform API violation"
Treat I18n APEX as the same domain as ART and Conscrypt APEX.
Remove unused varaiable isJavaDebuggable because it causes the
NoSuchMethodError for an unknown reason:
java.lang.NoSuchMethodError: No virtual method isJavaDebuggable()Z in class Ldalvik/system/VMRuntime; or its super classes (declaration of 'dalvik.system.VMRuntime' appears in /apex/com.android.art/javalib/core-libart.jar)
Bug: 138994281
Test: art/test/run-test --chroot $ART_TEST_CHROOT 674-hiddenapi
Change-Id: Icb7e98b5cd7143c06c05dd4377af0c96ba75bca7
Diffstat (limited to 'libartbase/base/file_utils.h')
-rw-r--r-- | libartbase/base/file_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libartbase/base/file_utils.h b/libartbase/base/file_utils.h index a521c97c58..de60483c69 100644 --- a/libartbase/base/file_utils.h +++ b/libartbase/base/file_utils.h @@ -104,6 +104,9 @@ bool LocationIsOnArtModule(const char* location); // Return whether the location is on /apex/com.android.conscrypt bool LocationIsOnConscryptModule(const char* location); +// Return whether the location is on /apex/com.android.i18n +bool LocationIsOnI18nModule(const char* location); + // Return whether the location is on system (i.e. android root). bool LocationIsOnSystem(const char* location); |