summaryrefslogtreecommitdiffstats
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
* Fix network preference getting incorrectly set.Jaikumar Ganesh2009-05-191-2/+2
| | | | | When the phone process crashes, we set the network preference incorrectly. Also read the default value from a system property.
* Add a method to get the PhoneType in CellLocation.Jaikumar Ganesh2009-05-191-54/+53
| | | | | | CellLocation uses TelephonyManager to get the PhoneType. TelephonyManager uses the system property to get the phoneType, if the ITelephony interface is not up.
* Settings: Disable network location service by default, enable GPS instead.Mike Lockwood2009-05-191-2/+5
| | | | | | | | Network Location Provider requires user opt-in, so it should be disabled by default and only enabled if the user agrees to the terms of service and privacy policy. Use GPS as default location provider instead. Signed-off-by: Mike Lockwood <lockwood@android.com>
* Rewrite SyncStorageEngine to use flat files and in-memory data structures.Dianne Hackborn2009-05-051-10/+9
| | | | | | | | | | | | | | | | | | | | | | The previous implementation used a database for storing all of its state, which could cause a significant amount of IO activity as its tables were updated through the stages of a sync. This new implementation replaces that in-memory data structures, with hand-written code for writing them to persistent storage. There are now 4 files associated with this class, holding various pieces of its state that should be consistent. These are everything from a main XML file of account information that must always be retained, to a binary file of per-day statistics that can be thrown away at any time. Writes of these files as scheduled at various times based on their importance of the frequency at which they change. Because the database no longer exists, there needs to be a new explicit interface for interacting with the sync manager database. This is provided by new APIs on IContentService, with a hidden method on ContentResolver to retrieve the IContentService so that various system entities can use it. Other changes in other projects are required to update to the new API. The goal here is to have as little an impact on the code and functionality outside of SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
* AI 144372: Cleanup Settings support for enabling and disabling location ↵Mike Lockwood2009-04-021-0/+73
| | | | | | | | | | | | | | providers: LocationManagerService now listens for changes to settings, making LocationManager.updateProviders() unnecessary. Removed LocationManager.updateProviders() Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way of enabling or disabling a single location provider. This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly. BUG=1729031 Automated import of CL 144372
* AI 144185: Integrate cdma into the main code base.Wink Saville2009-04-021-1/+18
| | | | Automated import of CL 144185
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-182-37/+0
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-132-2/+3
|
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-092-3/+3
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-052-2/+15
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0320-0/+2279
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0319-2233/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-034-111/+65
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-024-65/+111
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-105-50/+207
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-152-2/+20
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-174-183/+244
|
* Initial ContributionThe Android Open Source Project2008-10-2117-0/+1997