Fix bug with bad conversion of java strings to C strings for object names. Update test app to test object defines.
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index 184740f..21ae8c5 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -76,9 +76,10 @@
void setupCheck();
- void assignName(ObjectBase *obj, const char *name);
+ void assignName(ObjectBase *obj, const char *name, uint32_t len);
void removeName(ObjectBase *obj);
ObjectBase * lookupName(const char *name) const;
+ void appendNameDefines(String8 *str) const;
protected:
Device *mDev;