7040 Commits

Author SHA1 Message Date
Android (Google) Code Review
25b9cec8de Merge change 22692 into eclair
* changes:
  PowerManagerService: Disallow all user activity when in proximity wake lock.
2009-08-27 11:26:44 -07:00
Android (Google) Code Review
e0daf8043f Merge change 22921 into eclair
* changes:
  An attempt to fix a deadlock between OMXCodec::start and upstream ::read
2009-08-27 11:18:36 -07:00
Android (Google) Code Review
6ff90cf2b3 Merge change 22870 into eclair
* changes:
  Set Routing to A2DP only when state is Connected.
2009-08-27 11:08:55 -07:00
Mike Lockwood
36fc302560 PowerManagerService: Disallow all user activity when in proximity wake lock.
Fixes b/2076756

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-27 11:07:49 -07:00
Jaikumar Ganesh
78333dd750 Set Routing to A2DP only when state is Connected.
We were setting the routing to A2DP when the state was Connecting too.
This was incorrect and can cause problems. One such problem was when
handling an incoming connection we set the routing to A2DP before
authorization. And even if authorization succeeds we get out sync with
AVDTP command state.
2009-08-27 11:03:00 -07:00
Android (Google) Code Review
4d5b4225e4 Merge change 22795 into eclair
* changes:
  The Gservices settings for pruning messages/chats.
2009-08-27 10:58:25 -07:00
Android (Google) Code Review
ed48c8081c Merge change 22920 into eclair
* changes:
  Change fade to use a gradient from opaque color to transparent color.
2009-08-27 10:43:18 -07:00
Romain Guy
e55e1a7885 Change fade to use a gradient from opaque color to transparent color.
Previously the fade was using a gradient from opaque color to transparent black.
2009-08-27 10:42:26 -07:00
Andreas Huber
42978e55fe An attempt to fix a deadlock between OMXCodec::start and upstream ::read 2009-08-27 10:41:13 -07:00
Dmitri Plotnikov
b87d0e0e57 Removing "summary"-style URIs.
We will determine whether to include Presence by looking at the requested projection.
2009-08-27 10:38:14 -07:00
Ye Wen
48f886e661 The Gservices settings for pruning messages/chats. 2009-08-27 10:34:22 -07:00
Android (Google) Code Review
650b872c5a Merge change 22830 into eclair
* changes:
  Another quirk, some OMX components fail to properly flush before shutdown and we must do it for them...
2009-08-27 10:10:07 -07:00
Mike Lockwood
49c22570bb am 7566c1de: LocationManager: Fix problem replacing GPS and network providers with a mock provider.
Merge commit '7566c1debebe072af76411e11d96810fd1409482' into eclair

* commit '7566c1debebe072af76411e11d96810fd1409482':
  LocationManager: Fix problem replacing GPS and network providers with a mock provider.
2009-08-27 09:25:36 -07:00
Steve Block
09b0ca1cee Sets default value of 'enableGeolocation' to true. This allows WebKit's DumpRenderTree to function correctly. Note that when Geolocation is used in the browser, this default value is overridden by the browser's default anyway. 2009-08-27 16:17:20 +01:00
Android (Google) Code Review
7537e3dc91 Merge change 22453 into eclair
* changes:
  Sets or clears Geolocation permissions for Google origins when the 'Location & privacy - Share with Google' sysetm setting is changed.
2009-08-27 07:43:36 -07:00
Eric Laurent
327c27be19 Fix issue 2045911: Camera Shutter tone does not play correctly while listening to music.
Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
2009-08-27 05:58:10 -07:00
Fred Quintana
3cff76aaa8 make sure that the sync thread is protected by a consistent lock 2009-08-27 01:46:08 -07:00
Android (Google) Code Review
301b97ac19 Merge change 22883 into donut
* changes:
  Various tweaks to try to improve low memory behavior.
