Extend timeout value of RW power notification monitor
We found sometimes the RW power notification comes after 1s.
Put the timeout value to 5s.
Bug: 156568903
Bug: 158951974
Bug: 158659609
Test: build pass
Change-Id: I7f1947dec6245f12e936374011429dc6ef656068
diff --git a/st21nfc/hal_wrapper.cc b/st21nfc/hal_wrapper.cc
index e6b7cd1..d8cd9cf 100644
--- a/st21nfc/hal_wrapper.cc
+++ b/st21nfc/hal_wrapper.cc
@@ -433,7 +433,7 @@
} else if ((p_data[0] == 0x6f) && (p_data[1] == 0x05)) {
// start timer
mTimerStarted = true;
- HalSendDownstreamTimer(mHalHandle, 1000);
+ HalSendDownstreamTimer(mHalHandle, 5000);
mIsActiveRW = true;
} else if ((p_data[0] == 0x6f) && (p_data[1] == 0x06)) {
// stop timer