aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--screen_ui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index cae78c8..8e6c733 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -39,6 +39,7 @@
#include "minui/minui.h"
#include "screen_ui.h"
#include "ui.h"
+#include "cutils/properties.h"
// Return the current time as a double (including fractions of a second).
static double now() {
@@ -422,6 +423,7 @@ void ScreenRecoveryUI::OMGRainbows()
{
rainbow = rainbow ? false : true;
set_rainbow_mode(rainbow);
+ property_set("sys.rainbow.recovery", rainbow ? "1" : "0");
}
void ScreenRecoveryUI::ProgressThreadLoop() {