Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86bf65e5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "storaged: Fix bug in empty check" am: 46de7add am: 2ae516ef

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1915078

Change-Id: I9ac97e43377071445e561c3be43c935a39a11c9f
parents c314f7c8 2ae516ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ void health_storage_info_t::report() {
    vector<StorageInfo> halInfos;
    auto ret = mHealth->getStorageInfo(&halInfos);
    if (ret.isOk()) {
        if (halInfos.size() == 0) {
        if (halInfos.size() != 0) {
            set_values_from_hal_storage_info(halInfos[0]);
            publish();
            return;