Skip to content

Commit

Permalink
recovery: ui: Default to touch enabled
Browse files Browse the repository at this point in the history
Change-Id: I048905cda2ea0439338e0dea43029041bff22c00
  • Loading branch information
tdm authored and xenxynon committed Dec 28, 2024
1 parent 8839d16 commit 9c5414f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recovery_ui/include/recovery_ui/ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class RecoveryUI {
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_;
Expand Down
2 changes: 1 addition & 1 deletion recovery_ui/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RecoveryUI::RecoveryUI()
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)),
Expand Down

0 comments on commit 9c5414f

Please sign in to comment.