summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-04-12 16:22:15 -0700
committerMathias Agopian <mathias@google.com>2010-04-12 16:29:36 -0700
commite4e8cf1f19002be418aad1b89fa6bb8aeabf9f65 (patch)
tree744fcc6bd303f071d2ff642be0cefb7e8d8247b6 /include
parentb3815412f0b46718330febf8c54a8b67c53b7f51 (diff)
downloadframeworks_native-e4e8cf1f19002be418aad1b89fa6bb8aeabf9f65.zip
frameworks_native-e4e8cf1f19002be418aad1b89fa6bb8aeabf9f65.tar.gz
frameworks_native-e4e8cf1f19002be418aad1b89fa6bb8aeabf9f65.tar.bz2
don't hardcode "mSurface" throughout our source code
this is used in a few places to get access to the android.view.Surface native surface. use a macro instead. Also rename the field to mNativeSurface. Change-Id: I1c6dea14abd6b8b1392c7f97b304115999355094
Diffstat (limited to 'include')
-rw-r--r--include/surfaceflinger/Surface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/surfaceflinger/Surface.h b/include/surfaceflinger/Surface.h
index 0279d84..4c8d023 100644
--- a/include/surfaceflinger/Surface.h
+++ b/include/surfaceflinger/Surface.h
@@ -30,6 +30,8 @@
#include <surfaceflinger/ISurface.h>
#include <surfaceflinger/ISurfaceFlingerClient.h>
+#define ANDROID_VIEW_SURFACE_JNI_ID "mNativeSurface"
+
namespace android {
// ---------------------------------------------------------------------------