From 28fe1ee579db0f50beca525f24b35de5e898fa34 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Tue, 27 Aug 2013 10:55:12 -0700 Subject: [PATCH] Forward compatibility fix Change-Id: Ib031372d43881a9bb7af1e51fb2c7cf55e03a326 --- core/jni/android/graphics/GraphicsJNI.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/jni/android/graphics/GraphicsJNI.h b/core/jni/android/graphics/GraphicsJNI.h index c5b06f5c3148f..bdfa37d63f309 100644 --- a/core/jni/android/graphics/GraphicsJNI.h +++ b/core/jni/android/graphics/GraphicsJNI.h @@ -17,6 +17,12 @@ class SkPicture; class GraphicsJNI { public: + enum BitmapCreateFlags { + kBitmapCreateFlag_None = 0x0, + kBitmapCreateFlag_Mutable = 0x1, + kBitmapCreateFlag_Premultiplied = 0x2, + }; + // returns true if an exception is set (and dumps it out to the Log) static bool hasException(JNIEnv*);