Merge "Ensure media resumption controls have a title" into rvc-dev am: d98b964b80 am: efd785e824
Change-Id: I8bd0ed7c46a00011db0a2ad91338c6003e1e1d4f
This commit is contained in:
@@ -343,6 +343,11 @@ public class QSPanel extends LinearLayout implements Tunable, Callback, Brightne
|
||||
return;
|
||||
}
|
||||
|
||||
if (desc == null || desc.getTitle() == null) {
|
||||
Log.e(TAG, "Description incomplete");
|
||||
return;
|
||||
}
|
||||
|
||||
Log.d(TAG, "adding track from browser: " + desc + ", " + component);
|
||||
QSMediaPlayer player = new QSMediaPlayer(mContext, QSPanel.this,
|
||||
null, mForegroundExecutor, mBackgroundExecutor, mActivityStarter);
|
||||
|
||||
Reference in New Issue
Block a user