Refactor usages of Picture In Picture and Multi Window (4/4)
Bug: 27365860 Change-Id: I488fbc9fc8035fa06e6a68c117a58cc35749cc7c
This commit is contained in:
@@ -40,7 +40,7 @@ public class CaptionOverlayActivity extends Activity
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
// Overlay the caption on the content.
|
||||
overlayWithDecorCaption(true);
|
||||
setOverlayWithDecorCaptionEnabled(true);
|
||||
setContentView(R.layout.caption_overlay_layout);
|
||||
getWindow().setRestrictedCaptionAreaListener(this);
|
||||
getWindow().setResizingCaptionDrawable(new ColorDrawable(Color.BLACK));
|
||||
|
||||
Reference in New Issue
Block a user