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

[HVR] Fix flavor detection when deciding about requesting SSID #1022

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

svillar
Copy link
Member

@svillar svillar commented Sep 27, 2023

We've recently added some code for HVR in China that was meant to prevent Wolvic to call getSSID() because that's considered recollection of personal data even if we only use it to show the SSID in the UI.

The problem is that we were comparing the lowercase name of the flavor with "mainlandChina" with capital C, so this was obviously never matching. Correct that and also replace the default english translation from "unknown" to "unavailable" which is more precise.

Copy link
Collaborator

@HollowMan6 HollowMan6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then let's change the Simplified (Mainland) and Traditional (Taiwan) Chinese translation as well, both of them will be SSID不可知 in this case.

We've recently added some code for HVR in China that was meant to
prevent Wolvic to call getSSID() because that's considered
recollection of personal data even if we only use it to show the
SSID in the UI.

The problem is that we were comparing the lowercase name of the
flavor with "mainlandChina" with capital C, so this was obviously
never matching. Correct that and also replace the displayed tooltip
text from "unknown" to "unavailable" which is more precise.
@svillar
Copy link
Member Author

svillar commented Sep 27, 2023

Then let's change the Simplified (Mainland) and Traditional (Taiwan) Chinese translation as well, both of them will be SSID不可知 in this case.

👍 thanks for letting me know

Copy link
Collaborator

@HollowMan6 HollowMan6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@svillar svillar merged commit 5dd7e2c into main Sep 27, 2023
18 checks passed
@svillar svillar deleted the ssid-china branch September 27, 2023 19:24
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