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

chore: use ooni/probe-cli 3.11.0-beta.2 #462

Merged
merged 4 commits into from
Dec 3, 2021
Merged

chore: use ooni/probe-cli 3.11.0-beta.2 #462

merged 4 commits into from
Dec 3, 2021

Conversation

bassosimone
Copy link
Contributor

The app was crashing because the code did not specify the pending
intent as IMMUTABLE (as far as I understand the stacktrace).

Closes ooni/probe#1897

(This is not my domain of expertise and I think this patch could
and should be better refactored so that we always use a single
factory to create all the intents with the correct flags.)
This diff addresses my previous concern that I fixed the immediate
problem but did not proactively check the rest of the codebase.

Now, `git grep -i pendingintent.newactivity` and
`git grep -i pendingintent.getbroadcast` say that we
have correctly wrapped all instance flags.

See ooni/probe#1897
@bassosimone bassosimone marked this pull request as ready for review November 30, 2021 09:58
@bassosimone
Copy link
Contributor Author

@lorenzoPrimi please, take a look!

@lorenzoPrimi
Copy link
Contributor

Tested and working as expected

@bassosimone bassosimone merged commit 525cd25 into master Dec 3, 2021
@bassosimone bassosimone deleted the issue/1879 branch December 3, 2021 16:39
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