OSDN Git Service

Revert the system clock in the debug oc-dev
authorYipeng Cao <tccyp@google.com>
Thu, 18 May 2017 20:27:30 +0000 (13:27 -0700)
committerYipeng Cao <tccyp@google.com>
Fri, 19 May 2017 05:51:17 +0000 (05:51 +0000)
commit276278d725aff28911e98b84a34307fe5b1f0a47
treed09d1ec5a2a0e3b9eb9ae79dd8a966f533d0531c
parent6c0aba7d4fa9e932ba579ea38944afd6ce5cd9a4
Revert the system clock in the debug oc-dev

System.currentTimeMillis does not guarantee to be monotonically
increasing, changed to SystemClock.elapsedRealtime

Bug: 38317243
Fixes: 38317243
Test: make -j 32; flash the angler device using local build
Change-Id: I775e6251f780679d639418a260c6d44c363a0c0f
services/core/java/com/android/server/location/GnssLocationProvider.java