1320 Commits

Author SHA1 Message Date
Eric Laurent
551603f0ec Fix issue 1883666: Audio coming from the music player stopped suddenly
The problem comes from the code handling the automatic change of audio routing to speaker when notifications are played. The music is also muted while the sound is forced to speaker.
To avoid truncating the end of the notification, a delay is inserted between the end of the notification and the restoration of the audio routing.  If a new notification starts during this delay, the current music mute state read and saved before muting music corresponds to the forced mute due to previous notification. When the new notification ends, the mute state restored is muted and music stream stays muted for ever.

The fix consists in reading and saving music mute state only if the audio routing has been restored (check that mForcedRoute is back to 0).
2009-05-29 02:03:21 -07:00
Android (Google) Code Review
607384d45f Merge change 2678 into donut
* changes:
  Converted the angle of OrientedBoundingBox to degrees
2009-05-28 21:13:26 -07:00
Romain Guy
f40f074c43 Revert "Revert "Bug fixes and performance improvements""
This reverts commit 436466d75edb5f6fd848504d998f244426ea5a09.
2009-05-28 21:12:01 -07:00
Android (Google) Code Review
f6355e24f5 Merge change 2399 into donut
* changes:
  Motorola additions for CDMA support without CdmaSuppConnTracker
2009-05-28 20:29:10 -07:00
Android (Google) Code Review
2af7e63990 Merge change 2654 into donut
* changes:
  Added the two validations for the memory stress test 1) Set the maximum memory leakage to 150K in 200 loops of playback. 2) Check the pid of the meidaserver.
2009-05-28 19:06:47 -07:00
Yu Shan Emily Lau
01c0596b75 Added the two validations for the memory stress test
1) Set the maximum memory leakage to 150K in 200 loops of playback.
2) Check the pid of the meidaserver.
2009-05-28 18:59:33 -07:00
Yang Li
f3ede869b8 Converted the angle of OrientedBoundingBox to degrees 2009-05-28 18:00:50 -07:00
Wink Saville
dda5391d50 Motorola additions for CDMA support without CdmaSuppConnTracker
There are corresponding changes to hardware/ril and packages/apps/Phone
that are required to go with these changes.
2009-05-28 17:32:34 -07:00
Android (Google) Code Review
1e2e44e900 Merge change 2365 into donut
* changes:
  Fix wifi multicast API for public use.
2009-05-28 14:02:39 -07:00
Android (Google) Code Review
59262c3f41 Merge change 2637 into donut
* changes:
  Revert "Bug fixes and performance improvements"
2009-05-28 13:45:20 -07:00
Robert Greenwalt
fc1b15cfbf Fix wifi multicast API for public use.
Applying API review comments and taking it public.
2009-05-28 13:37:06 -07:00
Romain Guy
436466d75e Revert "Bug fixes and performance improvements"
This reverts commit 58b359041a29418876f12d37a7082ece9f8a38a4.
2009-05-28 13:34:16 -07:00
Dirk Dougherty
1cb62b8324 am 2542c0a8: AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. remove mac-specific files, fix dir name, repack. BUG=1877969
Merge commit '2542c0a805b144b4c4324a749574d9ba76660557' into donut

* commit '2542c0a805b144b4c4324a749574d9ba76660557':
  AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. remove mac-specific files, fix dir name, repack.
2009-05-28 12:30:33 -07:00
Dirk Dougherty
2542c0a805 AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. remove mac-specific files, fix dir name, repack.
BUG=1877969

Automated import of CL 149346
2009-05-28 09:44:39 -07:00
Romain Guy
b0ded43d38 Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method. 2009-05-27 21:37:14 -07:00
Android (Google) Code Review
401bbb0597 Merge change 2593 into donut
* changes:
  Bug fixes and performance improvements
