Skip to content

Commit

Permalink
v1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pansong291 committed Oct 16, 2019
1 parent 01c2fd7 commit 2c32ca2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "pansong291.xposed.quickenergy"
minSdkVersion 14
targetSdkVersion 21
versionCode 20191010
versionName "1.2.6"
versionCode 20191016
versionName "1.2.7"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package pansong291.xposed.quickenergy.hook;

import android.app.Activity;
import java.lang.reflect.Method;
import pansong291.xposed.quickenergy.util.Log;

Expand All @@ -11,7 +10,7 @@ public class RpcCall
private static Method getResponseMethod;
private static Object curH5PageImpl;

public static String invoke(ClassLoader loader, String args0, String args1) throws Exception
public static String invoke(ClassLoader loader, String args0, String args1) throws Throwable
{
if(rpcCallMethod == null)
{
Expand Down Expand Up @@ -66,7 +65,7 @@ public static String invoke(ClassLoader loader, String args0, String args1) thro
return str;
}

public static String getResponse(Object resp) throws Exception
public static String getResponse(Object resp) throws Throwable
{
if(getResponseMethod == null)
getResponseMethod = resp.getClass().getMethod(ClassMember.getResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import pansong291.xposed.quickenergy.AntMember;
import pansong291.xposed.quickenergy.AntSports;
import pansong291.xposed.quickenergy.KBMember;
import pansong291.xposed.quickenergy.hook.ClassMember;
import pansong291.xposed.quickenergy.ui.MainActivity;
import pansong291.xposed.quickenergy.util.Config;
import pansong291.xposed.quickenergy.util.Log;
Expand Down
3 changes: 0 additions & 3 deletions app/src/main/java/pansong291/xposed/quickenergy/util/Log.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
package pansong291.xposed.quickenergy.util;

import android.app.Activity;
import android.app.AlertDialog;
import de.robv.android.xposed.XposedBridge;
import java.text.SimpleDateFormat;
import java.util.Date;
import pansong291.xposed.quickenergy.hook.RpcCall;

public class Log
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package pansong291.xposed.quickenergy.util;

import org.json.JSONObject;
import java.util.ArrayList;
import org.json.JSONArray;
import org.json.JSONObject;

public class Statistics
{
Expand Down

0 comments on commit 2c32ca2

Please sign in to comment.