Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
tracytheron committed Oct 27, 2015
1 parent 4d5e420 commit 563738c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/main/java/com/orm/util/ReflectionUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ private static SharedPreferences getMultiDexPreferences(Context context) {
private static List<String> getAllClasses(Context context) throws PackageManager.NameNotFoundException, IOException {
List<String> paths = getSourcePaths(context);
List<String> classNames = new ArrayList<>();
DexFile dexfile = null;
try {
for (int i = 0; i <paths.size(); i++){
String path = paths.get(i);
DexFile dexfile = null;
if (path.endsWith(EXTRACTED_SUFFIX)) {
//NOT use new DexFile(path) here, because it will throw "permission error in /data/dalvik-cache"
dexfile = DexFile.loadDex(path, path + ".tmp", 0);
Expand Down

0 comments on commit 563738c

Please sign in to comment.