Skip to content

Commit

Permalink
[atlas-core] api level fit
Browse files Browse the repository at this point in the history
  • Loading branch information
buptlingfeng committed Apr 20, 2017
1 parent 447275c commit 8d320fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public static void allMethods() throws HackAssertionException {
PackageParser$Component_getComponentName = PackageParser$Component.method("getComponentName");
ClassLoader_findLibrary = ClassLoader.method("findLibrary", String.class);
ContextImpl_setOuterContext = ContextImpl.method("setOuterContext",Context.class);
if(Build.VERSION.SDK_INT>=21){
if(Build.VERSION.SDK_INT>=19){
ContextImpl_createAppContext = ContextImpl.method("createAppContext",ActivityThread.getmClass(),LoadedApk.getmClass());
}else{
ContextImpl_init = ContextImpl.method("init",LoadedApk.getmClass(), IBinder.class,ActivityThread.getmClass());
Expand Down

0 comments on commit 8d320fe

Please sign in to comment.