Skip to content
Snippets Groups Projects
Commit 1de56955 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Migrate from android::String isEmpty to empty [bootanimation]" into main

parents cba232a1 e8fb3c7c
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment