Skip to content

Commit

Permalink
Update Cast SDK version to 21.2.0
Browse files Browse the repository at this point in the history
Change-Id: I18d3a07b4ca3e98c34ebdabb843727089f60781f
  • Loading branch information
kaniu Ndungu committed Nov 21, 2022
1 parent 8bb8ce2 commit 99d3de4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.5.0'
implementation 'androidx.mediarouter:mediarouter:1.3.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'com.google.android.gms:play-services-cast-framework:21.1.0'
implementation 'com.google.android.gms:play-services-cast-framework:21.2.0'
implementation 'com.android.volley:volley:1.2.1'

androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
Expand Down
2 changes: 1 addition & 1 deletion app-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
dependencies {
implementation 'androidx.mediarouter:mediarouter:1.3.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'com.google.android.gms:play-services-cast-framework:21.1.0'
implementation 'com.google.android.gms:play-services-cast-framework:21.2.0'
implementation 'com.android.volley:volley:1.2.1'

androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ class CastOptionsProvider : OptionsProvider {
}

private class ImagePickerImpl : ImagePicker() {
override fun onPickImage(mediaMetadata: MediaMetadata, hints: ImageHints): WebImage? {
override fun onPickImage(mediaMetadata: MediaMetadata?, hints: ImageHints): WebImage? {
val type = hints.type
if (!mediaMetadata.hasImages()) {
if (!mediaMetadata!!.hasImages()) {
return null
}
val images = mediaMetadata.images
Expand Down

0 comments on commit 99d3de4

Please sign in to comment.