Repository navigation
aosp: Report the model as the friendly name - #13110
Merged
Merged
Conversation
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the retrieval of the system friendly name property (kSbSystemPropertyFriendlyName) in system_get_property.cc for Android. Instead of returning a hardcoded 'Android' string, it now dynamically retrieves the product model using GetAndroidSystemProperty with the property key 'ro.product.model'. There are no review comments, and I have no feedback to provide.
Contributor
|
sacuff
approved these changes
Oct 5, 2026
andrewsavage1
enabled auto-merge (squash)
October 6, 2026 00:49
AOSP reads the friendly name through SbSystemGetProperty, which returned the fixed string "Android". That isn't a name for the device. Report the model, ro.product.model, which is what the model name property already returns. It also matches how yts names a device it reaches over adb or DIAL. Test: The OS Integration friendly name yts test passes on device over adb. Bug: 532158865
auto-merge was automatically disabled
October 6, 2026 20:34
Head branch was pushed to by a user without write access
ogarai
force-pushed
the
yts/fix_aosp_friendly_name
branch
from
October 6, 2026 20:34
9749a74 to
0a78590
Compare
andrewsavage1
enabled auto-merge (squash)
October 6, 2026 20:36
briantting
pushed a commit
that referenced
this pull request
Oct 8, 2026
Refer to original PR: #13110 AOSP reads the friendly name through SbSystemGetProperty, which returned the fixed string "Android". That isn't a name for the device. Report the model, ro.product.model, which is what the model name property already returns. It also matches how yts names a device it reaches over adb or DIAL. Test: The OS Integration friendly name yts test passes on device over adb. Bug: 532158865 (cherry picked from commit 2fcaa38)
briantting
pushed a commit
that referenced
this pull request
Oct 16, 2026
Refer to original PR: #13110 AOSP reads the friendly name through SbSystemGetProperty, which returned the fixed string "Android". That isn't a name for the device. Report the model, ro.product.model, which is what the model name property already returns. It also matches how yts names a device it reaches over adb or DIAL. Test: The OS Integration friendly name yts test passes on device over adb. Bug: 532158865 (cherry picked from commit 2fcaa38)
briantting
pushed a commit
that referenced
this pull request
Oct 16, 2026
Refer to original PR: #13110 AOSP reads the friendly name through SbSystemGetProperty, which returned the fixed string "Android". That isn't a name for the device. Report the model, ro.product.model, which is what the model name property already returns. It also matches how yts names a device it reaches over adb or DIAL. Test: The OS Integration friendly name yts test passes on device over adb. Bug: 532158865 (cherry picked from commit 2fcaa38)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AOSP reads the friendly name through SbSystemGetProperty, which
returned the fixed string "Android". That isn't a name for the device.
Report the model, ro.product.model, which is what the model name
property already returns. It also matches how yts names a device it
reaches over adb or DIAL.
Test: The OS Integration friendly name yts test passes on device over
adb.
Bug: 532158865