Skip to content

Commit

Permalink
New version 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Oct 12, 2019
1 parent 8039785 commit b1a6090
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 29 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="nil.nadph.qnotified"
android:versionName="0.2.0"
android:versionCode="10">
android:versionName="0.3.1"
android:versionCode="13">

<uses-sdk
android:targetSdkVersion="27"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/assets/xposed_init
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nil.nadph.qnotified.HookLoader
nil.nadph.qnotified.HookEntry
12 changes: 6 additions & 6 deletions app/src/main/java/nil/nadph/qnotified/StartupHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public class StartupHook {

private boolean first_stage_inited = false;
private boolean sec_stage_inited = false;
private boolean third_stage_inited = false;
private boolean third_stage_inited = false;

private StartupHook() {
}

Expand All @@ -49,7 +49,7 @@ public void doInit(ClassLoader rtloader) throws Throwable {
XC_MethodHook startup = new XC_MethodHook(51) {
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
try {
if(sec_stage_inited) return;
if (sec_stage_inited) return;
Utils.checkLogFlag();
Context ctx = null;
Class clz = param.thisObject.getClass().getClassLoader().loadClass("com.tencent.common.app.BaseApplicationImpl");
Expand All @@ -75,14 +75,14 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
XposedBridge.hookMethod(doStep, new XC_MethodHook(51) {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
if (third_stage_inited) return;
if (third_stage_inited) return;
Object dir = iget_object_or_null(param.thisObject, "mDirector", __director);
if (dir == null) dir = iget_object_or_null(param.thisObject, "a", __director);
InjectDelayableHooks.step(dir);
third_stage_inited = true;
third_stage_inited = true;
}
});
sec_stage_inited = true;
sec_stage_inited = true;
} catch (Throwable e) {
log(e);
throw e;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/nil/nadph/qnotified/SyncUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static void requestInitHook(int process, int hookId) {
initId();
changed.putExtra("process", process);
changed.putExtra("hook", hookId);
log("Tx: ");
log("Tx: ");
ctx.sendBroadcast(changed);
}

Expand Down
34 changes: 17 additions & 17 deletions app/src/main/java/nil/nadph/qnotified/adapter/AboutActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,28 @@ public void doOnPostCreate(Bundle savedInstanceState) throws Throwable {
__lp_r.addRule(RelativeLayout.CENTER_VERTICAL);
ColorStateList hiColor = ColorStateList.valueOf(Color.argb(255, 242, 140, 72));
RelativeLayout _t;
ll.addView(subtitle(self, "QNotified"));
ll.addView(subtitle(self, "本模块无毒无害, 免费开源, 旨在\n 1.接手部分停更模块的部分功能\n 2.提供被删好友通知\n 3.移除部分臃肿功能, 增加部分实用功能"));
ll.addView(subtitle(self, "此模块目前承认的APP发布渠道为 Github 上本项目的 Releases 和 Xposed Installer 里的模块下载 ,也可从https://github.com/cinit/QNotified 获取源码自行编译, 如果您是在其他渠道下载的话请自己注意安全.\n Copyright (C) 2019 cinit@github"));
ll.addView(subtitle(self, "支持的(类)Xposed内核:"));

ll.addView(subtitle(self, "QNotified"));
ll.addView(subtitle(self, "本模块无毒无害, 免费开源, 旨在\n 1.接手部分停更模块的部分功能\n 2.提供被删好友通知\n 3.移除部分臃肿功能, 增加部分实用功能"));

ll.addView(subtitle(self, "此模块目前承认的APP发布渠道为 Github 上本项目的 Releases 和 Xposed Installer 里的模块下载 ,也可从https://github.com/cinit/QNotified 获取源码自行编译, 如果您是在其他渠道下载的话请自己注意安全.\n Copyright (C) 2019 cinit@github"));

ll.addView(subtitle(self, "支持的(类)Xposed内核:"));
ll.addView(subtitle(self, "原生Xposed, Epic(太极), SandHook, BugHook(应用转生)"));
ll.addView(subtitle(self, " * YAHFA 可能存在一定兼容性问题(如卡Q,黑屏等等),遇到问题请反馈(说明发生的情况和其它必要信息,如QQ版本,模块版本,使用的框架环境,安卓版本等),谢谢"));
ll.addView(subtitle(self, "声明:"));
ll.addView(subtitle(self, "此软件是捐赠软件 个人可以免费使用 请勿以任何方式商用本软件 如果喜欢我的作品请打赏支持我维护和开发! 任何形式或渠道包括预装手机售卖此软件​都是非法贩卖, 别上当受骗!欢迎举报贩卖者! "));
ll.addView(subtitle(self, "特别声明:"));
ll.addView(subtitle(self, "QNotified模块属于个人作品! 没有售后! 没有客服! 您可以与我反馈和讨论问题, 但请文明交流尊重彼此!"));
ll.addView(subtitle(self, " * YAHFA 可能存在一定兼容性问题(如卡Q,黑屏等等),遇到问题请反馈(说明发生的情况和其它必要信息,如QQ版本,模块版本,使用的框架环境,安卓版本等),谢谢"));

ll.addView(subtitle(self, "声明:"));
ll.addView(subtitle(self, "此软件是捐赠软件 个人可以免费使用 请勿以任何方式商用本软件 如果喜欢我的作品请打赏支持我维护和开发! 任何形式或渠道包括预装手机售卖此软件​都是非法贩卖, 别上当受骗!欢迎举报贩卖者! "));

ll.addView(subtitle(self, "特别声明:"));
ll.addView(subtitle(self, "QNotified模块属于个人作品! 没有售后! 没有客服! 您可以与我反馈和讨论问题, 但请文明交流尊重彼此!"));

ll.addView(subtitle(self, "免责声明"));
ll.addView(subtitle(self, "This program is distributed in the hope that it will be useful, " +
"but WITHOUT ANY WARRANTY; without even the implied warranty of " +
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."));
ll.addView(subtitle(self, "请尊重我的的劳动成果 请勿用于商业用途 严禁盗版贩卖"));

ll.addView(subtitle(self, "请尊重我的的劳动成果 请勿用于商业用途 严禁盗版贩卖"));
ll.addView(subtitle(self, "SystemClassLoader\n" + ClassLoader.getSystemClassLoader() + "\nContext.getClassLoader()\n" + self.getClassLoader() + "\nThread.getContextClassLoader()\n" + Thread.currentThread().getContextClassLoader()));
//bounceScrollView.setFocusable(true);
//bounceScrollView.setFocusableInTouchMode(true);
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/nil/nadph/qnotified/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ private Utils() {

public static boolean DEBUG = true;
public static boolean V_TOAST = false;
public static final String QN_VERSION_NAME = "0.2.1";
public static final int QN_VERSION_CODE = 10;
public static final String QN_VERSION_NAME = "0.3.1";
public static final int QN_VERSION_CODE = 13;

public static final String PACKAGE_NAME_QQ = "com.tencent.mobileqq";
public static final String PACKAGE_NAME_QQ_INTERNATIONAL = "com.tencent.mobileqqi";
Expand Down
12 changes: 12 additions & 0 deletions update_info
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
[
{
"code": 13,
"name": "0.3.1",
"taichi": false,
"beta": false,
"time": 1570885064,
"md5": "31d6d65f38da5b629d5011252b3b3483",
"desc": "- 添加TIM支持\n- 添加图片方式打开闪照和表情包功能\n- 添加复读机功能\n- 添加收藏更多表情\n- 添加语音转发功能",
"urls": [
"https://github.com/cinit/QNotified/releases/download/v0.3.1/QNotified_031.apk"
]
},
{
"code": 10,
"name": "0.2.0",
Expand Down

0 comments on commit b1a6090

Please sign in to comment.