public class NonRootedCheck extends AbstractSecurityCheck
| Constructor and Description |
|---|
NonRootedCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
execute(android.content.Context context)
Check whether the device is rooted or not.
|
java.lang.String |
getName()
Gets the name of the check to be used for display purposes in reports.
|
protected com.scottyab.rootbeer.RootBeer |
getRootBeer(android.content.Context context)
This method allows us to perform unit testing on the Rooted Check
|
testclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdprotected boolean execute(@NonNull
android.content.Context context)
execute in class AbstractSecurityCheckcontext - Context to be used by the checktrue if the device is *not* rootedprotected com.scottyab.rootbeer.RootBeer getRootBeer(android.content.Context context)
context - Context to be usedRootBeerpublic java.lang.String getName()
SecurityCheckString name of the check