Merge "Set MediaController floating window token."
This commit is contained in:
committed by
Android (Google) Code Review
commit
194e886c00
@@ -218,6 +218,7 @@ public class MediaController extends FrameLayout {
|
||||
p.width = mAnchor.getWidth();
|
||||
p.x = anchorPos[0] + (mAnchor.getWidth() - p.width) / 2;
|
||||
p.y = anchorPos[1] + mAnchor.getHeight() - mDecor.getMeasuredHeight();
|
||||
p.token = mAnchor.getWindowToken();
|
||||
}
|
||||
|
||||
// This is called whenever mAnchor's layout bound changes
|
||||
|
||||
Reference in New Issue
Block a user