diff options
author | 2023-09-13 21:26:45 +0000 | |
---|---|---|
committer | 2023-09-13 21:26:45 +0000 | |
commit | 41363ba9fceec76e0233db8889d75e986b91f39a (patch) | |
tree | a503827eb2943bb7e44c42c319a9f284c8e17cd8 /cmds/bootanimation/BootAnimation.cpp | |
parent | 545d8455698f29d35c3ed0b85139016d5a15eb0c (diff) | |
parent | 835dfe50a73c6f6de581aaa143c333af79bcca4d (diff) |
Merge "Don't depend on String8 cast to C string" into main
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index fadf82afe858..0ed47e7da2c9 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -1790,7 +1790,7 @@ BootAnimation::Animation* BootAnimation::loadAnimation(const String8& fn) { fn.c_str()); return nullptr; } - ZipFileRO *zip = ZipFileRO::open(fn); + ZipFileRO *zip = ZipFileRO::open(fn.c_str()); if (zip == nullptr) { SLOGE("Failed to open animation zip \"%s\": %s", fn.c_str(), strerror(errno)); |