add system operation view
This commit is contained in:
@@ -15,8 +15,8 @@ object CallerAutoPilotManager {
|
||||
|
||||
private val providerApi: IMoGoAutopilotProvider
|
||||
get() = CallerBase.getApiInstance(
|
||||
IMoGoAutopilotProvider::class.java,
|
||||
MogoServicePaths.PATH_AUTO_PILOT
|
||||
IMoGoAutopilotProvider::class.java,
|
||||
MogoServicePaths.PATH_AUTO_PILOT
|
||||
)
|
||||
|
||||
/**
|
||||
@@ -74,4 +74,12 @@ object CallerAutoPilotManager {
|
||||
fun setAutoPilotSpeed(speed: Int): Boolean {
|
||||
return providerApi.setAutoPilotSpeed(speed)
|
||||
}
|
||||
|
||||
fun setIPCShutDown() {
|
||||
providerApi.setIPCShutDown()
|
||||
}
|
||||
|
||||
fun setIPCReboot() {
|
||||
providerApi.setIPCReboot()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user