I need to get a notification when the user long-presses my app's icon from the launcher screen.
After a lot of research - I encountered 'app shortcuts' and it seems the closest thing to the functionality I need, though I couldn't find any event or broadcast fired upon long pressing my app's icon.
I don't think this has been answered here before since I'm trying to find a solution for hours now. I looked into all the tutorials under AD: https://developer.android.com/guide/topics/ui/shortcuts.html
I also tried googling any possible combination might give me some leads, but couldn't find anything.
The functionality in possible (saw another app uses it), though running
dumpsys activity broadcasts
I couldn't find any related broadcast.
Is there's any standard broadcasts fired by the launcher maybe?