summaryrefslogtreecommitdiff
path: root/runtime/hidden_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/hidden_api.h')
-rw-r--r--runtime/hidden_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/hidden_api.h b/runtime/hidden_api.h
index d2a6cdcbd3..7d7bd75fc4 100644
--- a/runtime/hidden_api.h
+++ b/runtime/hidden_api.h
@@ -266,7 +266,7 @@ inline ArtMethod* GetInterfaceMemberIfProxy(ArtMethod* method)
ALWAYS_INLINE inline uint32_t CreateRuntimeFlags_Impl(uint32_t dex_flags) {
uint32_t runtime_flags = 0u;
- ApiList api_list(dex_flags);
+ ApiList api_list = ApiList::FromDexFlags(dex_flags);
DCHECK(api_list.IsValid());
if (api_list.Contains(ApiList::Sdk())) {