Shazam utilises AOSP's [overlay API](https://stackoverflow.com/revisions/67150870/2#:~:text=Using%20TYPE_ACCESSIBILITY_OVERLAY%20as,target%20SDK%2029.) to draw a custom implementation of the standard [Bubble API](https://developer.android.com/develop/ui/views/notifications/bubbles#bubble-api), which, when invoked, initiates recognition.
Shazam utilises AOSP's overlay API to draw a custom implementation of the standard Bubble API, which, when invoked, initiates recognition.