summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2016-01-12 09:14:21 +0800
committerMiao Wang <miaowang@google.com>2016-01-12 09:14:21 +0800
commitfda559674cb1bd16b885f97951bda775cdc3af5c (patch)
tree6c121344cd315477ab1030fe8bbdea385290f240 /cpp/RenderScript.cpp
parent8ea0a4219a55a84bf41b324a26f18babdd251dc3 (diff)
Add back RS::init(const char*, uint32_t)
Bug: 26202632 Change-Id: Ia6610623fe8444abfbe95f8d3170b9ed9677d526
Diffstat (limited to 'cpp/RenderScript.cpp')
-rw-r--r--cpp/RenderScript.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp
index 5ee30603..ecc76c86 100644
--- a/cpp/RenderScript.cpp
+++ b/cpp/RenderScript.cpp
@@ -75,6 +75,10 @@ RS::~RS() {
}
}
+bool RS::init(const char * name, uint32_t flags) {
+ return RS::init(name, flags, 0);
+}
+
// This will only open API 19+ libRS, because that's when
// we changed libRS to extern "C" entry points.
static bool loadSO(const char* filename, int targetApi) {