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);
|
super(context);
|
||||||
mContext = context;
|
mContext = context;
|
||||||
mUseFastForward = useFastForward;
|
mUseFastForward = useFastForward;
|
||||||
|
initFloatingWindowLayout();
|
||||||
initFloatingWindow();
|
initFloatingWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
public MediaController(Context context) {
|
public MediaController(Context context) {
|
||||||
super(context);
|
this(context, true);
|
||||||
mContext = context;
|
|
||||||
mUseFastForward = true;
|
|
||||||
initFloatingWindow();
|
|
||||||
initFloatingWindowLayout();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initFloatingWindow() {
|
private void initFloatingWindow() {
|
||||||
|
|||||||
Reference in New Issue
Block a user