From 77aebfdbae489c3712ae3f9bca29d01fb1f09dc2 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Mon, 1 Oct 2012 21:07:03 -0700 Subject: Add new Display API for secure video capabilities. Added a new API to determine whether the display supports protected buffers so that an application can choose a different content stream or change how it decodes the content so that it will be viewable on the display. At present, wifi display does not fully support protected buffers although this may be enhanced in the future. Bug: 6986623 Change-Id: If53a53d72b0ec92753cc4b29f99fcb131e00449b --- api/17.txt | 2 ++ api/current.txt | 2 ++ 2 files changed, 4 insertions(+) (limited to 'api') diff --git a/api/17.txt b/api/17.txt index 1a6657c..f35a706 100644 --- a/api/17.txt +++ b/api/17.txt @@ -23714,6 +23714,7 @@ package android.view { public final class Display { method public void getCurrentSizeRange(android.graphics.Point, android.graphics.Point); method public int getDisplayId(); + method public int getFlags(); method public deprecated int getHeight(); method public void getMetrics(android.util.DisplayMetrics); method public java.lang.String getName(); @@ -23728,6 +23729,7 @@ package android.view { method public deprecated int getWidth(); method public boolean isValid(); field public static final int DEFAULT_DISPLAY = 0; // 0x0 + field public static final int FLAG_SUPPORTS_PROTECTED_BUFFERS = 1; // 0x1 } public class DragEvent implements android.os.Parcelable { diff --git a/api/current.txt b/api/current.txt index 4e7d012..a36727d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -23719,6 +23719,7 @@ package android.view { public final class Display { method public void getCurrentSizeRange(android.graphics.Point, android.graphics.Point); method public int getDisplayId(); + method public int getFlags(); method public deprecated int getHeight(); method public void getMetrics(android.util.DisplayMetrics); method public java.lang.String getName(); @@ -23733,6 +23734,7 @@ package android.view { method public deprecated int getWidth(); method public boolean isValid(); field public static final int DEFAULT_DISPLAY = 0; // 0x0 + field public static final int FLAG_SUPPORTS_PROTECTED_BUFFERS = 1; // 0x1 } public class DragEvent implements android.os.Parcelable { -- cgit v1.1