This script will look for unused android.app.Activity
classes in an IntelliJ project. To use, open the IDE scripting console, paste in this script and then press Ctrl+A and then Ctrl+Enter.
This is a work in progress
- The script does not yet cater for all usage types. Unknown types are tracked in the
unknowns
list and is printed just before potentially unused activities. - The script assumes that utlity intent creation methods is named
getStartIntent