2009-08-27 01:14:00 -07:00
Dianne Hackborn
fd12af4e76 Various tweaks to try to improve low memory behavior.
- Reduce the amount that we ask processes to GC after a significant
  operation occurs, but introducing a minimum time between GCs and
  using this in various ways to schedule them.

- Don't spam all of the processes with onLowMemory().  Now deliver
  these using the same gc facility, so we do the processes one at a
  time, and don't allow the same process to get this call more than
  once a minute.

- Increase the time a service must run before we will reset its
  restart delay to 30 minutes (from 10).

- Increase the restart delay multiplication factor from 2 to 4.

- Ensure that we don't restart more than one service every 10 seconds
  (unless some external event causes a service's process to be started
  for some other reason of course).

- Increase the amount of time that a service must run before we
  decide to lower it to a background process.

And some other things:

- Catch IllegalArgumentException in ViewRoot like we do for no
  resources to avoid the system process crashing.

- Fix a number of places where we were missing breaks between the
  activity manager's message dispatch func(!!).

- Fix reason printed for processes in the background.

- Print the list of processing waiting to GC.
2009-08-27 01:03:24 -07:00
Mike Lockwood
7566c1debe LocationManager: Fix problem replacing GPS and network providers with a mock provider.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-26 23:34:18 -07:00
Dan Murphy
42b1648212 Add option to allow no-unlock-on-slider-open
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
2009-08-26 20:57:17 -07:00
Android (Google) Code Review
d21a04c06c Merge change 21259 into eclair
* changes:
  Make certificate-handling-related constants public
2009-08-26 20:29:17 -07:00
Android (Google) Code Review
ed5fede3f8 Merge change 22667 into eclair
* changes:
  Fix rare NPE due to key being delivered after activity is stopped. #2062930
2009-08-26 17:59:26 -07:00
Android (Google) Code Review
eafcadca7a Merge change 22841 into eclair
* changes:
  dumpsys SurfaceFlinger will now always dump SF's state, even if SF is deadlocked (in this case the state is dumped without the proper locks held which could result to a crash)
2009-08-26 17:40:56 -07:00
Android (Google) Code Review
4813b51ec7 Merge change 22838 into eclair
* changes:
  Implement clean killing of the TTS service. If files were being synthesized to while the service was being killed, it would have left partially written files (with no header). This CL checks if the service is rendering to a file at the time the service is destroyed: if it is, it will stop the rendering and deletes the file.
2009-08-26 17:18:47 -07:00
Android (Google) Code Review
1339614e67 Merge change 22839 into eclair
* changes:
  dumpstate: Get last_kmsg from /data instead of /proc.
2009-08-26 17:11:23 -07:00
Jean-Michel Trivi
a3046b6f7f Implement clean killing of the TTS service.
If files were being synthesized to while the service was being killed,
it would have left partially written files (with no header). This CL
checks if the service is rendering to a file at the time the service
is destroyed: if it is, it will stop the rendering and deletes the file.
2009-08-26 17:06:52 -07:00
Mathias Agopian
a8d49178f9 dumpsys SurfaceFlinger will now always dump SF's state, even if SF is deadlocked
(in this case the state is dumped without the proper locks held which could result to a crash)

in addition, the last transaction and swap times are printed to the dump as well as the time spent
*currently* in these function. For instance, if SF is unresponsive because eglSwapBuffers() is stuck,
this will show up here.
2009-08-26 16:55:50 -07:00
San Mehat
bc7bba419d dumpstate: Get last_kmsg from /data instead of /proc.
Signed-off-by: San Mehat <san@google.com>
2009-08-26 16:43:08 -07:00
Android (Google) Code Review
b89c9d4227 Merge change 22826 into eclair
* changes:
  Add Gservices setting for the frequency to perform provisioning.
