-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add support for Android 15 #250
base: main
Are you sure you want to change the base?
Conversation
updates targetSdk to 35, removes butterknife deals with api deprecations
app/src/main/java/com/kelsos/mbrc/features/library/ArtistEntryAdapter.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/features/library/ArtistEntryAdapter.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/features/nowplaying/NowPlayingAdapter.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/SessionNotificationManager.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/SessionNotificationManager.kt
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
app/src/main/java/com/kelsos/mbrc/features/library/ArtistEntryAdapter.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/features/library/ArtistEntryAdapter.kt
Fixed
Show fixed
Hide fixed
} | ||
|
||
val selectedOutput = availableOutputs.adapter.getItem(position) as String | ||
viewModel.setOutput(selectedOutput) |
Check warning
Code scanning / Android Lint
Synthetic Accessor Warning
app/src/main/java/com/kelsos/mbrc/platform/mediasession/SessionNotificationManager.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/SessionNotificationManager.kt
Fixed
Show fixed
Hide fixed
Picks refactoring work over the rewrite branch
app/src/main/java/com/kelsos/mbrc/features/nowplaying/NowPlayingActivity.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/features/nowplaying/NowPlayingActivity.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/features/nowplaying/NowPlayingActivity.kt
Fixed
Show fixed
Hide fixed
|
||
override fun onDragComplete() { | ||
swipeRefreshLayout.isEnabled = true | ||
viewModel.move() |
Check warning
Code scanning / Android Lint
Synthetic Accessor Warning
app/src/main/java/com/kelsos/mbrc/features/settings/ConnectionAdapter.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/features/minicontrol/MiniControlFragment.kt
Fixed
Show fixed
Hide fixed
) : ProtocolAction { | ||
override suspend fun execute(message: ProtocolMessage) { | ||
val previousState = appState.playerStatus.firstOrNull() ?: PlayerStatusModel() | ||
appState.playerStatus.emit(previousState.copy(scrobbling = message.asBoolean())) |
Check warning
Code scanning / Android Lint
Synthetic Accessor Warning
) : ProtocolAction { | ||
override suspend fun execute(message: ProtocolMessage) { | ||
val previousState = appState.playerStatus.firstOrNull() ?: PlayerStatusModel() | ||
appState.playerStatus.emit(previousState.copy(mute = message.asBoolean())) |
Check warning
Code scanning / Android Lint
Synthetic Accessor Warning
app/src/main/java/com/kelsos/mbrc/platform/mediasession/AppNotificationManagerImpl.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/AppNotificationManagerImpl.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/AppNotificationManagerImpl.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/AppNotificationManagerImpl.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/AppNotificationManagerImpl.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/AppNotificationManagerImpl.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/platform/mediasession/AppNotificationManagerImpl.kt
Fixed
Show fixed
Hide fixed
reportedVersion: String, | ||
suggestedVersion: String, | ||
): Boolean { | ||
val currentVersion = reportedVersion.toVersionArray() |
Check warning
Code scanning / Android Lint
Synthetic Accessor Warning
suggestedVersion: String, | ||
): Boolean { | ||
val currentVersion = reportedVersion.toVersionArray() | ||
val latestVersion = suggestedVersion.toVersionArray() |
Check warning
Code scanning / Android Lint
Synthetic Accessor Warning
c0d23f5
to
f1c591b
Compare
getItem(position)?.let { settings -> | ||
holder.computerName.text = settings.name | ||
holder.hostname.text = settings.address | ||
holder.portNum.text = settings.port.toString() |
Check warning
Code scanning / Android Lint
TextView Internationalization Warning
app/src/main/java/com/kelsos/mbrc/features/nowplaying/NowPlayingActivity.kt
Fixed
Show fixed
Hide fixed
app/src/main/java/com/kelsos/mbrc/features/settings/SettingsDialogFragment.kt
Fixed
Show fixed
Hide fixed
547334e
to
ba4e198
Compare
desugar = "2.1.4" | ||
firebaseBom = "33.7.0" | ||
google-material = "1.12.0" | ||
gradlePlugin-agp = "8.7.3" |
Check warning
Code scanning / Android Lint
Obsolete Android Gradle Plugin Version Warning
desugar = "2.1.4" | ||
firebaseBom = "33.7.0" | ||
google-material = "1.12.0" | ||
gradlePlugin-agp = "8.7.3" |
Check warning
Code scanning / Android Lint
Obsolete Android Gradle Plugin Version Warning
desugar = "2.1.4" | ||
firebaseBom = "33.7.0" | ||
google-material = "1.12.0" | ||
gradlePlugin-agp = "8.7.3" |
Check warning
Code scanning / Android Lint
Obsolete Android Gradle Plugin Version Warning
desugar = "2.1.4" | ||
firebaseBom = "33.7.0" | ||
google-material = "1.12.0" | ||
gradlePlugin-agp = "8.7.3" |
Check warning
Code scanning / Android Lint
Obsolete Android Gradle Plugin Version Warning
Finishes migration from dbflow to room keeping the schema, Also includes the jackson to moshi migration to drop reflection, drops the last remaining usages of rxjava, and finalizes migration from mvp to mvvm.
Quality Gate failedFailed conditions |
Fixes #
Proposed Changes
Some of the changes can be backported from the develop branch