OSDN Git Service

DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot
authorWyattRiley <wyattriley@google.com>
Thu, 28 Feb 2019 20:05:56 +0000 (12:05 -0800)
committerWyatt Riley <wyattriley@google.com>
Fri, 1 Mar 2019 21:13:02 +0000 (21:13 +0000)
commitfbcb41f9fbc4e91e023f3103a391182600312ef7
treee13cc3b52820695d67bee35398888cac35014595
parentcd8eace91d4b3b2c3de29304f226dbefa9214216
DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot

Safe order of pointer setting and background thread start
Verifying mCallEndElapsedRealtimeMillis is not the initial value

Bug: 112159033
Bug: 115361555
Bug: 125124724
Test: Verified not-after-boot with test code b/115361555#comment14
Test: Reproed NPE with test thread sleep and verify fix
Change-Id: I25dcd5a5b36c218ea8b7ab88d6909382709fd7ab
location/java/com/android/internal/location/GpsNetInitiatedHandler.java
services/core/java/com/android/server/location/GnssLocationProvider.java