summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-10-01 21:07:03 -0700
committerJeff Brown <jeffbrown@google.com>2012-10-02 16:25:10 -0700
commit77aebfdbae489c3712ae3f9bca29d01fb1f09dc2 (patch)
tree5f3cf170ce629f5b2f74374ea4b21197ed7a841d /api
parent4253abbcfa3165ad7d06c4de97cd780c4e96f94a (diff)
downloadframeworks_base-77aebfdbae489c3712ae3f9bca29d01fb1f09dc2.zip
frameworks_base-77aebfdbae489c3712ae3f9bca29d01fb1f09dc2.tar.gz
frameworks_base-77aebfdbae489c3712ae3f9bca29d01fb1f09dc2.tar.bz2
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
Diffstat (limited to 'api')
-rw-r--r--api/17.txt2
-rw-r--r--api/current.txt2
2 files changed, 4 insertions, 0 deletions
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 {