Avoid dependency on androidfw Bug: http://b/33451638 Test: mm Change-Id: If3c311cae06fc60d7ab7ebf2b14539be3503ef2b
diff --git a/rsApiFileA3D.cpp b/rsApiFileA3D.cpp index a96dd11..50de3b2 100644 --- a/rsApiFileA3D.cpp +++ b/rsApiFileA3D.cpp
@@ -83,17 +83,8 @@ } RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset) { -#if !defined(__RS_PDK__) - Context *rsc = static_cast<Context *>(con); - Asset *asset = static_cast<Asset *>(_asset); - FileA3D *fa3d = new FileA3D(rsc); - fa3d->incUserRef(); - - fa3d->load(asset); - return fa3d; -#else + ALOGE("Calling deprecated %s API", __FUNCTION__); return nullptr; -#endif } RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) {