commit | 13ee2aceab6bcc042f9678f946a3c9a95afe1f0b | [log] [tgz] |
---|---|---|
author | Tushar Janefalkar <tusharj@codeaurora.org> | Thu Jul 10 16:47:51 2014 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Tue Nov 04 08:32:21 2014 -0700 |
tree | 783c97fe91ff4e5111018b5ef0ddf63b15e6d54a | |
parent | f7dc187c591e4d4fdcfc7a64629f675c9d0f7135 [diff] |
Use a content observer for getting the default APN Instead of executing a query of the database for the default APN on every network state change, an observer is used on the database to be notifited when the apn has changed. This prevents unneccesary queries on the the database. CRs-fixed: 662137 Change-Id: I3155bd8b53a1877413ed54a861df1bfb1853b9e4 Conflicts: services/core/java/com/android/server/location/GpsLocationProvider.java