55004 Commits

Author SHA1 Message Date
Daniel Sandler
7d62990bad Merge "Fix dancing download notifications on phones." 2011-07-20 12:44:20 -07:00
Dave Santoro
32911e72af Merge "Updates and fixes for the social stream API." 2011-07-20 12:43:26 -07:00
Costin Manolache
7288ebd8e5 Merge "waitWithTimeout() needs to check if the result is already available, like waitForActivity() does." 2011-07-20 12:33:42 -07:00
Chia-chi Yeh
b503b85491 Merge "ConnectivityService: Implement VPN callbacks to update DNS servers." 2011-07-20 12:28:04 -07:00
Jesse Wilson
7a2c813d30 Skip byte order mark (BOM) in JsonReader
Bug: http://code.google.com/p/android/issues/detail?id=18508
Change-Id: I7652080d9ab475c75d0a811a6e2ede4975ebe063
2011-07-20 12:23:23 -07:00
Mike Lockwood
a331cdbb40 Merge "MediaScanner: Do separate bulk inserts for different media types" 2011-07-20 12:15:48 -07:00
Debashish Chatterjee
e23fc20e54 Merge "Removed READ_WRITE_ALL_VOICEMAILS permission from framework." 2011-07-20 11:54:56 -07:00
Daniel Sandler
20cdb151c9 Fix dancing download notifications on phones.
There's always going to be some amount of visual noise when
notifications change order, and this can happen any time a
notification changes its "when" field (as is the case for
download progress bars). But in HC we added an optimization
that will reuse the current row if the download is the last
item in the list (so a fresher "when" will still put it at
the end), and that optimization is re-applied here.

Now, if you have multiple notifications all competing for
the top spot, I can't help you. But we had that problem
before (it just wasn't as egregious because we didn't have
the shiny animations).

Bug: 4971404
Change-Id: I5bcc905bdb19a8eb5b4494a6ba9825b4d5373caa
2011-07-20 14:41:41 -04:00
Fabrice Di Meglio
1180644280 Fix bug #4772392 Check what needs to be done for RTL specific new attributes that are in public.xml
- cleanup public.xml
- make BiDiTest makefile non visible to the build system
- provide file for injecting the new attributes by hand

Change-Id: I5037ec323066ebd254be51fff7070a5a0101dff7
2011-07-20 11:38:59 -07:00
Dave Santoro
040e6b302c Updates and fixes for the social stream API.
- Social stream photo updates should use the new photo storage
  system instead of storing the image content in BLOBs.
- Package names need to be text, not numbers.  The status update
  documentation was incorrect.
- Social stream photos will include a URI the caller can open to
  get the photo content.
- Removed the max photo bytes from the stream item limit query,
  as we'll do appropriate resizing with the photo storage system.

Change-Id: I103ee1340c1a3772ae37add3684b0658c241a49c
2011-07-20 11:33:31 -07:00
Debashish Chatterjee
cdf95e3102 Removed READ_WRITE_ALL_VOICEMAILS permission from framework.
This permission is meant to be a 'signature' permission and to be used
only by the contacts app. We recently moved it to framework/base as part
of opening up voicemail api into the SDK. However, the signature of
framework is different from contacts app. Consequently the contacts app
is not granted READ_WRITE_ALL_VOICEMAILS permission. This makes the
contacts app crash on start.

This fix removes the READ_WRITE_ALL_iVOICEMAILS from framework/base so
that the one defined in contacts provider is then used by the system.

Bug: 5054221

Change-Id: Iaa7a23fe95b0142978eff124e25fe2291dc7d212
2011-07-20 19:09:37 +01:00
Eric Laurent
5531a3a3cf Merge "Fix issue 5012047: silent mode mutes music" 2011-07-20 11:04:18 -07:00
Mike Lockwood
e19572ccb5 MediaScanner: Do separate bulk inserts for different media types
This should fix a bunch of problems introduced in the original bulk insert implementation

Also reverted two changes that are no longer necessary:

