commit | 6b1f41004fa48e96bab61f508867314261de660b | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu Aug 06 16:04:29 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu Aug 06 16:04:29 2009 -0700 |
tree | d5988740afd45581663457af7870db42faef4160 | |
parent | 1c3561e8d862d8fd27f8e843a18f251b9d9500b4 [diff] [blame] |
added NATIVE_WINDOW_FORMAT attribute to android_native_window_t
diff --git a/libs/ui/Surface.cpp b/libs/ui/Surface.cpp index c73909f..4abb7f6 100644 --- a/libs/ui/Surface.cpp +++ b/libs/ui/Surface.cpp
@@ -620,6 +620,9 @@ case NATIVE_WINDOW_HEIGHT: *value = int(mHeight); return NO_ERROR; + case NATIVE_WINDOW_FORMAT: + *value = int(mFormat); + return NO_ERROR; } return BAD_VALUE; }