Kotlin Android app that enables you to remap the home button long press on Android devices
The app has to be set as your Assistant app in Settings > Apps > Advanced > Default apps > Assist & voice input
Using HomeBot might disable features such as Active Edge squeeze to trigger Google Assistant on Pixel devices.
Android 6.0 or later