Updated status to WEAVER_STATUS_THROTTLE when the timeout value is am: 445b6460ba am: 0dacf1dad9

Original change: https://android-review.googlesource.com/c/platform/hardware/nxp/weaver/+/2984093

Change-Id: I07ea1920a98bad9cd83445ccd5b7912b46ee4314
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libese_weaver/src/weaver-impl.cpp b/libese_weaver/src/weaver-impl.cpp
index 85f950b..a253545 100644
--- a/libese_weaver/src/weaver-impl.cpp
+++ b/libese_weaver/src/weaver-impl.cpp
@@ -156,6 +156,9 @@
         if (mParser->ParseGetDataInfo(std::move(resp), getDataInfo) == WEAVER_STATUS_OK) {
           /* convert timeout from getDataInfo sec to millisecond assign same to read response */
           readRespInfo.timeout = (getDataInfo.timeout * 1000);
+          if (getDataInfo.timeout > 0) {
+            status = WEAVER_STATUS_THROTTLE;
+          }
         }
       }
     }