diff options
author | 2023-08-25 18:25:07 +0000 | |
---|---|---|
committer | 2023-08-25 18:25:07 +0000 | |
commit | 94faa189471998c7d06a2c660734702c0ea72afc (patch) | |
tree | 9499e4d2c9865428d7cbc82d768b41f684b3937f /cmds/bootanimation/BootAnimation.cpp | |
parent | 331c2ad9f925916e2ead780d767b66442a208061 (diff) | |
parent | 757b050795a5246423dd29b7f0a7630ae4f2fe8a (diff) |
Merge "Migrate from android::String isEmpty to empty [bootanimation]" into main am: 1de5695524 am: 757b050795
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2725975
Change-Id: Id484fc0a654d54c8952606048bde03fdb7544372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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 b8d56008657d..fd79a04814fd 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -706,7 +706,7 @@ void BootAnimation::resizeSurface(int newWidth, int newHeight) { bool BootAnimation::preloadAnimation() { findBootAnimationFile(); - if (!mZipFileName.isEmpty()) { + if (!mZipFileName.empty()) { mAnimation = loadAnimation(mZipFileName); return (mAnimation != nullptr); } @@ -819,7 +819,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 { |