legacy: Use btm_client_api BTA_dm_on_hw_on

Bug: 193716447
Tag: #refactor
Test: gd/cert/run

Change-Id: Ibb6e5ef0dc063baf7190358ed128acd476d8a5a4
diff --git a/system/bta/dm/bta_dm_act.cc b/system/bta/dm/bta_dm_act.cc
index eb83b2e..48b95e1 100644
--- a/system/bta/dm/bta_dm_act.cc
+++ b/system/bta/dm/bta_dm_act.cc
@@ -401,7 +401,8 @@
      which forces
      the DM_ENABLE_EVT to be sent only after all the init steps are complete
      */
-  BTM_ReadLocalDeviceNameFromController(bta_dm_local_name_cback);
+  get_btm_client_interface().local.BTM_ReadLocalDeviceNameFromController(
+      bta_dm_local_name_cback);
 
   bta_sys_rm_register(bta_dm_rm_cback);