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

Commit 9dccec13 authored by Chenjie Yu's avatar Chenjie Yu
Browse files

Fix ModemActivityInfo should have more fields

Test: cts test
Change-Id: I6f03eae0f87265fe6c958575de1b1cebbc873373
parent 9f1dd93b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -615,7 +615,7 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
                    SynchronousResultReceiver modemReceiver = new SynchronousResultReceiver("telephony");
                    mTelephony.requestModemActivityInfo(modemReceiver);
                    final ModemActivityInfo modemInfo = awaitControllerInfo(modemReceiver);
                    StatsLogEventWrapper e = new StatsLogEventWrapper(tagId, 6);
                    StatsLogEventWrapper e = new StatsLogEventWrapper(tagId, 10);
                    e.writeLong(modemInfo.getTimestamp());
                    e.writeLong(modemInfo.getSleepTimeMillis());
                    e.writeLong(modemInfo.getIdleTimeMillis());