| 51 | } |
| 52 | |
| 53 | void LockscreenMenuLayout::OnMenuInput(const u64 keys_down, const u64 keys_up, const u64 keys_held, const pu::ui::TouchPoint touch_pos) { |
| 54 | if(keys_down != 0) { |
| 55 | UnlockScreen(); |
| 56 | } |
| 57 | |
| 58 | this->UpdateConnectionTopIcon(this->connection_top_icon); |
| 59 | this->UpdateTimeText(this->time_mtext); |
| 60 | this->UpdateDateText(this->date_text); |
| 61 | this->UpdateBatteryTextAndTopIcons(this->battery_text, this->battery_top_icon, this->battery_charging_top_icon); |
| 62 | } |
| 63 | |
| 64 | bool LockscreenMenuLayout::OnHomeButtonPress() { |
| 65 | UnlockScreen(); |
nothing calls this directly
no test coverage detected