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

Fix: Updated Broadcast receiver to do nothing if key is null #648

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

aanorbel
Copy link
Member

No description provided.

@bassosimone bassosimone changed the title Fix: Updated Boradcast reciever to do nothing if key is null Fix: Updated Broadcast receiver to do nothing if key is null Dec 18, 2023
@@ -49,6 +49,10 @@ public TestRunBroadRequestReceiver(PreferenceManager preferenceManager, EventLis
public void onReceive(Context context, Intent intent) {
String key = intent.getStringExtra("key");
String value = intent.getStringExtra("value");
// If either key is null, do nothing
Copy link
Contributor

Choose a reason for hiding this comment

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

Here you say "either": which other key should we be checking below?

Copy link
Member Author

Choose a reason for hiding this comment

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

None.

Copy link
Contributor

@bassosimone bassosimone left a comment

Choose a reason for hiding this comment

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

🐳

@aanorbel aanorbel merged commit 6508067 into master Dec 18, 2023
5 of 6 checks passed
@aanorbel aanorbel deleted the fix/broadcast-reciever-failure-for-null-key branch December 18, 2023 18:54
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