Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2021-12-16 21:42:36 +08:00
parent 904e168bb6
commit 0b7ebd436c
3 changed files with 3 additions and 2 deletions
@@ -22,6 +22,7 @@
namespace OHOS {
namespace MiscServices {
struct EventListener {
int LISTENER_TYPTE_MAX_LENGTH = 64;
char type[LISTENER_TYPTE_MAX_LENGTH] = { 0 };
bool isOnce = false;
napi_ref handlerRef = nullptr;
-1
View File
@@ -43,7 +43,6 @@ namespace MiscServices {
{
userId_ = userId;
msgId_ = msgId;
imsChannel = nullptr;
}
RemoteObjectDeathRecipient::~RemoteObjectDeathRecipient()
+2 -1
View File
@@ -12,7 +12,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "unistd.h" // usleep
#include "peruser_setting.h"
#include "platform.h"
#include "utils.h"