Skip to content

Commit

Permalink
Style(IActivityManagerHook): IActivityManagerHook format
Browse files Browse the repository at this point in the history
  • Loading branch information
cmzy committed Mar 11, 2016
1 parent 8fb1f8a commit 600849b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void onInstall(ClassLoader classLoader) throws Throwable {
setOldObj(obj1);
List<Class<?>> interfaces = Utils.getAllInterfaces(mOldObj.getClass());
Class[] ifs = interfaces != null && interfaces.size() > 0 ? interfaces.toArray(new Class[interfaces.size()]) : new Class[0];
final Object object = MyProxy.newProxyInstance(mOldObj.getClass().getClassLoader(),ifs, IActivityManagerHook.this);
final Object object = MyProxy.newProxyInstance(mOldObj.getClass().getClassLoader(), ifs, IActivityManagerHook.this);
Object iam1 = ActivityManagerNativeCompat.getDefault();

//这里先写一次,防止后面找不到Singleton类导致的挂钩子失败的问题。
Expand Down

0 comments on commit 600849b

Please sign in to comment.