zobnin / aio

AIO Launcher page for bug reports and suggestions
17 stars 1 forks source link

Wrong dialer app selected #20

Closed Nuube closed 2 years ago

Nuube commented 2 years ago

Describe the bug I installed a different dialer app (namely "Koler") from F-Droid. When I the dialer widget from AIO it does not start the dialer app but displays a error message that I need to set the google dialer as standard dialer app.

To Reproduce Steps to reproduce the behavior:

  1. Install Koler
  2. Select Koler as standard dialer app in android settings
  3. Start AIO with dialer widget
  4. Press the phone icon in the dialer widget

Expected behavior Start Koler

zobnin commented 2 years ago

I don't see this problem on the Pixel 4a with Android 12. What phone do you have and what version of Android?

Nuube commented 2 years ago

I have a Pixel 4a with Android 12 as well. For some reason github does not allow me to attach screenshots here, otherwise I'd have added it here.

Nuube commented 2 years ago

-- Now attaching screenshot works (uMatrix blocked something):

Error message:

img2

image

zobnin commented 2 years ago

Official or custom firmware?

Nuube commented 2 years ago

Official

zobnin commented 2 years ago

I can't replicate this problem so I don't know how to fix it at this point.

Nuube commented 2 years ago

For me the root cause looks a bit like AIO opens the google phone app in spite of Koler, and the google phone app issues the error that in can only be used when it is set as being the standard app.

Is it to possible to get the information which is the standard phone app from the OS before opening the app, or does android select the correct app when called?

zobnin commented 2 years ago

AIO Launcher works exactly as you ask in the second paragraph. Therefore, when I choose Koler as a standard application for calls on my Pixel 4a Launcher launches it, not Google Dialer. So I see no issue there.

zobnin commented 2 years ago

BTW Check AIO Settings -> Dialer -> Dialer. It seems to me that you just forcibly selected Google Dialer in the settings of the launcher itself and forgot about it.