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

[Android] Remove unnecessary __system_property_get definition #1627

Closed
wants to merge 1 commit into from

Conversation

jstaahl
Copy link

@jstaahl jstaahl commented Feb 21, 2024

See: chromium/chromium@03d8ffb

The example cited in the code comment from chromium has been removed. It turns out this was never necessary and it is not clear why it was added to chromium in the first place (see the commit message from the commit linked above).

Although this definition of __system_property_get does not cause any issues because it is defined in an anonymous namespace, it is unnecessary and misleading, and we should remove it in favor of the one directly available from libc.so.

See: chromium/chromium@03d8ffb

The example cited in the code comment from chromium has been removed. It turns out this was never necessary and it is not clear why it was added to chromium in the first place (see the commit message from the commit linked above).

Although this definition of __system_property_get does not cause any issues because it is defined in an anonymous namespace, it is unnecessary, and we should just use the one available in libc.so.
@derekmauro
Copy link
Member

Please send this to https://github.com/google/cctz. It will be automatically imported from there.

@derekmauro derekmauro closed this Feb 21, 2024
@jstaahl
Copy link
Author

jstaahl commented Feb 21, 2024

Please send this to https://github.com/google/cctz. It will be automatically imported from there.

Opened a PR here:
google/cctz#286

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.

2 participants