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 potential NPE in setDefaultRingtone() #634

Closed
wants to merge 1 commit into from

Conversation

LightningRS
Copy link

Fix #633: Potential NPE in setDefaultRingtone()

forrestguice added a commit that referenced this pull request Oct 23, 2022
refactors `setDefaultRingtone` (non-static); adds failing test (#634)
forrestguice added a commit that referenced this pull request Oct 23, 2022
fixes potential npe (RingtoneManager.getActualDefaultRingtoneUri may return null) (#634)
forrestguice added a commit that referenced this pull request Oct 23, 2022
fixes NPE when default alarm ringtone is unset; RingtoneManager.getActualDefaultRingtoneUri may return null (#634)
forrestguice added a commit that referenced this pull request Oct 23, 2022
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.

[Bug] Potential NullPointerException in AlarmSettings
2 participants