2009-05-27 21:26:31 -07:00
Yang Li
58b359041a Bug fixes and performance improvements
- Added affine transform functions in GestureUtilities to remove Matrix
- Fixed a bug with Instance.createInstance
- Updated letter recognition file
2009-05-27 18:19:04 -07:00
Android (Google) Code Review
145c989caf Merge change 2569 into donut
* changes:
  Fix a hang during bootup.
2009-05-27 16:00:22 -07:00
Amith Yamasani
c33fe6c9a7 Fix a hang during bootup.
Some data was not being written to the battery stats during shutdown. So there was insufficient
data when reading back at bootup.
2009-05-27 15:29:04 -07:00
Android (Google) Code Review
004cb73a15 Merge change 2443 into donut
* changes:
  Adding proxy class to communicate with the TTS service through the ITts interface.
2009-05-27 11:04:48 -07:00
Android (Google) Code Review
a64f5f6167 Merge change 1124 into donut
* changes:
  Fix SQLite limit issue.
2009-05-27 10:56:41 -07:00
Jean-Michel Trivi
e74d507d17 Adding proxy class to communicate with the TTS service through the ITts interface. 2009-05-27 10:36:30 -07:00
Marco Nelissen
8ae3f61902 Fix another crash in Gestures, this one caused by the data file
having the wrong version. I made the loader print a message to
the log for this, and made the calling code disable gestures
for the listview instead of crashing.
2009-05-27 10:03:44 -07:00
Android (Google) Code Review
f0e7e4a946 Merge change 2520 into donut
* changes:
  Cause the icon drawables to animate automatically by calling setVisible false and then true on the drawables. For an AnimationDrawable, this will trigger the desired behavior of 'automatically' starting the animation, which should have been working to begin with according to the intended design of AnimationDrawable (see http://b/1878430 for my description of my correspondence with Romain). For Donut we'll just do this to work around it, but for a later release we need to decide a better story.
2009-05-27 09:13:15 -07:00
Android (Google) Code Review
ed6e0b92dd Merge change 2522 into donut
* changes:
  This function should be public
2009-05-27 05:52:50 -07:00
Jacek Surazski
fd0bdcc344 This function should be public 2009-05-27 14:45:48 +02:00
Android (Google) Code Review
c0139711b0 Merge change 2432 into donut
* changes:
  Make android_runtime to not include libemoji but use dlopen() instead. This must be submitted with change 2432
2009-05-27 04:48:21 -07:00
Android (Google) Code Review
298784cd8a Merge change 2420 into donut
* changes:
  This just makes it easier to derive from ApplicationErrorReport.
2009-05-27 02:17:21 -07:00
Mike LeBeau
91bc6f2c57 Cause the icon drawables to animate automatically by calling setVisible
false and then true on the drawables. For an AnimationDrawable, this will
trigger the desired behavior of 'automatically' starting the animation,
which should have been working to begin with according to the intended
design of AnimationDrawable (see http://b/1878430 for my description of
my correspondence with Romain). For Donut we'll just do this to work
around it, but for a later release we need to decide a better story.
2009-05-26 22:48:56 -07:00
Android (Google) Code Review
2a4daf06fb Merge change 2508 into donut
* changes:
  Activity Manager changes the scheduling group of processes.
2009-05-26 18:59:36 -07:00
Dianne Hackborn
06de2ea752 Activity Manager changes the scheduling group of processes.
The algorithm for this is currently very simple: all persistent processes are
always in the normal scheduling group, all other processes are normal if their
oom_adj is as good or better than VISIBLE, otherwise they are in the background
group.

Note that this currently results in a fair number of log messages about not
being able to change the group, since the system process does not have
permission to do so.  Once a kernel fix is in, these will go away and the code
will start working.
2009-05-26 18:50:46 -07:00
Android (Google) Code Review
0c0ad39cd8 Merge change 2502 into donut
* changes:
  minor clean-up to Rect and Point.
2009-05-26 18:14:14 -07:00
Android (Google) Code Review
eba9fe3f8e Merge change 2492 into donut
* changes:
  add Gservices setting for "send message using bareJid timeout".
2009-05-26 18:02:08 -07:00
Mathias Agopian
f1472a7972 minor clean-up to Rect and Point.
- return "const" objects for overloaded operators to disallow constructs like: (a+b) = c;
- don't return references to non-static members, it's not always safe.
- Point.cpp was empty, so get rid of it
2009-05-26 17:47:39 -07:00
Wei Huang
a85d46aff5 add Gservices setting for "send message using bareJid timeout". 2009-05-26 17:43:16 -07:00
Dirk Dougherty
c29df57e5a am 522ab34d: AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2. BUG=1790234
Merge commit '522ab34d3821dc760e10f4bdf3fbdb558c6a1d01' into donut

* commit '522ab34d3821dc760e10f4bdf3fbdb558c6a1d01':
  AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2.
2009-05-26 16:59:33 -07:00
Android (Google) Code Review
f3288f178a Merge change 2468 into donut
* changes:
  setVolume did not check interface descriptor DO NOT MERGE
2009-05-26 16:23:08 -07:00
Dirk Dougherty
522ab34d38 AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2.
BUG=1790234

Automated import of CL 149272
2009-05-26 15:46:56 -07:00
Dirk Dougherty
fdacdcb654 am 1d6cb270: AI 149267: Add the images for icon guidelines doc BUG=1790234
Merge commit '1d6cb270a53e45e6370dfdd60954269c76b09d28' into donut

* commit '1d6cb270a53e45e6370dfdd60954269c76b09d28':
  AI 149267: Add the images for icon guidelines doc
2009-05-26 15:03:43 -07:00
Android (Google) Code Review
d22c64f377 Merge change 2434 into donut
* changes:
  Removed Matrix from spatial sampling for GestureUtilities - updated the letter training file
2009-05-26 15:02:59 -07:00
Dirk Dougherty
1d6cb270a5 AI 149267: Add the images for icon guidelines doc
BUG=1790234

Automated import of CL 149267
2009-05-26 15:01:29 -07:00
Android (Google) Code Review
9762b53352 Merge change 2465 into donut
* changes:
  Fix crash in GestureOverlayView
2009-05-26 14:40:45 -07:00
Dave Sparks
814941997f setVolume did not check interface descriptor
DO NOT MERGE
2009-05-26 14:39:29 -07:00
Yang Li
b082ceefdc Removed Matrix from spatial sampling for GestureUtilities
- updated the letter training file
2009-05-26 14:30:34 -07:00
Marco Nelissen
fea57edf0d Fix crash in GestureOverlayView 2009-05-26 14:20:35 -07:00
Jaikumar Ganesh
cf2119a975 Check for desiredPowerState (airplane mode) before setting up data.
Check for airplane mode before trying to setup data.
Send an event while switching from wifi to cell data,
instead of calling trySetupData directly.
2009-05-26 11:18:35 -07:00
Android (Google) Code Review
d185cac23c Merge change 2393 into donut
* changes:
  Remove dimmed background (and accompanying animation) for global search, since we should never really see that background anyway, and I suspect the animation is using a significant amount of CPU.
2009-05-26 10:33:55 -07:00
Android (Google) Code Review
de8268d6d1 Merge change 2331 into donut
* changes:
  Fix issue 1846343 - part 1
2009-05-26 10:04:50 -07:00
Dirk Dougherty
30d79f64ec am f3043db0: AI 149251: Add 1.x Icon Guidelines doc and template pack. BUG=1790234
Merge commit 'f3043db05bdd5424504dd479082fc8554676a682' into donut

* commit 'f3043db05bdd5424504dd479082fc8554676a682':
  AI 149251: Add 1.x Icon Guidelines doc and template pack.
2009-05-26 10:03:04 -07:00
Dirk Dougherty
f3043db05b AI 149251: Add 1.x Icon Guidelines doc and template pack.
BUG=1790234

Automated import of CL 149251
2009-05-26 08:40:42 -07:00