diff options
author | 2023-08-25 19:41:31 +0000 | |
---|---|---|
committer | 2023-08-25 19:41:31 +0000 | |
commit | 34a4089b69d9444e055af1dd29b259ad3cde4b98 (patch) | |
tree | f4e40419b6732e016193c83c74a605869b776fd9 /cmds/bootanimation/BootAnimation.cpp | |
parent | ae27609c55d51f986da6bf28160e2a260cb00916 (diff) | |
parent | 4d51bc3da2647c7adee577ca6691f5161e6fc537 (diff) |
Merge "Migrate from android::String isEmpty to empty [bootanimation]" into main am: 1de5695524 am: 757b050795 am: 94faa18947 am: 4d51bc3da2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2725975
Change-Id: I2e7e38a18b2242505d512b46072dfd4cbd2d7f4c
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 { |