4506 Commits

Author SHA1 Message Date
Charles Chen
0a3d8744fe Adding a lock to stop so that stop will stop utterances
that are just starting up.
2009-07-09 09:51:33 -07:00
Android (Google) Code Review
3ff23c4697 Merge change 6609
* changes:
  Fix couple of bugs in the meminfo report.  . added the new "/data/dalvik-cache/" to dalvik heap  . shortened the starting line's length from 40 to 30 to handle the case where there is no name  . fixed the pri/shared for others. It was swapped.
2009-07-09 09:42:44 -07:00
Andrei Popescu
215a23654a Keep Gears permissions in sync with system location settings. 2009-07-09 17:33:26 +01:00
Satish Sampath
313ea433d1 Make suggestion text color change based on the item state.
We support a ColorStateList reference now as a valid font color value
in the given html and manage html strings for all supported states
which we dynamically set while drawing the items.

This will get checked in along with changes to GlobalSearch,
EnhancedGoogleSearchProvider and Browser to make them use the new
model.

Bug: http://b/issue?id=1865037
2009-07-09 16:48:16 +01:00
Android (Google) Code Review
3893da46f0 Merge change 6614 into donut
* changes:
  Fix issue 1970108: crash in AudioFlinger::isMusicActive()
2009-07-09 08:47:59 -07:00
Android (Google) Code Review
e541ba9e8d Merge change 6356
* changes:
  Add fullscreen support back in.
2009-07-09 06:39:47 -07:00
Eric Laurent
4e646338cf Fix issue 1970108: crash in AudioFlinger::isMusicActive()
Protected calls to MixerThread::isMusicActive() by AudioFlinger::mLock
2009-07-09 03:20:57 -07:00
Eric Laurent
5964e73774 Fix issue 1946033: dialer deadlocks and/or ANRs when using dialpad in-call
The cause is very likely that the WaveGenerator *lpWaveGen returned by lpToneGen->mWaveGens.valueFor(lFrequency) just before calling lpWaveGen->getSamples(lpOut, lGenSmp, lWaveCmd) is invalid. The frequency lFrequency is not part of the frequencies in mWaveGens.
This can happen if a different tone is started while the callback function is active: The state is changed to TONE_RESTARTING and the call to prepareWave() at line 1226 will change the tone descriptor pointed to by mpToneDesc as well as the content of mWaveGens. However, mpToneDesc was cached in a local variable lpToneDesc when entering the callback and is not reloaded when exiting prepareWave(). This causes a mismatch between the tone frequencies listed in lpToneDesc and the frequencies present in mWaveGens.
This regression was introduced in change 973 when mpToneDesc was cached in a local variable.
2009-07-09 01:56:20 -07:00
Android (Google) Code Review
c52d55c540 Merge change 6608 into donut
* changes:
  Move the watchdog timer to a separate thread...
2009-07-09 00:29:53 -07:00
Android (Google) Code Review
f9b7faee88 Merge change 6503 into donut
* changes:
  Hide soft keyboard in SearchDialog.dismiss()
2009-07-09 00:29:38 -07:00
Hung-ying Tyan
296a182dea Move the watchdog timer to a separate thread...
so that it won't block the UI thread.
2009-07-09 14:43:55 +08:00
Grace Kloba
bd51116a53 Fix couple of bugs in the meminfo report.
. added the new "/data/dalvik-cache/" to dalvik heap
 . shortened the starting line's length from 40 to 30 to handle the case where there is no name
 . fixed the pri/shared for others. It was swapped.
2009-07-08 23:32:25 -07:00
Android (Google) Code Review
b799616d8f Merge change 6208 into donut
* changes:
  Move ExifInterface to android.media package so we can reference it from MediaScanner. Also hide public constructor and wrap common use cases as atomic operation to avoid race condition in jhead native codes.
2009-07-08 23:04:34 -07:00
Daisuke Miyakawa
b5d9132d4e Fix ArrayAdapter, which was fixed in cupcake_dcm and kept fixed until donut, but is broken in eclair.
Original internal Change: 147459-p9
2009-07-09 14:29:15 +09:00
Android (Google) Code Review
fe811d8bd0 Merge change 6603 into donut
* changes:
  quick fix; utf8_codepoint_count must be utf8_length
