Merge "Fix 5389072: NPE in MediaController.updateFloatingWindowLayout()."
This commit is contained in:
committed by
Android (Google) Code Review
commit
bdb38c14b9
@@ -113,15 +113,12 @@ public class MediaController extends FrameLayout {
|
||||
super(context);
|
||||
mContext = context;
|
||||
mUseFastForward = useFastForward;
|
||||
initFloatingWindowLayout();
|
||||
initFloatingWindow();
|
||||
}
|
||||
|
||||
public MediaController(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
mUseFastForward = true;
|
||||
initFloatingWindow();
|
||||
initFloatingWindowLayout();
|
||||
this(context, true);
|
||||
}
|
||||
|
||||
private void initFloatingWindow() {
|
||||
|
||||
Reference in New Issue
Block a user