return false;\r
}\r
}\r
+ if (strcmp(view.GetViewId(), "SOS_FAIL") == 0) {\r
+ NotificationManager::GetInstance()->StopNotify();\r
+ }\r
+\r
return true;\r
}\r
} // namespace OHOS\r
#include "rebootandshutdown/include/RebootAndShutdownView.h"
#include "rebootandshutdown/include/RebootAndShutdownModel.h"
-#ifdef FD230_650
+// #ifdef FD230_650
#include "dial_sos_c.h"
-#endif
+// #endif
#include "vibrator_service.h"
}
else if (strcmp(view.GetViewId(), SOS_BUTTON_VIEWID) == 0)
{
- #ifdef FD230_650
+ // #ifdef FD230_650
start_SOS_phone_dail();
- #endif
+ // #endif
}
return true;
return false;\r
}\r
}\r
+ if (strcmp(view.GetViewId(), "SOS_FAIL") == 0) {\r
+ NotificationManager::GetInstance()->StopNotify();\r
+ }\r
return true;\r
}\r
} // namespace OHOS\r
#include "rebootandshutdown/include/RebootAndShutdownView.h"
#include "rebootandshutdown/include/RebootAndShutdownModel.h"
-#ifdef FD230_650
+// #ifdef FD230_650
#include "dial_sos_c.h"
-#endif
+// #endif
#include "vibrator_service.h"
}
else if (strcmp(view.GetViewId(), SOS_BUTTON_VIEWID) == 0)
{
- #ifdef FD230_650
+ // #ifdef FD230_650
start_SOS_phone_dail();
- #endif
+ // #endif
}
return true;
return false;\r
}\r
}\r
+ if (strcmp(view.GetViewId(), "SOS_FAIL") == 0) {\r
+ NotificationManager::GetInstance()->StopNotify();\r
+ }\r
return true;\r
}\r
} // namespace OHOS\r
#include "rebootandshutdown/include/RebootAndShutdownView.h"
#include "rebootandshutdown/include/RebootAndShutdownModel.h"
-#ifdef FD230_650
+// #ifdef FD230_650
#include "dial_sos_c.h"
-#endif
+// #endif
#include "vibrator_service.h"
}
else if (strcmp(view.GetViewId(), SOS_BUTTON_VIEWID) == 0)
{
- #ifdef FD230_650
+ // #ifdef FD230_650
start_SOS_phone_dail();
- #endif
+ // #endif
}
return true;
return false;\r
}\r
}\r
+ if (strcmp(view.GetViewId(), "SOS_FAIL") == 0) {\r
+ NotificationManager::GetInstance()->StopNotify();\r
+ }\r
return true;\r
}\r
} // namespace OHOS\r
custom_VibratorFunc_int(0);
}
}
-
+
+