[6.7.0][启自驾] refactor: rename function ;
This commit is contained in:
@@ -39,7 +39,7 @@ class BoneTopStatusLayout @JvmOverloads constructor(
|
|||||||
kotlin.runCatching {
|
kotlin.runCatching {
|
||||||
startAutoPilotContainer?.also { container ->
|
startAutoPilotContainer?.also { container ->
|
||||||
container.removeAllViews()
|
container.removeAllViews()
|
||||||
val view = CallerOchCustomViewManager.getAutopilotView(context)
|
val view = CallerOchCustomViewManager.getStartAutopilotView(context)
|
||||||
Logger.d(TAG, "$view ${Thread.currentThread().name}")
|
Logger.d(TAG, "$view ${Thread.currentThread().name}")
|
||||||
view?.also {
|
view?.also {
|
||||||
container.addView(it)
|
container.addView(it)
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ object CallerOchCustomViewManager {
|
|||||||
/**
|
/**
|
||||||
* 创建 自动自动驾驶 自定义 View
|
* 创建 自动自动驾驶 自定义 View
|
||||||
*/
|
*/
|
||||||
fun getAutopilotView(context: Context?): View? {
|
fun getStartAutopilotView(context: Context?): View? {
|
||||||
return ochCustomViewProviderApi?.createStartAutopilotView(context)
|
return ochCustomViewProviderApi?.createStartAutopilotView(context)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user