[apps/settings] Open hardware test with 6, t or T events

Change-Id: Id4446d7cc090578b42abe94069b5bc1e4d7f5037
This commit is contained in:
Émilie Feral
2017-05-22 16:11:33 +02:00
parent f1516e57dc
commit e7e785663b

View File

@@ -58,7 +58,7 @@ void SubController::didEnterResponderChain(Responder * previousResponder) {
bool SubController::handleEvent(Ion::Events::Event event) {
/* We hide here the activation hardware test app: in the menu "about", by
* clicking on '6' on the serial number row. */
if (event == Ion::Events::Six && m_nodeModel->label() == I18n::Message::About && selectedRow() == 1) {
if ((event == Ion::Events::Six || event == Ion::Events::LowerT || event == Ion::Events::UpperT) && m_nodeModel->label() == I18n::Message::About && selectedRow() == 1) {
AppsContainer * appsContainer = (AppsContainer *)app()->container();
appsContainer->switchTo(appsContainer->hardwareTestAppSnapshot());
return true;