[Bugfix][T800][task-view-176] even set ims disable,ims still register
success

    Only Configure: No
    Affected branch: unknown
    Affected module: network
    Is it affected on both ZXIC and MTK: only MTK
    Self-test: yes
    Doc Update: no

Change-Id: I57c573430609c1f03c2af41c928e23afb7767811
diff --git a/IC_src/mtk/telephonyware/3.0/hardware/ril/fusion/libril/rilmipc/telephony/ims/RpImsController.cpp b/IC_src/mtk/telephonyware/3.0/hardware/ril/fusion/libril/rilmipc/telephony/ims/RpImsController.cpp
old mode 100644
new mode 100755
index ed7ad74..b2bef17
--- a/IC_src/mtk/telephonyware/3.0/hardware/ril/fusion/libril/rilmipc/telephony/ims/RpImsController.cpp
+++ b/IC_src/mtk/telephonyware/3.0/hardware/ril/fusion/libril/rilmipc/telephony/ims/RpImsController.cpp
@@ -67,6 +67,15 @@
 
 #define RFX_LOG_TAG "RpImsController"
 
+/*modify by hq at 20240905 for t800 bug 176 begin*/
+static const char PROPERTY_VOLTE_ENABLE[4][30] = {
+    "persist.mtk.volte.enable1",
+    "persist.mtk.volte.enable2",
+    "persist.mtk.volte.enable3",
+    "persist.mtk.volte.enable4"
+};
+/*modify by hq at 20240905 for t800 bug 176 end*/
+
 /*****************************************************************************
  * Class RfxDataController
  * The class is created if the slot is single mode, LWG or C,
@@ -209,6 +218,7 @@
         mipc_msg_t *msg_req_ptr = NULL;
 
         if (isImsSupport()) {
+            mtk_property_set(PROPERTY_VOLTE_ENABLE[request->getSlotId()],std::to_string(enable).c_str());//add by hq at 20240905 for t800 bug 176 
             data[0] = enable;
         } else {
             data[4] = 0;