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

Quick fix minor warnings from Android Studio #4406

Merged

Conversation

jpelgrom
Copy link
Member

Summary

Resolve a few warnings visible when compiling which are easily fixed.

  • 'getter for isSpeakerphoneOn: Boolean' is deprecated. Deprecated in Java
  • Unnecessary safe call on a non-null receiver of type Intent
  • The corresponding parameter in the supertype 'BaseWidgetConfigureActivity' is named 'savedInstanceState'. This may cause problems when calling this function with named arguments.

Screenshots

n/a

Link to pull request in Documentation repository

n/a

Any other notes

 - 'getter for isSpeakerphoneOn: Boolean' is deprecated. Deprecated in Java
 - Unnecessary safe call on a non-null receiver of type Intent
 - The corresponding parameter in the supertype 'BaseWidgetConfigureActivity' is named 'savedInstanceState'. This may cause problems when calling this function with named arguments.
@dshokouhi dshokouhi merged commit 62673fc into home-assistant:master May 15, 2024
4 checks passed
@jpelgrom jpelgrom deleted the fix-warnings-deprecation-paramname branch May 16, 2024 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants