diff options
author | Yabin Huang <yabinh@google.com> | 2019-06-28 15:49:41 -0700 |
---|---|---|
committer | Yabin Huang <yabinh@google.com> | 2019-07-15 21:16:04 +0000 |
commit | 24518af48447834b5c5ef8cbe5871cdedd19ec45 (patch) | |
tree | 5747e3dc7e63c922c421828f0a8c314c2ac01e1f | |
parent | 6cc0a84fbcd01354c36865cc083994387dcf441c (diff) | |
download | Cluster-24518af48447834b5c5ef8cbe5871cdedd19ec45.tar.gz |
Replace the old getName() with the new getDisplayName()
Bug: 8154645
Test: manual
Change-Id: Icefffe6ab970596c1f60e2bfe924e02f8e52601f
(cherry picked from commit c83c3eb351591a9d805b70fbf9467f3c41771317)
-rw-r--r-- | src/android/car/cluster/MusicFragmentViewModel.java | 2 |
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); } |