github地址
https://github.com/lamster2018/EasyProtector
使用
public boolean isLimit(){
boolean bLimit = false;
bLimit = bLimit
|| EasyProtectorLib.checkIsRoot()
|| EasyProtectorLib.checkIsXposedExist()
|| EasyProtectorLib.checkIsRunningInEmulator(this, new EmulatorCheckCallback() {
@Override
public void findEmulator(String emulatorInfo) {
}
});
return bLimit;
}