From d12dd7f6ccd430fefe7f4b1df16f141c261b2cab Mon Sep 17 00:00:00 2001 From: Ajay Dudani Date: Wed, 26 Sep 2012 09:20:41 -0700 Subject: [PATCH 1/2] gps: report session begin/end on gps start/stop Since modem does not consistently send SESSON_END/ENGINE_OFF event, always report SESSION_END on stop gps and SESSION_BEGIN on start gps so that the icon is turned on/off correctly. Bug 7185242 Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d From fb4152c14bbcd1da0f65c995bf1666edec0afa6d Mon Sep 17 00:00:00 2001 From: Mekala Natarajan Date: Wed, 26 Sep 2012 16:07:40 -0700 Subject: [PATCH 2/2] disabled agps state machine delete in cleanup The current cleanup mismatches agps_init(), so that it the agps state machines will get deleted in the cleanup but never get recreated next time apgs_init() is called. Bug 7216641 Change-Id: Iddba9fd0d90c790e658f14c42c8a25d22b8749c0