summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-09-17 23:45:22 -0700
committerMathias Agopian <mathias@google.com>2013-09-17 23:45:22 -0700
commitc1c05de415854eb7a13a16b7e22a22de8515123a (patch)
tree9be282141f29b6c5ec7d6b75bffb59a05d26be42 /include/ui
parent799f51268006f319f6ae538dca670bfc7f522688 (diff)
downloadframeworks_native-c1c05de415854eb7a13a16b7e22a22de8515123a.zip
frameworks_native-c1c05de415854eb7a13a16b7e22a22de8515123a.tar.gz
frameworks_native-c1c05de415854eb7a13a16b7e22a22de8515123a.tar.bz2
fix camera API 2.0 orientation
we add a flag to ANativeWindow::setBufferTransform that means "apply the inverse rotation of the display this buffer is displayed onto to". Bug: 10804238 Change-Id: Id2447676271950463e8dbcef1b95935c5c3f32b2
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/TMatHelpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ui/TMatHelpers.h b/include/ui/TMatHelpers.h
index cead10a..a6aadca 100644
--- a/include/ui/TMatHelpers.h
+++ b/include/ui/TMatHelpers.h
@@ -245,7 +245,7 @@ template <template<typename T> class BASE, typename T>
class TMatDebug {
public:
String8 asString() const {
- return matrix::asString(*this);
+ return matrix::asString( static_cast< const BASE<T>& >(*this) );
}
};