4620 Commits

Author SHA1 Message Date
Dianne Hackborn
6c11e73f67 Fix resources not being set correctly. 2009-07-09 12:41:06 -07:00
Dianne Hackborn
e3f054411b resolved conflicts for merge of 2af632f8 to master 2009-07-09 12:15:46 -07:00
Android (Google) Code Review
d1e5e3ffc2 Merge change 6639 into donut
* changes:
  Restore audio settings and wifi.
2009-07-09 12:07:45 -07:00
Amith Yamasani
d158214511 Restore audio settings and wifi.
Optimize backups by writing an entity only if the checksum of the data has changed.
Call into the hidden AudioService API to apply changed audio settings.
After restoring wifi data, make sure that the permissions and ownership are set
properly for the supplicant process to access it.
Locale isn't restoring properly - TODO added.
2009-07-09 12:01:25 -07:00
Android (Google) Code Review
4117fd09e6 Merge change 6641 into donut
* changes:
  Unbreaking the build.
2009-07-09 11:59:32 -07:00
Android (Google) Code Review
65e9d2285e Merge change 6629 into donut
* changes:
  Rename "no" arrays.xml file to be in the correct "nb" locale.
2009-07-09 11:54:52 -07:00
Charles Chen
be84e4134d Unbreaking the build. 2009-07-09 11:54:50 -07:00
Android (Google) Code Review
0ed81492bc Merge change 6638 into donut
* changes:
  Unhide android.gestures.
2009-07-09 11:48:12 -07:00
Romain Guy
423d679a47 Unhide android.gestures. 2009-07-09 11:46:39 -07:00
Nicolas Catania
b2c693919b Implemented the metadata changed notification filters.
IMediaPlayer:
new setMetadataFilter method so set a filter (2 lists of allowed and blocked metadata type)
serialized in a Parcel.

MediaPlayer.java/android_media_MediaPlayer.cpp/mediaplayer.cpp
new setMetadataFilter that passes the filter down to the MediaPlayerService's binder interface.

MediaPlayerService.cpp
The Client inner class holds the allowed and blocked metadata types.
These are in 2 vectors that get populated in the setMetadataFilter.

A new shourldDropMetadata method returns true if a type of metadata should be dropped according
to the filters.

The notify method in run the metadata update notifications thru the filter and possibly drop them.
2009-07-09 11:46:02 -07:00
Mike Lockwood
ed76037792 Add a persistent system property to disable the adb notification.
Setting to persist.adb.notify to 0 will disable the ad notification.
You need to be root to set this, so this allows disabling the notification
only on eng and userdebug builds.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-09 14:24:42 -04:00
Android (Google) Code Review
b45451f6da Merge change 6583 into donut
* changes:
  Adding a lock to stop so that stop will stop utterances that are just starting up.
2009-07-09 11:05:18 -07:00
Eric Fischer
45146d9521 Rename "no" arrays.xml file to be in the correct "nb" locale. 2009-07-09 11:00:45 -07:00
Android (Google) Code Review
3bb692338f Merge change 6620 into donut
* changes:
  Keep Gears permissions in sync with system location settings.
2009-07-09 10:59:22 -07:00
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