Skip to content

Commit

Permalink
Fix the logic that the 2.X and 4.X devices use dexposed so.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jul 28, 2015
1 parent fac4d08 commit adbb184
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,10 @@ public synchronized static boolean canDexposed(Context context) {
private static boolean loadDexposedLib(Context context) {
// load xposed lib for hook.
try {
if (android.os.Build.VERSION.SDK_INT == 10
|| android.os.Build.VERSION.SDK_INT == 9) {
System.loadLibrary("dexposed");
} else if (android.os.Build.VERSION.SDK_INT > 19){
if (android.os.Build.VERSION.SDK_INT > 19){
System.loadLibrary("dexposed_l");
} else {
} else if if (android.os.Build.VERSION.SDK_INT == 10
|| android.os.Build.VERSION.SDK_INT == 9 || android.os.Build.VERSION.SDK_INT > 14){
System.loadLibrary("dexposed");
}
return true;
Expand Down

0 comments on commit adbb184

Please sign in to comment.