2009-08-26 16:34:13 -07:00
Andreas Huber
127fcdcd9f Another quirk, some OMX components fail to properly flush before shutdown and we must do it for them... 2009-08-26 16:27:02 -07:00
Sanjay Jeyakumar
ebd8416fad Add Gservices setting for the frequency to perform provisioning. 2009-08-26 16:01:08 -07:00
Android (Google) Code Review
1b85697461 Merge change 22822 into eclair
* changes:
  resolved conflicts for merge of b0f5b755 to eclair
2009-08-26 15:31:09 -07:00
Scott Main
87b9055252 resolved conflicts for merge of b0f5b755 to eclair 2009-08-26 15:29:03 -07:00
Android (Google) Code Review
2d82992879 Merge change 22818 into eclair
* changes:
  assert => CHECK in stagefright.
2009-08-26 15:18:21 -07:00
Andreas Huber
b5ceb9ee21 assert => CHECK in stagefright. 2009-08-26 14:48:20 -07:00
Android (Google) Code Review
993844bde5 Merge change 22806 into eclair
* changes:
  Add trailing "\n" to debug output.
2009-08-26 14:13:55 -07:00
Nick Pelly
b015e193b7 Add trailing "\n" to debug output. 2009-08-26 14:11:24 -07:00
Android (Google) Code Review
c4ba7e39f1 Merge change 22772 into eclair
* changes:
  New List and Tab assets.
2009-08-26 14:10:19 -07:00
Android (Google) Code Review
b078d6ef7c Merge change 22803 into eclair
* changes:
  Add uuids to adb shell dumpsys bluetooth
2009-08-26 14:07:41 -07:00
Android (Google) Code Review
d41c577684 Merge change 22768 into eclair
* changes:
  Fix authorization check for Audio Source.
2009-08-26 14:03:15 -07:00
Jim Miller
767be5f0b9 Integrate CDMA provisioning into SetupWizard 2009-08-26 13:07:38 -07:00
Android (Google) Code Review
b0f5b755e7 Merge change 22090 into donut
* changes:
      docs only.     add new documentation for installing the new winusb driver.     also add a link to the HTC support site for ADP flashing     and remove references to the G1 and generalize to "consumer devices"
2009-08-26 12:55:54 -07:00
Android (Google) Code Review
23b1a47008 Merge change 22769 into eclair
* changes:
  MountService: Launch UsbStorageActivity with Intent.FLAG_ACTIVITY_NEW_TASK flag.
2009-08-26 12:25:55 -07:00
Scott Main
7991745ea0 docs only.
add new documentation for installing the new winusb driver.
    also add a link to the HTC support site for ADP flashing
    and remove references to the G1 and generalize to "consumer devices"
2009-08-26 11:56:57 -07:00
Android (Google) Code Review
2d5a14d6bf Merge change 22732 into eclair
* changes:
  clean up the too many deletes dialog
2009-08-26 11:47:20 -07:00
Bjorn Bringert
98d8858890 am ba223760: Close suggestion cursors that arrive after adapter is closed
Merge commit 'ba223760895e62ad2fcb85476984cb29018860c9' into eclair

* commit 'ba223760895e62ad2fcb85476984cb29018860c9':
  Close suggestion cursors that arrive after adapter is closed
2009-08-26 11:41:40 -07:00
Nick Pelly
1eada0d3d6 Add uuids to adb shell dumpsys bluetooth 2009-08-26 10:57:33 -07:00
Evan Millar
3730bb1cd5 New List and Tab assets.
New tab assets. We decided to do a straight swap and then assess the
damage.

New default dark background color.

New list divider assets.

Change-Id: Ia00a9bb0ee1bad4f955f1c3b5b67526f62572015
2009-08-26 10:56:45 -07:00
Nick Pelly
b23d4458a9 Fix authorization check for Audio Source.
Bluez sends the UUID of the local service being accessed in Agent.Authorize,
not the remote service. So check for Audio Source not Audio Sink.

In most cases this was not a problem because Bluez sends us AdvAudioDist UUID
(0x110D) for incoming A2DP connections, which we already check for. This is a
precautionary change.
2009-08-26 10:46:37 -07:00