public class BackupDisallowedCheck extends AbstractSecurityCheck
| Constructor and Description |
|---|
BackupDisallowedCheck() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(android.content.Context context)
Check whether the allowBackup flag is enabled.
|
java.lang.String |
getName()
Gets the name of the check to be used for display purposes in reports.
|
testclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdpublic boolean execute(@NonNull
android.content.Context context)
execute in class AbstractSecurityCheckcontext - Context to be used by the check.true if allowBackup is false.java.lang.IllegalStateException - Will be thrown if package information can not be found.public java.lang.String getName()
SecurityCheckString name of the check