41 Commits

Author SHA1 Message Date
Eric Shienbrood
5711fadfc4 AI 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/...

Automated import of CL 143266
2009-03-27 20:25:31 -07:00
Dianne Hackborn
321ae681ca AI 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/...

Automated import of CL 143173
2009-03-27 16:16:03 -07:00
Dianne Hackborn
1e880dba10 AI 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/...

Automated import of CL 143169
2009-03-27 16:04:08 -07:00
Mike Lockwood
7ec434e2e1 AI 143095: Location Manager cleanup: move MockProvider to a separate file.
BUG=1729031

Automated import of CL 143095
2009-03-27 07:46:48 -07:00
Chris Tate
2ad63a9d77 Automated import from //branches/donutburger/...@142784,142784 2009-03-25 17:36:48 -07:00
Dianne Hackborn
9ed4a4b0d7 Automated import from //branches/donutburger/...@142722,142722 2009-03-25 17:10:37 -07:00
Dianne Hackborn
c485a60a32 Automated import from //branches/donutburger/...@142397,142397 2009-03-24 22:39:49 -07:00
Dianne Hackborn
627bba736d Automated import from //branches/donutburger/...@142347,142347 2009-03-24 22:32:56 -07:00
Ed Heyl
7379823e59 Automated import from //branches/donutburger/...@142239,142239 2009-03-24 21:32:21 -07:00
Suchi Amalapurapu
c4dd60fd4a Automated import from //branches/donutburger/...@141958,141958 2009-03-24 21:10:53 -07:00
Romain Guy
96f4357e06 Automated import from //branches/donutburger/...@141523,141523 2009-03-24 20:27:49 -07:00
Joe Onorato
64c62ba503 Automated import from //branches/donutburger/...@141409,141409 2009-03-24 20:13:57 -07:00
Chris Tate
8a7dc17790 Automated import from //branches/donutburger/...@141391,141391 2009-03-24 20:11:42 -07:00
Joe Onorato
c1e8446279 Automated import from //branches/donutburger/...@141086,141086 2009-03-24 19:29:20 -07:00
Dianne Hackborn
ef49c57bdc Automated import from //branches/donutburger/...@141079,141079 2009-03-24 19:27:32 -07:00
Joe Onorato
e68ffcb576 Automated import from //branches/donutburger/...@140997,140997 2009-03-24 19:11:13 -07:00
Joe Onorato
128e729c49 Automated import from //branches/donutburger/...@140846,140846 2009-03-24 18:41:31 -07:00
Dianne Hackborn
f63220f58e Automated import from //branches/donutburger/...@140828,140828 2009-03-24 18:38:43 -07:00
Eric Fischer
d2bf42a96e Automated import from //branches/donutburger/...@140781,140781 2009-03-24 18:31:12 -07:00
Eric Shienbrood
d4c5f8919b Automated import from //branches/donutburger/...@140679,140679 2009-03-24 18:13:20 -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