Eric Shienbrood
eeced21302
AI 143395: am: CL 143266 am: CL 143124 Fix bug #1731826 , in which auto-connect to remembered networks does not
...
take place.
This has the same underlying cause as bug #1739874 , so this fixes that
bug as well. The problem was that if the supplicant was in the DORMANT
state at the time a scan-only Wi-Fi lock was released, the command to
stop the Wi-Fi driver would never be issued. This had two main results:
first, the driver would stay awake when the screen was blank and it was
supposed to be sleeping, leading to excessive battery drain, and second,
when the screen was turned back on, there would be no DRIVER-STARTED
event generated (because the driver was already running). The
DRIVER-STARTED event is the trigger for the framework to issue a
RECONNECT command to the supplicant to cause it leave the DORMANT state
and look for available remembered networks.
To assist in tracking down this problem, and any such problems in the
future, I added four counters to keep track of how many times full and
scan-only Wi-Fi locks are acquired and released. The counter values
are output in the dump() method of WifiService. While doing this, I
noticed that because of missing "break" statements, the battery stats
that keep track of how much time Wi-Fi locks are held were including
the time for full locks in the time reported for scan-only locks.
Original author: ers
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143395
2009-03-27 19:54:50 -07:00
Dianne Hackborn
052eb7131b
AI 143323: am: CL 143173 am: CL 142879 Fix issue #1732012 (Only show screen rotation animation when triggered by sensor) -- set the new surface flag as appropriate.
...
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143323
2009-03-27 18:13:57 -07:00
Dianne Hackborn
e4fbd6235c
AI 143318: am: CL 143169 am: CL 142870 Fix issue #1724917 (Applications (browser, maps, gmail) fail to retain their landscape state after coming out of sleep mode). We now rely on the listeners last known orientation, and make sure to clear it when enabling/disabling.
...
Also do most of the work for issue #1732012 (Only show screen rotation animation when triggered by sensor). This just needs to be hooked up to the surface flinger API when that appears.
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143318
2009-03-27 18:09:16 -07:00
Mike Lockwood
f8dd2e1d4b
AI 143287: am: CL 143095 Location Manager cleanup: move MockProvider to a separate file.
...
BUG=1729031
Original author: lockwood
Merged from: //branches/donutburger/...
Automated import of CL 143287
2009-03-27 17:03:45 -07:00
Chris Tate
82a0c4615e
Automated import from //branches/master/...@142785,142785
2009-03-25 16:27:34 -07:00
Dianne Hackborn
95518a712c
Automated import from //branches/master/...@142765,142765
2009-03-25 16:16:10 -07:00
Fred Quintana
603073430b
Automated import from //branches/master/...@142414,142414
2009-03-24 22:48:12 -07:00
Dianne Hackborn
d86c782127
Automated import from //branches/master/...@142402,142402
2009-03-24 22:46:14 -07:00
Dianne Hackborn
4840e143df
Automated import from //branches/master/...@142348,142348
2009-03-24 22:40:29 -07:00
Ed Heyl
18523b6f31
Automated import from //branches/master/...@142240,142240
2009-03-24 22:23:14 -07:00
Suchi Amalapurapu
84108d918a
Automated import from //branches/master/...@141959,141959
2009-03-24 21:15:12 -07:00
Romain Guy
3119a4522b
Automated import from //branches/master/...@141525,141525
2009-03-24 20:28:20 -07:00
Joe Onorato
a9ccf3e799
Automated import from //branches/master/...@141410,141410
2009-03-24 20:13:57 -07:00
Chris Tate
8f91d2b5c9
Automated import from //branches/master/...@141392,141392
2009-03-24 20:11:39 -07:00
Joe Onorato
95e4f70624
Automated import from //branches/master/...@141087,141087
2009-03-24 19:29:09 -07:00
Dianne Hackborn
79050e84fd
Automated import from //branches/master/...@141080,141080
2009-03-24 19:27:29 -07:00
Joe Onorato
36197e77c3
Automated import from //branches/master/...@141000,141000
2009-03-24 19:10:48 -07:00
Joe Onorato
a1baba7017
Automated import from //branches/master/...@140851,140851
2009-03-24 18:41:33 -07:00
Dianne Hackborn
04750b6b43
Automated import from //branches/master/...@140830,140830
2009-03-24 18:38:23 -07:00
Eric Fischer
209bdae7b3
Automated import from //branches/master/...@140786,140786
2009-03-24 18:31:11 -07:00
Eric Shienbrood
f93f02fb8a
Automated import from //branches/master/...@140680,140680
2009-03-24 18:14:17 -07:00
The Android Open Source Project
105925376f
auto import from //branches/cupcake_rel/...@140373
2009-03-18 17:39:46 -07:00
The Android Open Source Project
ba87e3e6c9
auto import from //branches/cupcake_rel/...@138607
2009-03-13 13:04:22 -07:00
The Android Open Source Project
c39a6e0c51
auto import from //branches/cupcake/...@137873
2009-03-11 12:11:56 -07:00
The Android Open Source Project
b2a3dd88a5
auto import from //branches/cupcake/...@137197
2009-03-09 11:52:12 -07:00
The Android Open Source Project
f5b4b98fad
auto import from //depot/cupcake/@136745
2009-03-05 20:00:43 -08:00
The Android Open Source Project
4df2423a94
auto import from //depot/cupcake/@136594
2009-03-05 14:34:35 -08:00
The Android Open Source Project
c474dec3ff
auto import from //depot/cupcake/@135863
2009-03-04 09:49:09 -08:00
The Android Open Source Project
9066cfe988
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
076357b856
auto import from //depot/cupcake/@132589
2009-03-03 14:04:24 -08:00
The Android Open Source Project
3dec7d563a
auto import from //depot/cupcake/@137055
2009-03-02 22:54:33 -08:00
The Android Open Source Project
15ab3eae2e
auto import from //branches/cupcake/...@132569
2009-02-20 07:38:31 -08:00
The Android Open Source Project
3001a03543
auto import from //branches/cupcake/...@132276
2009-02-19 10:57:31 -08:00
The Android Open Source Project
da996f390e
auto import from //branches/cupcake/...@131421
2009-02-13 12:57:50 -08:00
The Android Open Source Project
d24b8183b9
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:00 -08:00
The Android Open Source Project
f1e484acb5
auto import from //branches/cupcake/...@127436
2009-01-22 00:13:42 -08:00
The Android Open Source Project
22f7dfd234
auto import from //branches/cupcake/...@127101
2009-01-20 14:03:58 -08:00
The Android Open Source Project
9266c558bf
auto import from //branches/cupcake/...@126645
2009-01-15 16:12:10 -08:00
The Android Open Source Project
b798689749
auto import from //branches/cupcake/...@125939
2009-01-09 17:51:23 -08:00
The Android Open Source Project
f013e1afd1
Code drop from //branches/cupcake/...@124589
2008-12-17 18:05:43 -08:00
The Android Open Source Project
54b6cfa9a9
Initial Contribution
2008-10-21 07:00:00 -07:00