Revert "MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files"

This reverts commit 92e1314ad9ddbacfb806405e9aceeea4a8aae19f.

Revert "MediaScanner: fix breakage in updates"

This reverts commit 45aaa2a345292bb6d600822db602f25e261c0e50.

Change-Id: Ibed66393467761c2c1ce48deb09bcac505b7d221
2011-07-20 10:58:45 -07:00
Jamie Gennis
7f60a81a2a Merge "MediaPlayer: add a disconnect from ANativeWindow" 2011-07-20 10:47:04 -07:00
Robert Greenwalt
47d4caf41b Merge "Start default connections on startup." 2011-07-20 10:10:24 -07:00
Alex Sakhartchouk
eac3503deb Merge "Correctly call glviewport when surface changes." 2011-07-20 09:41:50 -07:00
Gilles Debunne
caed51bcc2 Merge "Insertion handles fades out after being positionned" 2011-07-20 09:12:41 -07:00
Russell Brenner
4dcd82be66 Merge "Replace DroidKufi-Regular with DroidNaskh-Regular" 2011-07-20 08:39:28 -07:00
Russell Brenner
f7334279f0 Merge "Replace DroidSansArabic with DroidKufi-Regular" 2011-07-20 08:39:13 -07:00
Andreas Huber
85111ee501 Merge "Content found in the wild violated the MPEG4 systems specs" 2011-07-20 08:05:06 -07:00
Debashish Chatterjee
e8c3986b5c Merge "Voicemail content provider API for api council review." 2011-07-20 05:34:01 -07:00
Alon Albert
5a8ca580b0 Merge "Add a getter for the active tag" 2011-07-19 22:06:34 -07:00
Alon Albert
eaef351afc Add a getter for the active tag
Change-Id: I597e041867fba7efae41feea63fa196bc10e4aa2
2011-07-19 22:04:22 -07:00
Adam Powell
060e3cad11 Fix bug 5045004 - onActionModeFinished happens well before the
ActionBar is actually gone

Defer calling onDestroyActionMode until the action bar UI has fully
transitioned out of the mode and any bar-hiding layout change is ready
to happen. This helps apps better respond to layout changes resulting
from action mode UI.

Change-Id: I8e560ec566f4c3fa4a701c4b3aeb531c16169168
2011-07-19 20:39:16 -07:00
Irfan Sheriff
35435997c7 Merge "Adding WifiInfo object in CONNECTED broadcast" 2011-07-19 19:42:35 -07:00
Adam Cohen
cf4cfc6fc8 Merge "Adding resizeMinWidth/Height to AppWidgetProviderInfo" 2011-07-19 18:43:57 -07:00
Adam Cohen
1bfaf561b7 Adding resizeMinWidth/Height to AppWidgetProviderInfo
Change-Id: I17dc27829938a3f25a664d8255965cf9b67cb17e
2011-07-19 18:39:40 -07:00
Romain Guy
59f13c7dfb Prevent NPE in TextView.getFadeTop()
Bug #5051776

