( XDA has a guide to do so here)

Android Q Beta 5: New gesture control adds corner swiping for Google Assistant

Android Q Beta 5 launches a new feature which is Google’s Global Navigation Update, work of this app is it