Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simplepeng committed Dec 22, 2022
1 parent af08483 commit 87de089
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| android.provider.Settings.Secure | getString(AndroidId) |
| LocationManager | getLastKnownLocatio,requestLocationUpdates |
| PackageManager | getInstalledPackages,getInstalledApplications,getInstallerPackageName,getPackageInfo |
| ClipboardManager | hasPrimaryClip,getPrimaryClip |
| 待新增 | |

## 导入依赖
Expand All @@ -23,10 +24,10 @@ maven { url 'https://jitpack.io' }
```

```groovy
def checkerV = "v1.0.2"
def checkerV = "v1.0.3"
```

### pine版本-推荐
### pine版本

基于[pine](https://github.com/canyie/pine),适配`4.4-12.1`版本,感谢大佬的无私奉献。

Expand Down Expand Up @@ -62,7 +63,7 @@ HeGuiChecker.allow(true)

## 版本

* v1.0.3: 新增`ClipBoardManager`,hook方法
* v1.0.3: 新增`ClipboardManager`,hook方法
* hasPrimaryClip
* getPrimaryClip
* v1.0.2:新增`PackageManagerHooker`,hook方法
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import android.content.Context;

import me.simple.checker.hookers.ClipBoardManagerHooker;
import me.simple.checker.hookers.ClipboardManagerHooker;
import me.simple.checker.hookers.LocationHooker;
import me.simple.checker.hookers.NetWorkHooker;
import me.simple.checker.hookers.PackageManagerHooker;
Expand Down Expand Up @@ -38,7 +38,7 @@ private static void startHook() {
WifiInfoHooker.hook();
LocationHooker.hook();
PackageManagerHooker.hook();
ClipBoardManagerHooker.hook();
ClipboardManagerHooker.hook();
} catch (Throwable e) {
e.printStackTrace();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
package me.simple.checker.hookers;

import android.content.ClipboardManager;
import android.location.LocationListener;
import android.location.LocationManager;

import me.simple.checker.CheckerHelper;
import top.canyie.pine.Pine;
import top.canyie.pine.callback.MethodHook;

public class ClipBoardManagerHooker {
public class ClipboardManagerHooker {

public static void hook() throws NoSuchMethodException {
hookHasPrimaryClip();
Expand Down

0 comments on commit 87de089

Please sign in to comment.