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

Commit 12b070b5 authored by Yan Wang's avatar Yan Wang
Browse files

iorap-functional-test: Add leading 0 to timestamp.

For example: 100001ms should be 100.001s instead of 100.1s

Bug: 154036462
Test: atest iorap-functional-tests
Change-Id: I9502358539019573af106d9dcec2681ea406598b
parent f9551ba4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -397,7 +397,7 @@ public class IorapWorkFlowTest {
    public LogcatTimestamp() throws Exception{
      long currentTimeMillis = System.currentTimeMillis();
      epochTime = String.format(
          "%d.%d", currentTimeMillis/1000, currentTimeMillis%1000);
          "%d.%03d", currentTimeMillis/1000, currentTimeMillis%1000);
      Log.i(TAG, "Current logcat timestamp is " + epochTime);
    }