Activity Guard
- 24 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
Activity Guard
- Mis à jour le 24 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article
Avez-vous trouvé ce résumé utile ?
Merci pour vos commentaires
App Shielding offers the option to protect applications from task hijacking. This is enabled by adding the ShieldSDK-activity-guard Maven dependency.
MyApplication/app/build.gradle:
dependencies {
...
implementation 'no.promon.shield:ShieldSDK-activity-guard:7.0.2'
}
This dependency, in combination with the Shielding Tool injects a launcher activity into the app that replaces all existing ones. The injected activity is constructed so that it will always launch and cannot be hijacked. It then evaluates the state of all tasks belonging to the app, and restores or destroys them as appropriate.
A Callback is notified with TaskHijackingData information about the offending app when a task hijacking is attempted.
Cet article vous a-t-il été utile ?