Open kxzxxx opened 5 months ago
Starting the /.SearchActivity won't be enough to get on-device results. Based on your screen recording, I've briefly reviewed the decompiled code for the widget, but I am still unsure how to get the on-device results in Google Search.
I try to decompile then look into google widget, widget call "InternalGoogleAppActivityEntrypoint" with extra Intend can get local result, but I can not send the Intent without root, then I stop here.
https://github.com/chsbuffer/MIUIQOL/blob/e4b5ed4a2162a5b41ede3973dcd03aede16b81d5/app/src/main/java/io/github/chsbuffer/miuihelper/hooks/home/RestoreGoogleSearch.kt#L27 If launch this activity, Google will not display content from this device. It should launch com.google.android.googlequicksearchbox.SearchActivity instead.
https://imgur.com/a/iXI9xM5