Home
last modified time | relevance | path

Searched refs:newMediaSource (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
H A DMediaSourceViewModel.java186 private void updateModelState(MediaSource newMediaSource) { in updateModelState() argument
189 if (Objects.equals(oldMediaSource, newMediaSource)) { in updateModelState()
194 mPrimaryMediaSource.setValue(newMediaSource); in updateModelState()
197 if (newMediaSource != null) { in updateModelState()
198 mBrowserConnector.connectTo(newMediaSource); in updateModelState()
/aosp12/packages/apps/Car/Media/src/com/android/car/media/
H A DMediaActivity.java361 MediaSource newMediaSource = FutureData.getData(futureSource); in onMediaSourceChanged() local
365 mErrorController.onMediaSourceChanged(newMediaSource); in onMediaSourceChanged()
371 if (newMediaSource != null) { in onMediaSourceChanged()
373 Log.i(TAG, "Browsing: " + newMediaSource.getDisplayName()); in onMediaSourceChanged()
376 if (Objects.equals(oldMediaSource, newMediaSource)) { in onMediaSourceChanged()