commit | 970a1d40ee84e49d15a4d86de389b66a041f4206 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat Aug 03 23:17:05 2019 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat Aug 03 23:17:05 2019 +0000 |
tree | b18d9ef57da440d2dfed7fe1686b7aed5d2cc36f | |
parent | 2a90755219915b788dd82aadfc414f6be80926f7 [diff] | |
parent | 515d8c6da9da6ac44308e51332daf48816605190 [diff] |
Snap for 5778854 from 515d8c6da9da6ac44308e51332daf48816605190 to qt-c2f2-release Change-Id: Ie479754bbca857975c72d8457b602d2e31bf6a3d
diff --git a/src/com/android/car/media/localmediaplayer/DataModel.java b/src/com/android/car/media/localmediaplayer/DataModel.java index 1b94855..3d4ee2f 100644 --- a/src/com/android/car/media/localmediaplayer/DataModel.java +++ b/src/com/android/car/media/localmediaplayer/DataModel.java
@@ -205,8 +205,7 @@ .setResolver(mResolver) .setResult(result); - Uri[] uri = null; - if (lastCategory.equals(LocalMediaBrowserService.GENRES_ID)) { + if (LocalMediaBrowserService.GENRES_ID.equals(lastCategory)) { // Genres come from a different table and don't use the where clause from the // usual media table so we need to have this condition. try {