public class RootedCheck extends AbstractSecurityCheck
| Constructor and Description |
|---|
RootedCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
execute(android.content.Context context)
Check whether the device is rooted or not.
|
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, waitgetNameprotected boolean execute(@NonNull
android.content.Context context)
execute in class AbstractSecurityCheckcontext - Context to be used by the checktrue if the device is rootedprotected com.scottyab.rootbeer.RootBeer getRootBeer(android.content.Context context)
context - Context to be usedRootBeer