2009-07-08 21:07:09 -07:00
Daisuke Miyakawa
361d477957 quick fix; utf8_codepoint_count must be utf8_length 2009-07-09 13:05:24 +09:00
Android (Google) Code Review
8a715b4b79 Merge change 5510 into donut
* changes:
  Add useful functions to String8, which enables users to convert between UTF-8 and UTF-32 It will be used in SQL functions in external/sqlite/android. See https://android-git.corp.google.com/g/Gerrit#change,5511 for example.
2009-07-08 18:27:01 -07:00
Dianne Hackborn
2af632f87d Add new <path-permission tag for use by global search.
This adds a new <path-permission> tag you can use inside of a <provide>
to define additional path-based permissions that broaden the global
read and write permissions.  The initial use for this will be global
search, so that a content provider that is protected by permissions
can make a part of itself available to global search under another
permission.  This addresses the issue with global search not being able
to request permissions it would need of providers it doesn't know
about at build time.
2009-07-08 18:08:13 -07:00
Android (Google) Code Review
afefa49abc am 4af0a709: Merge change 6555 into donut
Merge commit '4af0a709ee08e8ae43f49d8fc5c9cae142aaf2c4'

* commit '4af0a709ee08e8ae43f49d8fc5c9cae142aaf2c4':
  Make it so the notification manager doesn't mysteriously
2009-07-08 17:30:05 -07:00
Android (Google) Code Review
706f42c4f8 am 7dd042e3: Merge change 6543 into donut
Merge commit '7dd042e32ee1e59227aafc4fbbc886c8ea0d0df9'

* commit '7dd042e32ee1e59227aafc4fbbc886c8ea0d0df9':
  Adding a missing catch
2009-07-08 17:30:01 -07:00
Android (Google) Code Review
ec109bdd39 Merge change 6560
* changes:
  resolved conflicts for merge of 04c7d0f8 to master
2009-07-08 17:28:14 -07:00
Dave Sparks
6698d16b95 resolved conflicts for merge of 04c7d0f8 to master 2009-07-08 17:26:05 -07:00
Android (Google) Code Review
4af0a709ee Merge change 6555 into donut
* changes:
  Make it so the notification manager doesn't mysteriously beep during boot.
2009-07-08 17:09:54 -07:00
Joe Onorato
302754801c Make it so the notification manager doesn't mysteriously
beep during boot.
2009-07-08 17:09:14 -07:00
Android (Google) Code Review
b426703c19 Merge change 6549
* changes:
  Add strings needed by the new contacts provider.
2009-07-08 17:06:27 -07:00
Daisuke Miyakawa
f05b33b3a1 Add useful functions to String8, which enables users to convert between UTF-8 and UTF-32
It will be used in SQL functions in external/sqlite/android.
See https://android-git.corp.google.com/g/Gerrit#change,5511 for example.

Related internal bug id: 1707173
2009-07-09 09:06:13 +09:00
Evan Millar
d83dab9335 Add strings needed by the new contacts provider. 2009-07-08 17:05:32 -07:00
Android (Google) Code Review
a76aa8f1d5 Merge change 6544
* changes:
  Add a virtual destructor to the TtsEngine class.
2009-07-08 16:56:19 -07:00
Android (Google) Code Review
7dd042e32e Merge change 6543 into donut
* changes:
  Adding a missing catch
2009-07-08 16:44:22 -07:00
Android (Google) Code Review
04c7d0f842 Merge change 6525 into donut
* changes:
  Add timestamps to video frames to improve A/V sync. Bug 1927069.
2009-07-08 16:40:12 -07:00
Marco Nelissen
f6807d73d0 Add a virtual destructor to the TtsEngine class. 2009-07-08 16:24:38 -07:00
Charles Chen
748efcc3fb Adding a missing catch 2009-07-08 16:12:29 -07:00
Dave Sparks
59c1a93529 Add timestamps to video frames to improve A/V sync.
Bug 1927069.
2009-07-08 15:59:25 -07:00
Mitsuru Oshima
c3f60ddaea am 1ecf5d28: Re-implementation of large screen support using window manager. * added background filler surface to fill the outer rim. Using the same layer as dim surface because they never co-exists (in the same window) * clean up the obsolete code in Compatibilt
Merge commit '1ecf5d28817f0a051e77488380dcd5bc622ea169'

* commit '1ecf5d28817f0a051e77488380dcd5bc622ea169':
  Re-implementation of large screen support using window manager.
2009-07-08 15:59:16 -07:00
Android (Google) Code Review
2291616d84 Merge change 6092
* changes:
  Remove duplicate code in Sim/Ruim card, handle IccCardStatus.
