Merge "Ensure media resumption controls have a title" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d98b964b80
@@ -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