I have created a lib that when you add to your app adds a 2nd launcher icon (it'll be used for debugging network), the lib could be initialized from the application using its context or from an activity, I'd like to know in my lib if the application was launched from the 2nd launcher icon or another one.
One more thing I have different taskAfinity
for my 2nd launcher.
The lib is also open source here: https://github.com/shehabic/sherlock