Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9d71f946 authored by Hakjun Choi's avatar Hakjun Choi
Browse files

Request again when the latest signal strength report request and report state of modem are diferent

In case modem has delay for responding for requestSendingNtnSignalStrengthReporting, there can be a mismatch case when scereen status has changed

1. whole screen are off
2. DeviceStateMonotor(DSM) request stop sending NTN signal strength
3. waiting for the modem response, current shouldreport state is true.
4. any screen is on
5. DSM request start sending NTN signal strength report but ignored as
   current shouldReport state is true
6. modem reports signal strength report status as false
7. never report though screen is on, until screen is off and on again.

Therofe introduce a new instance which contains the latest report
request status and compare when modem response back.
If mismatch happens, request again to modem with the latest status until
modem report state and latest request state are matched.

Bug: 342204943
Test: atest SatelliteControllerTest
       manually e2e test to reporduce issue and check the log.

Change-Id: I2f2a21c3ee98bba233da6b279d234f61f2c92f6c
parent 84028474
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment