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

Color the sim cards based on the color from the settings #322

Open
derrohrbach opened this issue Mar 21, 2022 · 3 comments
Open

Color the sim cards based on the color from the settings #322

derrohrbach opened this issue Mar 21, 2022 · 3 comments

Comments

@derrohrbach
Copy link

It would be nice, if the sim card color would be respected for the call buttons and in the call log. If you are interested in this feature, then i might even make a pull request for it. Also interesting for the SMS app.

grafik

@tibbi
Copy link
Contributor

tibbi commented Mar 21, 2022

Are you settings that color in your device settings or where? Does any other app show it?

@derrohrbach
Copy link
Author

derrohrbach commented Mar 22, 2022

Exactly, the setting is in the device settings and it is used by multiple apps to make it easier to differenciate between different sim cards.

  • SIM pin input screen
  • AOSP Dialer
  • Google Dialer
  • AOSP SMS App
  • Google Messages

Maybe it is this? Just me googling for five minutes. I am not really experienced with android APIs.
https://developer.android.com/reference/android/telecom/PhoneAccount#getHighlightColor()

Also this:
https://android.googlesource.com/platform/packages/apps/Dialer/+/refs/heads/master/java/com/android/dialer/calllogutils/PhoneAccountUtils.java#40

If you want i can also send screenshots of the Google Dialer, have to activate it again though :D

@leonp5
Copy link

leonp5 commented Jul 25, 2023

@derrohrbach would be nice if you can add this feature :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants