Fix IsDexFileRegistered to call IsDexFileRegisteredLocked
Change-Id: Ib6c5b01e5fc649e06070cfee3d7d7d91efcf32b0
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 6dc44d1..82f42c4 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -1288,7 +1288,7 @@
bool ClassLinker::IsDexFileRegistered(const DexFile& dex_file) const {
MutexLock mu(lock_);
- return IsDexFileRegistered(dex_file);
+ return IsDexFileRegisteredLocked(dex_file);
}
void ClassLinker::RegisterDexFileLocked(const DexFile& dex_file, DexCache* dex_cache) {