public class EmulatorCheck extends AbstractSecurityCheck
| Constructor and Description |
|---|
EmulatorCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
execute(android.content.Context context)
Checks if device is an emulator by looking at the following: Fingerprint starts with
'generic' or 'unknown' The model contains 'google_sdk' or 'emulator' or 'android sdk built
for x86' If the serial is equal to 'null' The manufacturer contains 'genymotion' If the brand
and device start with 'generic'
|
testclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNameprotected boolean execute(@NonNull
android.content.Context context)
execute in class AbstractSecurityCheckcontext - context to be used to perform the checktrue if device is an emulator