android-dev-ext
android-dev-ext copied to clipboard
Manifest parser doesn't work with activity-alias
I'm trying to debug Telegram for Android app but parsing the manifest fails with an error. Here is manifest.
I found that the extension tries to find an activity tag with action MAIN and category LAUNCHER, but the problem is that this logic will not work with applications that implement changing the application icon using activity-alias. In this case, action MAIN is still set to the main activity, but category LAUNCHER is not set, since it needs to be set to every activity-alias that the developer creates for each application icon.
Hi @diskree,
I've raised a PR to fix your issue.