Commit Graph

148 Commits

Author SHA1 Message Date
Andy Zhang 04efc78f8b fix(readme):add faq link 2016-03-30 14:45:50 +08:00
Andy Zhang 3a2236b89f Fix(IMountServiceHookHandle): IO redirect BUG 2016-03-29 17:55:31 +08:00
Andy Zhang 4b3c517cad add readme 2016-03-28 18:49:38 +08:00
Andy Zhang 07adc340a2 readme 2016-03-28 18:38:55 +08:00
Andy Zhang d943ed86f2 Feat(ApiTest): Api Test use AppCompat 2016-03-28 18:09:47 +08:00
Andy Zhang a740ea5451 Fix(fixWindowManagerHook): fix bug IWindowManagerBinderHook@fixWindowManagerHook
https://github.com/Qihoo360/DroidPlugin/issues/144
2016-03-28 18:04:17 +08:00
Andy Zhang c379a4ea0c Fix(findSoPath): sort supported abis 2016-03-28 17:55:12 +08:00
Andy Zhang 924e61cd43 Fix(Notification):fix a crash on android api 23 device.
On android API 23, the icon of notification is Icon class, we fix it.
2016-03-23 15:50:20 +08:00
Andy Zhang 87bdd4c204 Fix(Notification):fix a crash on android api 23 device.
On android API 23, the icon of notification is Icon class, we fix it.
2016-03-23 15:07:55 +08:00
Andy Zhang 33e09ad54b Style(IMountServiceBinder):rename IMountServiceBinder to IMountServiceBinderHook 2016-03-22 11:11:09 +08:00
Andy Zhang c0cb72acb6 Feat(ApiTest Project): Add native Test and WebViewTest 2016-03-16 16:38:21 +08:00
Andy Zhang 57fb2e627c Style(Build):add android.useDeprecatedNdk=true 2016-03-16 16:37:14 +08:00
Andy Zhang 5ebf5d5106 Fix(Process GC): try catch killProcess 2016-03-16 16:35:33 +08:00
Andy Zhang 3d721438e0 Style(PluginApplication):Optimize import 2016-03-16 16:33:48 +08:00
Andy Zhang ee191de1f3 fix(PluginManager): add getContext method 2016-03-11 13:01:49 +08:00
Andy Zhang b301fab0e7 fix(IPluginManagerImpl): bugfix 2016-03-11 13:00:27 +08:00
Andy Zhang 28e4fdac9f fix (IGraphicsStatsBinderHook): IGraphicsStatsBinderHook only for VERSION_CODES.LOLLIPOP_MR1 newer 2016-03-11 12:56:31 +08:00
Andy Zhang b98b6ab029 Fix(WebViewFactoryProviderHook): disable WebViewFactoryProviderHook. fix for https://github.com/Qihoo360/DroidPlugin/issues/137
这个webviewhook在锤子手机上有问题,先disable掉,但是插件无法读取asset中的静态文件了。
2016-03-11 12:55:07 +08:00
Andy Zhang 600849b9ab Style(IActivityManagerHook): IActivityManagerHook format 2016-03-11 12:52:46 +08:00
Andy Zhang 8fb1f8a491 Fix(ContentProvider): fix Base ContextImpl ContentResolver Ops Package and fix Base Context Impl Ops Package 2016-03-11 12:51:50 +08:00
Andy Zhang 0cd2fe874a Feat(PluginProcessManager): dont skip usagestats service 2016-03-11 12:47:48 +08:00
Andy Zhang 97632808f4 Style(Readme):add FAQ 2016-03-07 17:48:22 +08:00
Andy Zhang 5171ab2399 add faq 2016-03-07 17:39:00 +08:00
Andy Zhang c2b7f9d659 Fix(LoadAllPlugin): fix https://github.com/Qihoo360/DroidPlugin/issues/140 2016-03-07 17:32:56 +08:00
Andy Zhang 708df95fcf Fix(PluginCallBack):isShortcutProxyActivity 2016-03-02 13:55:37 +08:00
Andy Zhang 308604016b Fix(IMountServiceHookHandle): Bug fix:https://github.com/Qihoo360/DroidPlugin/issues/130 2016-02-25 10:59:34 +08:00
Andy Zhang f59e441a86 Feat(Compat): add ILocationManagerBinderHook. fix crash on plugin app call LocationManager.requestLocationUpdates 2016-02-25 10:42:06 +08:00
Andy Zhang d87150977a Fex(Crash): crash 2016-02-16 14:22:39 +08:00
Andy Zhang 929bb5d203 Fex(Crash): crash 2016-02-16 14:20:17 +08:00
Andy Zhang 037b14094b Happy chinese new year of monkey 2016-02-15 13:11:28 +08:00
Andy Zhang 5548f00c0e Fix(Compat): fixTaskDescription fail on some devices 2016-02-15 11:12:59 +08:00
Andy Zhang b172482ac4 Style(Build): delete support v4 jar and use "compile 'com.android.support:support-v4:23.1.1'" 2016-02-04 19:06:42 +08:00
Andy Zhang 846b31ca5d Style(Build): add jniLibs.srcDirs 2016-02-04 19:03:57 +08:00
Andy Zhang 534a970440 Fix (64位手机的问题): 适配64位手机:
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的。
2016-02-04 19:03:00 +08:00
Andy Zhang 4950792d9b Feat(Compat): add VMRuntime and Build compat 2016-02-04 18:12:37 +08:00
Andy Zhang ef5d18592a Feat(Log):日志文件最大为8MB,超过8MB就删除。 2016-02-04 15:12:25 +08:00
Andy Zhang a2e6312219 Style(Build script): Gradle 2016-02-02 14:59:34 +08:00
Andy Zhang 76655a7ec3 Style(Build script): Gradle 2016-02-02 14:52:57 +08:00
Andy Zhang 1de0855ef6 Fix(IContentProviderInvokeHandle ): modify calling package
bug url:https://github.com/Qihoo360/DroidPlugin/issues/104
2016-02-01 18:15:36 +08:00
Andy Zhang 083835c353 Fix( IMountServiceHookHandle.mkdirs ): replace Android/obb/ dir
bug url:https://github.com/Qihoo360/DroidPlugin/issues/124
2016-02-01 18:06:09 +08:00
Andy Zhang ba3564bf2c Feat (APITest) : add missed AIDL 2016-02-01 17:26:59 +08:00
Andy Zhang 6ae90d5dd8 Fix (bindService can not work): issue:https://github.com/Qihoo360/DroidPlugin/issues/122
如果插件中有两个Service:ServiceA和ServiceB,在bind ServiceA的时候会调用ServiceA的onBind并返回其IBinder对象,但是再次bind ServiceA的时候还是会返回ServiceA的IBinder对象,这是因为插件系统对多个Service使用了同一个StubService来代理,而系统对StubService的IBinder做了缓存的问题。这里设置一个Action则会穿透这种缓存。
2016-02-01 17:23:45 +08:00
Andy Zhang a50565da04 Fix(Service): IServiceConnection的connect函数;IActivityManagerHookHandle中使用统一的ReplaceCallingPackageHookedMethodHandler替换callingPackage
1、Hook IServiceConnection的connect函数,为了解决插件中的ServiceConnect.onServiceConnected回调的时候传回的ComponentName为代理服务的问题。
2、IActivityManagerHookHandle中使用统一的ReplaceCallingPackageHookedMethodHandler替换callingPackage参数。防止漏换的问题。
2016-02-01 17:18:54 +08:00
Andy Zhang 891020ad27 Feat (TestPlugin) :1、添加了target SDK为23;2、更新了support库。3、可以动态申请读取sd卡权限。 2016-02-01 16:21:28 +08:00
Andy Zhang 30663ab85e Feat (APITest) : APITest项目,添加的新的服务bind测试代码。 2016-02-01 16:19:27 +08:00
Andy Zhang 71db1f8a7b Fix: log 2016-01-25 16:39:44 +08:00
Andy Zhang dad3d6b65b fix:(快捷方法的问题) 2016-01-22 13:01:44 +08:00
Andy Zhang b5f5b51c32 Fix (StartAcitivty):不支持Intent Flag的问题 2016-01-22 12:54:58 +08:00
Andy Zhang c996bb7347 Style(PluginManager): import 2016-01-22 12:38:53 +08:00
Andy Zhang 250bfb5353 Feat (PluginManager):一些常量声明 2016-01-22 12:38:09 +08:00