recovery: ui: Default to touch enabled
Change-Id: I048905cda2ea0439338e0dea43029041bff22c00
diff --git a/recovery_ui/include/recovery_ui/ui.h b/recovery_ui/include/recovery_ui/ui.h
index c3bb03f..04db868 100644
--- a/recovery_ui/include/recovery_ui/ui.h
+++ b/recovery_ui/include/recovery_ui/ui.h
@@ -209,7 +209,7 @@
std::string brightness_file_;
std::string max_brightness_file_;
- // Whether we should listen for touch inputs (default: false).
+ // Whether we should listen for touch inputs (default: true).
bool touch_screen_allowed_;
bool fastbootd_logo_enabled_;
diff --git a/recovery_ui/ui.cpp b/recovery_ui/ui.cpp
index 9b0fd94..5e35adf 100644
--- a/recovery_ui/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -67,7 +67,7 @@
android::base::GetProperty("ro.recovery.ui.brightness_file", DEFAULT_BRIGHTNESS_FILE)),
max_brightness_file_(android::base::GetProperty("ro.recovery.ui.max_brightness_file",
DEFAULT_MAX_BRIGHTNESS_FILE)),
- touch_screen_allowed_(false),
+ touch_screen_allowed_(true),
fastbootd_logo_enabled_(false),
touch_low_threshold_(android::base::GetIntProperty("ro.recovery.ui.touch_low_threshold",
kDefaultTouchLowThreshold)),