| 385 | } |
| 386 | |
| 387 | bool ResourceExists(const char* path) |
| 388 | { |
| 389 | AAssetManager* am = GetAndroidAssetManager(); |
| 390 | if (am) |
| 391 | { |
| 392 | AAsset* asset = AAssetManager_open(am, path, AASSET_MODE_RANDOM); |
| 393 | if (asset) |
| 394 | { |
| 395 | AAsset_close(asset); |
| 396 | return true; |
| 397 | } |
| 398 | } |
| 399 | return dmSysPosix::ResourceExists(path); |
| 400 | } |
| 401 | |
| 402 | Result ResourceSize(const char* path, uint32_t* resource_size) |
| 403 | { |
nothing calls this directly
no test coverage detected