diff options
| author | 2009-06-22 20:00:17 -0700 | |
|---|---|---|
| committer | 2009-06-23 12:51:06 -0700 | |
| commit | 2e418428987132ea66533cbc05f9c526eb59519a (patch) | |
| tree | b8ea1812f8e1514f960cb88fc496e25c718707e4 /libs/utils/BackupHelpers.cpp | |
| parent | 61ab270c17094ef1373f54d8fb9ade6d287c3a60 (diff) | |
Possibly fix an issue where we thought an app was always using GPS.
There may be some race conditions in the gps provider where it can cause a uid
to be double booked for gps usage and never released. Address this by tweaking
some locking (so mLocation and the uid array are protected by a lock both when
reading and writing). Also add some code to log a warning if someone tries to
note a particular uid multiple times, since the code will break in that case.
Finally, fix a problem in the battery stats where we weren't allowing a new Uid
structure to be created in many cases for calls coming in.
Diffstat (limited to 'libs/utils/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions