From fda559674cb1bd16b885f97951bda775cdc3af5c Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Tue, 12 Jan 2016 09:14:21 +0800 Subject: Add back RS::init(const char*, uint32_t) Bug: 26202632 Change-Id: Ia6610623fe8444abfbe95f8d3170b9ed9677d526 --- cpp/RenderScript.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/RenderScript.cpp') 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) { -- cgit v1.2.3