Add aa wifi entity detect
This commit is contained in:
parent
902d450e21
commit
d81b2c4a69
@ -93,6 +93,7 @@ void App::stop()
|
||||
androidAutoEntity_.reset();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
void App::aoapDeviceHandler(aasdk::usb::DeviceHandle deviceHandle)
|
||||
|
@ -67,6 +67,7 @@ void AndroidAutoEntity::start(IAndroidAutoEntityEventHandler& eventHandler)
|
||||
controlServiceChannel_->sendVersionRequest(std::move(versionRequestPromise));
|
||||
controlServiceChannel_->receive(this->shared_from_this());
|
||||
});
|
||||
system("/opt/crankshaft/aa_device_state.sh connected &");
|
||||
}
|
||||
|
||||
void AndroidAutoEntity::stop()
|
||||
@ -81,6 +82,7 @@ void AndroidAutoEntity::stop()
|
||||
transport_->stop();
|
||||
cryptor_->deinit();
|
||||
});
|
||||
system("/opt/crankshaft/aa_device_state.sh disconnected &");
|
||||
}
|
||||
|
||||
void AndroidAutoEntity::onVersionResponse(uint16_t majorCode, uint16_t minorCode, aasdk::proto::enums::VersionResponseStatus::Enum status)
|
||||
|
@ -2172,7 +2172,7 @@ background-color: rgba(0, 0, 0, 0);
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0, 0, 0, 0.5);
|
||||
color: rgb(255, 255, 255);
|
||||
heigth: 45px;</string>
|
||||
height: 45px;</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||
<property name="spacing">
|
||||
|
Loading…
x
Reference in New Issue
Block a user