Skip to content

Conversation

@jp1017
Copy link

@jp1017 jp1017 commented Apr 14, 2016

No description provided.

cmzy added 30 commits January 22, 2016 11:51
…中使用统一的ReplaceCallingPackageHookedMethodHandler替换callingPackage

1、Hook IServiceConnection的connect函数,为了解决插件中的ServiceConnect.onServiceConnected回调的时候传回的ComponentName为代理服务的问题。
2、IActivityManagerHookHandle中使用统一的ReplaceCallingPackageHookedMethodHandler替换callingPackage参数。防止漏换的问题。
…idPlugin/issues/122

如果插件中有两个Service:ServiceA和ServiceB,在bind ServiceA的时候会调用ServiceA的onBind并返回其IBinder对象,但是再次bind ServiceA的时候还是会返回ServiceA的IBinder对象,这是因为插件系统对多个Service使用了同一个StubService来代理,而系统对StubService的IBinder做了缓存的问题。这里设置一个Action则会穿透这种缓存。
1、在64位手机上运行:在宿主apk的lib中,如果没有so,则宿主运行在64位进程中。
2、在64位手机上运行:在宿主apk的lib中,如果有so,但没有64位ABI的so,则宿主运行在32位进程中。
3、在32位手机上运行:在宿主apk的lib中,如果有so,但有64位ABI的so,则宿主运行在64位进程中。
所以:在宿主程序运行在64位进程中的时候,默认插件只能加载64位的so;在宿主程序运行在32位进程中的时候,插件只是加载32位的so。

目前,插件so的abi必须与宿主一致,即,宿主64位,插件必须64位;宿主32位,插件必须32位。否则插件是无法加载对应的so的。
CYRUS-STUDIO and others added 30 commits January 7, 2017 16:47
简化集成流程,更新中英文文档
fix typo (doirplugin -> droidplugin)
fix grammatical mistake
通过源码分析是因为7.0的手机在startInputOrWindowGainedFocus方法中检查uid, 还没到startInput这一步.
修复7.0以上的手机插件输入框无法输入文字的bug
android7.0的pm适配,8.0的am适配,以及连接服务
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.