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

Commit 4d830117 authored by Daniel Hillenbrand's avatar Daniel Hillenbrand Committed by Gerrit Code Review
Browse files

Merge "charger: do not suspend when handling home" into cm-10.1

parents 8d775577 d559a355
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -895,9 +895,11 @@ static void process_key(struct charger *charger, int code, int64_t now)
            }
        }
    } else {
        if (key->pending)
        if (key->pending) {
            request_suspend(false);
            kick_animation(charger->batt_anim);
        }
    }

    key->pending = false;
}