summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-07-15 21:03:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-07-15 21:03:55 +0000
commit4bf2a3ffd6a21584bd6bd68e2dcb908fdefe4d51 (patch)
tree863961b9cb01259b94483942aa9c19784f493381
parent1ae1107b0fde2cb6e2b496b61e494a7f9808ba49 (diff)
parentc83c3eb351591a9d805b70fbf9467f3c41771317 (diff)
downloadCluster-4bf2a3ffd6a21584bd6bd68e2dcb908fdefe4d51.tar.gz
Merge "DO NOT MERGE Replace the old getName() with the new getDisplayName()" into pi-car-dev
-rw-r--r--src/android/car/cluster/MusicFragmentViewModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/car/cluster/MusicFragmentViewModel.java b/src/android/car/cluster/MusicFragmentViewModel.java
index 6e0faef..769cac8 100644
--- a/src/android/car/cluster/MusicFragmentViewModel.java
+++ b/src/android/car/cluster/MusicFragmentViewModel.java
@@ -47,7 +47,7 @@ public final class MusicFragmentViewModel extends AndroidViewModel {
}
mMediaSourceViewModel = mediaSourceViewModel;
mMediaSource = mMediaSourceViewModel.getPrimaryMediaSource();
- mAppName = mapNonNull(mMediaSource, MediaSource::getName);
+ mAppName = mapNonNull(mMediaSource, MediaSource::getDisplayName);
mAppIcon = mapNonNull(mMediaSource, MediaSource::getRoundPackageIcon);
}