sensepost / objection

📱 objection - runtime mobile exploration
GNU General Public License v3.0
7.46k stars 854 forks source link

Exclude TV leanback launcher activities from launchable activity detection #376

Closed mtschirs closed 4 years ago

mtschirs commented 4 years ago

When trying to detect the launcher activity, objection sometimes identifies a leanback-launchable-activity (Android TV) which is usually not the activity that a user would want to launch the agent from.

Therefore, this pull request limits the detecion to 'normal' launchable activities.

This could still be improved by e.g. injecting in all launchable activities (?), list the launchable activities that where not chosen by objection in case the user wants to specify them manually or look for a 'normal' launchable activity first and if not found, then check for leanback-launchable activities.