From 9a2a20503c214ed25a897c34981be3aaef44c36d Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Tue, 31 May 2016 21:31:22 -0500 Subject: GUI: Add countdown & cancel to install auto-reboot Provide a countdown from 5 sec for the automated reboot after install. Include a cancel button to interrupt the process. Change-Id: Ib5e1447918adfde45eba361c088800812b690890 --- data.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'data.cpp') diff --git a/data.cpp b/data.cpp index 81e9ca234..3eb9dadae 100644 --- a/data.cpp +++ b/data.cpp @@ -716,6 +716,8 @@ void DataManager::SetDefaultValues() #endif mData.SetValue("tw_gui_done", "0"); mData.SetValue("tw_encrypt_backup", "0"); + mData.SetValue("tw_sleep_total", "5"); + mData.SetValue("tw_sleep", "5"); // Brightness handling string findbright; -- cgit v1.2.3