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