From e4e8cf1f19002be418aad1b89fa6bb8aeabf9f65 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 12 Apr 2010 16:22:15 -0700 Subject: [PATCH] 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 --- include/surfaceflinger/Surface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/surfaceflinger/Surface.h b/include/surfaceflinger/Surface.h index 0279d84b6..4c8d0235f 100644 --- a/include/surfaceflinger/Surface.h +++ b/include/surfaceflinger/Surface.h @@ -30,6 +30,8 @@ #include #include +#define ANDROID_VIEW_SURFACE_JNI_ID "mNativeSurface" + namespace android { // ---------------------------------------------------------------------------