Skip to content

Commit

Permalink
Update MainActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsoo committed Dec 20, 2013
1 parent a18c4fe commit 4fac493
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions AntiEmulator/src/diff/strazzere/anti/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ public boolean isQEmuEnvDetected() {
log("hasKnownDeviceId : " + FindEmulator.hasKnownDeviceId(getApplicationContext()));
log("hasKnownImei : " + FindEmulator.hasKnownImei(getApplicationContext()));
log("hasKnownPhoneNumber : " + FindEmulator.hasKnownPhoneNumber(getApplicationContext()));
log("hasPipes : " + FindEmulator.hasPipes());
log("hasQEmuDriver : " + FindEmulator.hasQEmuDriver());
log("hasQEmuFiles : " + FindEmulator.hasQEmuFiles());
if(FindEmulator.hasKnownDeviceId(getApplicationContext()) ||
FindEmulator.hasKnownImei(getApplicationContext()) ||
FindEmulator.hasKnownPhoneNumber(getApplicationContext()) ||
FindEmulator.hasPipes() ||
FindEmulator.hasQEmuDriver() ||
FindEmulator.hasQEmuFiles()) {
log("QEmu environment detected.");
return true;
} else {
log("QEmu environment not detected.");
return false;
}
log("isOperatorNameAndroid : " + FindEmulator.isOperatorNameAndroid(getApplicationContext()));
log("hasKnownImsi : " + FindEmulator.hasKnownImsi(getApplicationContext()));
log("hasEmulatorBuild:" + FindEmulator.hasEmulatorBuild(getApplicationContext()));

if(FindEmulator.hasKnownDeviceId(getApplicationContext()) ||
FindEmulator.hasKnownImei(getApplicationContext()) ||
FindEmulator.hasKnownImsi(getApplicationContext()) ||
FindEmulator.hasEmulatorBuild(getApplicationContext()) ||
FindEmulator.hasKnownPhoneNumber(getApplicationContext())){
log("QEmu environment detected.");
return true;
}else{
log("QEmu environment not detected.");
return false;
}
}

public boolean isTaintTrackingDetected() {
Expand Down

0 comments on commit 4fac493

Please sign in to comment.