2009-07-08 15:22:56 -07:00
Mitsuru Oshima
1ecf5d2881 Re-implementation of large screen support using window manager.
* added background filler surface to fill the outer rim. Using the same layer as dim surface because
   they never co-exists (in the same window)
 * clean up the obsolete code in CompatibiltyMode/ViewRoot for support large screen support.
2009-07-08 15:21:30 -07:00
Jaikumar Ganesh
cdadaad0e4 Remove duplicate code in Sim/Ruim card, handle IccCardStatus.
a) Push code to IccCard.java base class.
b) Handle IccCardStatus.
c) Add some helper functions for USIM use.
2009-07-08 15:15:47 -07:00
Android (Google) Code Review
264cd11dc9 am 7761920b: Merge change 6507 into donut
Merge commit '7761920b2a2efc76d08c63d5be1b3ce829746e4b'

* commit '7761920b2a2efc76d08c63d5be1b3ce829746e4b':
  Remove unused definitions for default language in TextToSpeech as
2009-07-08 14:45:16 -07:00
Romain Guy
125cfce09d am 6de4aed1: Fixes #1933428. Call onPrepareDialog() on managed dialogs after their onCreate() is finished.
Merge commit '6de4aed1c67263269f83f579ec5b06263d173ef3'

* commit '6de4aed1c67263269f83f579ec5b06263d173ef3':
  Fixes #1933428. Call onPrepareDialog() on managed dialogs after their onCreate() is finished.
2009-07-08 14:45:11 -07:00
Android (Google) Code Review
7761920b2a Merge change 6507 into donut
* changes:
  Remove unused definitions for default language in TextToSpeech as the default language is determined by the current Locale, not a hardcoded value. Add a value for the default TTS engine to use.
2009-07-08 14:43:40 -07:00
Jean-Michel Trivi
e28aced7bb Remove unused definitions for default language in TextToSpeech as
the default language is determined by the current Locale, not a hardcoded
value. Add a value for the default TTS engine to use.
2009-07-08 14:20:33 -07:00
Romain Guy
6de4aed1c6 Fixes #1933428. Call onPrepareDialog() on managed dialogs after their onCreate() is finished. 2009-07-08 13:56:28 -07:00
Android (Google) Code Review
61e1d0021a am 1bd3e0fb: Merge change 6504 into donut
Merge commit '1bd3e0fb7e87f1daa983d06bc396393a788181b0'

* commit '1bd3e0fb7e87f1daa983d06bc396393a788181b0':
  Don't invoke the transport if doBackup supplied no data
2009-07-08 13:55:58 -07:00
Android (Google) Code Review
1bd3e0fb7e Merge change 6504 into donut
* changes:
  Don't invoke the transport if doBackup supplied no data
2009-07-08 13:54:07 -07:00
Christopher Tate
b407f22c9d Don't invoke the transport if doBackup supplied no data
If there's no data to be backed up, we no longer invoke the transport.  We *DO*
still require that the agent have emitted a valid new state file, however.

This change also finally uncomments the code that removes the backup data file
after it has been sent to the transport, so there will be no more
packagename.data files lying around in the staging area.
2009-07-08 13:52:50 -07:00
Android (Google) Code Review
cd964761dc am 91b0a701: Merge change 6284 into donut
Merge commit '91b0a7013e4b6d170087cb4c9a3c35b787f92a6b'

* commit '91b0a7013e4b6d170087cb4c9a3c35b787f92a6b':
  Run search UI on its own thread.
2009-07-08 13:52:26 -07:00
Android (Google) Code Review
6c33ff9416 am f9c228a5: Merge change 6487 into donut
Merge commit 'f9c228a51fba54e80826fb6aa5d53f43a2e86042'

* commit 'f9c228a51fba54e80826fb6aa5d53f43a2e86042':
  Removed reference to awt jar from platform.xml.
2009-07-08 13:52:15 -07:00
Bjorn Bringert
ec8ee34e06 Hide soft keyboard in SearchDialog.dismiss()
Before it was hidden in cancel(), which does not get
called when the search dialog is dismissed by clicking
on a suggestion.

Fixes http://b/issue?id=1967633
2009-07-08 21:49:42 +01:00
Android (Google) Code Review
91b0a7013e Merge change 6284 into donut
* changes:
  Run search UI on its own thread.
2009-07-08 13:28:29 -07:00
Android (Google) Code Review
f9c228a51f Merge change 6487 into donut
* changes:
  Removed reference to awt jar from platform.xml.
2009-07-08 12:24:48 -07:00