Refactor usages of Picture In Picture and Multi Window (4/4)

Bug: 27365860
Change-Id: I488fbc9fc8035fa06e6a68c117a58cc35749cc7c
This commit is contained in:
Andrii Kulian
2016-03-29 17:34:18 -07:00
parent 2eef746496
commit 701c15f00d
5 changed files with 13 additions and 13 deletions

View File

@@ -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));