Change-Id: I2fc1ac4b31c06cfb224898ff39f6b63bfbcd77e8
2011-07-19 18:35:33 -07:00
Dianne Hackborn
62ea5e80bf Merge "Fix issue #4999574: Disabled system app not listed in Settings after reboot" 2011-07-19 18:07:00 -07:00
Dianne Hackborn
116b208b3a Merge "Fix issue #4976176: Font size setting does not persist" 2011-07-19 18:06:25 -07:00
Alex Sakhartchouk
10ed04935d Correctly call glviewport when surface changes.
Change-Id: I7ef1539e39ea67245bac5ee410deb5918fc5dfcf
2011-07-19 17:50:29 -07:00
Stephen Hines
588bf7a53e Merge "Extract BC metadata using a single call." 2011-07-19 17:45:49 -07:00
Gilles Debunne
3784a7f6f8 Insertion handles fades out after being positionned
Change-Id: I08b497222fd585a39cbd04b7be1992acf1a70145
2011-07-19 17:35:58 -07:00
Eric Laurent
c3d84701e0 Merge "Fix issue 4499450: Unknown Ringer Mode" 2011-07-19 17:27:24 -07:00
Xavier Ducrohet
6704884275 Merge "Layoutlib: misc fix + start of AndroidBidi support." 2011-07-19 17:23:00 -07:00
Romain Guy
3d4349d7d2 Merge "Add new OpenGL test" 2011-07-19 17:21:46 -07:00
Romain Guy
115ed5f46d Add new OpenGL test
Change-Id: Icab48d71945bf94dd53f58b728a951d46380d945
2011-07-19 17:20:35 -07:00
Chia-chi Yeh
44bb251be7 ConnectivityService: Implement VPN callbacks to update DNS servers.
Change-Id: I7b5063f0344a2a5c2754600386982e870adc1161
2011-07-19 17:15:41 -07:00
Daniel Sandler
6e47348392 Merge "Fix stacked notifications." 2011-07-19 17:14:51 -07:00
Mathias Agopian
9ec1f1d259 Merge "implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation"" 2011-07-19 17:10:10 -07:00
Isaac Levy
3550ac919c Adding WifiInfo object in CONNECTED broadcast
Adding a parsable wifiinfo object in Connected broadcast, public api.
The connected broadcast only occurs on successful setup on the wifi
interface, so in normal use is very infrequent (once if the wifi
sleeps, or once at new hotspots, etc...)

WifiInfo objects are small, <10 ints, <5 short strings, and contain info
that could be useful to listeners, such as SSID.

The alternative is to the poll the Wifi Manager, using getConnectionInfo.
Because the Wifi Manager can update state in its own thread, polling the
Wifi Manager might result in an info object that's out of sync from the
received broadcast.

Change-Id: Iafcec77f45dd094ea84e6022b7a40e8952ae8137
2011-07-19 16:39:34 -07:00
Andreas Huber
80d9064a14 Content found in the wild violated the MPEG4 systems specs
but other players apparently worked around it as well, so we do to.

Change-Id: I8269d2344b010d1d704028c8a9c05bddab53828d
related-to-bug: 5049979
2011-07-19 16:05:50 -07:00
Eric Laurent
72668b2c04 Fix issue 4499450: Unknown Ringer Mode
Added a validity check on ringer mode values in AudioManager.setRingerMode().

Change-Id: Ie780edc1d347009d90f000018a71520b04e0c4a1
2011-07-19 16:04:27 -07:00
Andreas Huber
6461c97331 Merge "More HLS fixes" 2011-07-19 15:33:25 -07:00
Mathias Agopian
f07b8a3f69 implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation"
Bug: 4487161
Change-Id: I883f34efe542c2a566d04966f873374f40c50092
2011-07-19 15:24:46 -07:00
Romain Guy
1003aeb9de Merge "Reduce the fade area to save bandwidth." 2011-07-19 15:20:46 -07:00
Romain Guy
f2fc460a95 Reduce the fade area to save bandwidth.
Change-Id: I8ccea17fc1fb3c132329baa0acc1b3d5a140a5c6
2011-07-19 15:20:03 -07:00
Dianne Hackborn
b8f400020b Fix issue #4999574: Disabled system app not listed in Settings after reboot
Change-Id: I1a0a0724f72adcfa6aedffdcd3112bd4faa909d3
2011-07-19 15:17:43 -07:00
Xavier Ducrohet
af64556de0 Layoutlib: misc fix + start of AndroidBidi support.
Change-Id: If2ce0b683da8cce01679322d503eed8dd474e521
2011-07-19 15:10:23 -07:00
Andreas Huber
9073725c1b More HLS fixes
properly expand URLs where the "new" URL is an absolute path.
properly include any extra headers even when fetching the key files.

Change-Id: I7cd8879015ea8e3d3e2334f4e7e16b8c1a5d48e9
2011-07-19 15:04:53 -07:00