Skip to content

Conversation

@amaanq
Copy link

@amaanq amaanq commented Nov 21, 2025

Problem

I recently acquired a new phone and decided to run Tailscale on it. I was a bit surprised to see the device name was rather than the actual device name I had set in android settings. I think that it would be better to use this by default, and fall back to the model name if querying for the device name fails.

Solution

In this PR I added a simple query for the device's name, if that's not null we return that, otherwise we continue with the old logic of using the device model. I also renamed the function to getDeviceName as that's more appropriate now.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant