I developed an app which uses the hidden API, precise the
OnVolumeKeyLongPressListener. When I install it on my device through Android Studio (signed with a debug key) everything works great. But when I sign it with a release key it doesn’t work any longer, in fact the callback isn’t called anymore.
The app doesn’t throw any errors so I’m not sure what is going on. The required adb command runs through without errors as well. Do you have any ideas what could be the error here and how I could fix that?