diff options
| author | 2011-03-15 10:33:35 -0700 | |
|---|---|---|
| committer | 2011-03-15 10:33:35 -0700 | |
| commit | 3c742ef11b3d659f55ad1ca3661c7b8c6dacbcfa (patch) | |
| tree | 8d317a053869691449a9a6fa8f97e79c0b42589a /libs/ui/FramebufferNativeWindow.cpp | |
| parent | f15a7cdbfb25072255481069307c40b647b7d469 (diff) | |
| parent | 391bbe2246a7547dbf3460c231b3c5ba691d4eb1 (diff) | |
Merge "ANativeWindow: add query for the concrete type." into honeycomb-mr1
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
| -rw-r--r-- | libs/ui/FramebufferNativeWindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp index 0702d49667..dc223f9645 100644 --- a/libs/ui/FramebufferNativeWindow.cpp +++ b/libs/ui/FramebufferNativeWindow.cpp @@ -286,6 +286,9 @@ int FramebufferNativeWindow::query(ANativeWindow* window, case NATIVE_WINDOW_FORMAT: *value = fb->format; return NO_ERROR; + case NATIVE_WINDOW_CONCRETE_TYPE: + *value = NATIVE_WINDOW_FRAMEBUFFER; + return NO_ERROR; } *value = 0; return BAD_VALUE; |