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

Commit 4d4b233e authored by yetta_wu's avatar yetta_wu Committed by Android Git Automerger
Browse files

am 2f6877a0: recovery: init backgroundIcon properly to avoid recovery mode crash

* commit '2f6877a0':
  recovery: init backgroundIcon properly to avoid recovery mode crash
parents 8cd12112 2f6877a0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -82,6 +82,10 @@ ScreenRecoveryUI::ScreenRecoveryUI() :
    install_overlay_offset_y(190),
    overlay_offset_x(-1),
    overlay_offset_y(-1) {

    for (int i = 0; i < 5; i++)
        backgroundIcon[i] = NULL;

    pthread_mutex_init(&updateMutex, NULL);
    self = this;
}