RUM-12199: Device Capabilities Attributes Refactoring#337
Merged
marco-saia-datadog merged 3 commits intoJan 13, 2026
Merged
Conversation
marco-saia-datadog
force-pushed
the
marcosaia/RUM-12199/device-capabilities-refactoring
branch
from
January 8, 2026 15:08
fa44516 to
11d1885
Compare
0xnm
approved these changes
Jan 8, 2026
marco-saia-datadog
deleted the
marcosaia/RUM-12199/device-capabilities-refactoring
branch
January 13, 2026 15:22
This was referenced Jan 13, 2026
4 tasks
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.
What does this PR do?
This PR refines device capability attribute names to improve clarity and reduce ambiguity.
processor_count→logical_cpu_countThe attribute was renamed to explicitly reflect what is actually reported by mobile platform APIs.
Runtime.availableProcessors()returns the number of logical CPU cores available to the runtime.ProcessInfo.processInfo.processorCountlikewise reports the number of logical (not physical) cores.Because both platforms expose logical core counts, the new name and updated description make this behavior explicit and avoid confusion with physical CPU cores.
is_low_ram_device→is_low_ramThe
_devicesuffix was removed because the attribute already lives under thedeviceparent, making the original name redundant.