diff options
author | 2023-08-25 16:48:48 +0000 | |
---|---|---|
committer | 2023-08-25 16:48:48 +0000 | |
commit | 1de5695524c40bf9c6dc555198c63d21c3647252 (patch) | |
tree | 74b573c2ce1e5c7ab5e48c15c9a4f352d66cd8bf /cmds/bootanimation/BootAnimation.cpp | |
parent | cba232a1357bf89dd422c4f76cf13b336ad4a029 (diff) | |
parent | e8fb3c7c870065e48fd338fca07192b33fb0237b (diff) |
Merge "Migrate from android::String isEmpty to empty [bootanimation]" into main
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 8ceb9ec13d88..74ca41d0f9b4 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -691,7 +691,7 @@ void BootAnimation::resizeSurface(int newWidth, int newHeight) { bool BootAnimation::preloadAnimation() { findBootAnimationFile(); - if (!mZipFileName.isEmpty()) { + if (!mZipFileName.empty()) { mAnimation = loadAnimation(mZipFileName); return (mAnimation != nullptr); } @@ -821,7 +821,7 @@ bool BootAnimation::threadLoop() { // We have no bootanimation file, so we use the stock android logo // animation. - if (mZipFileName.isEmpty()) { + if (mZipFileName.empty()) { ALOGD("No animation file"); result = android(); } else { |