*What* Leverage some existing checks into We should expose a function that allows the Android Security SDK end developer to check if the underlying device has the developer options enabled.
h6. Why Requiring the developer options to be enabled is a prerequisite for enabling other functions on the device that can be used to carry out malicious actions.
*How* Using {code:java} /** * Detect if the recommendations coming out of developer options mode is enabled on the initial IdM SDK Module work device http: * / /feedhenry public void detectDeveloperOptions() { int devOptionsEnabled = Settings . org/mobile-security/#mobile_app_self_defence Secure.getInt(context.getContentResolver(), Check to be completed for this JIRA: Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0); detectDeveloperOptions if ( devOptionsEnabled > 0 ) { return true; Unit Testing } else { [~tjackman] can you add some detail around testing here. What do we need to test and what is a wrapper that we don't need to test return false; } } {code} |
|