Skip to content

Instantly share code, notes, and snippets.

@t4kemyh4nd
Last active November 15, 2022 02:02
Show Gist options
  • Save t4kemyh4nd/3c05c0d2f271b0b81d2b3ff1608a5a95 to your computer and use it in GitHub Desktop.
Save t4kemyh4nd/3c05c0d2f271b0b81d2b3ff1608a5a95 to your computer and use it in GitHub Desktop.
private String config(Config config, boolean z) {
if (z) {
SecurityManager securityManager = new SecurityManager(config, this.mActivity.getApplicationContext());
if (securityManager.isExpired() || !securityManager.isValidSignature()) { // validation of the config object
return new Response(202).toString();
}
}
this.mFM = new FeatureManager(config, this.mActivity.getClassLoader());
this.mPM = new PermissionManager(config);
return new Response(0).toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment