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

Commit f094fe6f authored by Dan Pasanen's avatar Dan Pasanen Committed by Gerrit Code Review
Browse files

ShutdownThread: set soft reboot trigger accordingly

Change-Id: I72bd52aa1492d356e368e8c60897002c1f110172
parent 31d45c8e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -189,9 +189,7 @@ public final class ShutdownThread extends Thread {

                                    if (actions != null && which < actions.length) {
                                        mRebootReason = actions[which];
                                        if (actions[which].equals(SOFT_REBOOT)) {
                                            mRebootSoft = true;
                                        }
                                        mRebootSoft = actions[which].equals(SOFT_REBOOT);
                                    }
                                }
                            })