Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google assistant appears for second before launching button action #51

Open
phd13 opened this issue May 26, 2022 · 7 comments
Open

Google assistant appears for second before launching button action #51

phd13 opened this issue May 26, 2022 · 7 comments
Labels
wontfix This will not be worked on

Comments

@phd13
Copy link

phd13 commented May 26, 2022

I set my assistant button for an app launch, but when I press it a dialog (the one which asks to set Google assistant as defaut) shows for a second. Is there a way to disable it?

@mattynash
Copy link

Same thing is happening with me!
If there is a solution that would be great!

@ivaniskandar
Copy link
Owner

Due to how the button is handled by the system. The app can only "override" the button instead of a full remap. You can try disabling or uninstalling the Google app with root (which I haven't tried) to possibly completely remove the brief dialog showing.

@ivaniskandar ivaniskandar pinned this issue Jun 17, 2022
@ivaniskandar ivaniskandar added the wontfix This will not be worked on label Jun 17, 2022
@mattynash
Copy link

mattynash commented Jun 17, 2022 via email

@Stargon
Copy link

Stargon commented Jun 30, 2022

Due to how the button is handled by the system. The app can only "override" the button instead of a full remap. You can try disabling or uninstalling the Google app with root (which I haven't tried) to possibly completely remove the brief dialog showing.

There is a work around for this. I uninstalled both Google Assistant and Google Serach in order to stop the Google Assistant Prompt to pop up. It will require adb commands since those two apps are considered "system apps".

I did the following:

  1. Disable Google Assitant in your Google Profile. Here's the official documentation on how to do it. There are also other website on how to navigate thru the settings on how to do it
    • I personally just searched it thru my settings and turned it off from there
  2. I used the following commands with adb:
adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox

I have not experienced any uninteded consequences of removing those two apps so far.
A quirk that I found is that when you use the remapped button while the screen is locked, it will trigger the password prompt.

This was done on an Xperia 1 III.

@ivaniskandar ivaniskandar changed the title Google assistant promt appears for second before launching button action Google assistant appears for second before launching button action Aug 3, 2022
@Vilagamer999
Copy link

adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox

Thank you so much for this, had the same issue where assistant would appear even after I disabled it, fixed the problem on my xperia 1 iii

Before adb fix:
Screenshot_20221211-194806 (1)

After adb fix:
Screenshot_20221211-195123 (1)

@ivaniskandar I think you should add these alongside the other adb requirements

@resudroid
Copy link

resudroid commented Jan 13, 2023

Due to how the button is handled by the system. The app can only "override" the button instead of a full remap. You can try disabling or uninstalling the Google app with root (which I haven't tried) to possibly completely remove the brief dialog showing.

There is a work around for this. I uninstalled both Google Assistant and Google Serach in order to stop the Google Assistant Prompt to pop up. It will require adb commands since those two apps are considered "system apps".

I did the following:

  1. Disable Google Assitant in your Google Profile. Here's the official documentation on how to do it. There are also other website on how to navigate thru the settings on how to do it

    • I personally just searched it thru my settings and turned it off from there
  2. I used the following commands with adb:

adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox

I have not experienced any uninteded consequences of removing those two apps so far. A quirk that I found is that when you use the remapped button while the screen is locked, it will trigger the password prompt.

This was done on an Xperia 1 III.

Thank you so much. uninstalling google searchbox was the key i was missing. this is awesome...

i had assistant already unimstalled but it kept popping up till now 😀

xperia 5 iii us version.

@elesto
Copy link

elesto commented Dec 25, 2023

I am having the same issue. The problem is i have remapped to google music search so uninstalling the google app isnt an option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

7 participants