56490 Commits

Author SHA1 Message Date
Eric Laurent
152abefccb Merge "Deprecate use of some audio effects on output mix." 2011-08-15 15:49:55 -07:00
Mathias Agopian
79996f5b60 Merge changes I4d4580e8,I47b21293,I0767ac2a
* changes:
  fix test-opengl-swapinterval
  revert last change to EGLUtils::selectConfigForPixelFormat
  boot animation doesn't use EGLUtils anymore
2011-08-15 15:44:33 -07:00
Mathias Agopian
e98013b888 fix test-opengl-swapinterval
EGLConfig selection should now work on any device

Change-Id: I4d4580e891d1faf817fa853838406fb49d12e50a
2011-08-15 15:25:40 -07:00
Mathias Agopian
47b2129350 revert last change to EGLUtils::selectConfigForPixelFormat
EGLUtils::selectConfigForPixelFormat is only used by
command line tests and it simply selects a config
based on the EGL_NATIVE_VISUAL_ID.
2011-08-15 15:25:39 -07:00
Mathias Agopian
1b253b702a boot animation doesn't use EGLUtils anymore
Change-Id: I0767ac2a5ab814382b41c85bd5b0786c7a025255
2011-08-15 15:25:39 -07:00
Eric Fischer
dd7bc9f457 Merge "Import revised translations." 2011-08-15 13:22:31 -07:00
Kenny Root
c75d152127 Merge "Fix external size calculations" 2011-08-15 13:20:34 -07:00
Eric Fischer
23018767d2 Import revised translations.
Change-Id: Ic1a72dc93b5450b90bcc46365746e61d7d9ca3e6
2011-08-15 13:19:15 -07:00
Jeff Brown
b2a85b69ce Merge "Fix blocked event handling in InputDispatcher. Bug: 5161854" 2011-08-15 13:09:08 -07:00
Jeff Brown
abb4d446a1 Fix blocked event handling in InputDispatcher.
Bug: 5161854

The InputDispatcher contains code to recover from ANRs more quickly
when the user touches a different application.  When triggered,
it sets mNextUnblockedEvent to the next event it should dispatch
(to the next application).  All prior events are dropped.

This change fixes a bug where mNextUnblockedEvent could potentially
never be reset back to NULL if the inbound queue was drained
for some reason.

Change-Id: I21be2f02c9fc770bd260ea414db8bb184df89ada
2011-08-15 12:55:32 -07:00
Kenny Root
61942c579d Fix external size calculations
Unfortunately fixed internal size calculations for HC, but never the
external size calculations.

Bug: 5113898
Change-Id: Idfe8af0ba74a20aa767eb9abac431ee1c74dcf8e
2011-08-15 12:46:35 -07:00
Robert Ly
154aa355f0 Merge "docs: fix for bug 5057581" 2011-08-15 12:16:41 -07:00
Matthew Xie
269cf1b214 Merge "Implement switchConnectable with Powered property setting instead of scan modes" 2011-08-15 11:49:31 -07:00
Bart Sears
643c7dccbc Merge "Fix xml coding style (turn tabs to spaces)" 2011-08-15 11:43:40 -07:00
Daniel Lehmann
5cf1f1b26b Merge "Renaming com.google.i18n.phonenumbers to com.android.i18n.phonenumbers to avoid name collision." 2011-08-15 11:39:58 -07:00
Matthew Xie
14e48e91f6 Implement switchConnectable with Powered property setting instead of scan modes
Bluez powered property setting is more apropriate for what this method intend to
achieve and it fixes a bug that incoming connection request wake up the stack in
The pairable events are replaced by power and discoverable events
HotOff state
bug 5080232

Change-Id: I43b44cb2f5203bd99bf764d5a1696e8ff52a31db
2011-08-15 11:31:54 -07:00
Amith Yamasani
7d8fc3c911 Merge "Revert "Use a weakreference to prevent the static variable from holding an Activity." Bug was fixed in a different way." 2011-08-15 11:14:19 -07:00
Eric Laurent
62f3617f2f Deprecate use of some audio effects on output mix.
The possibility for applications to apply insert audio effects
(Equalizer, BassBoost, Virtualizer) on global output mix has brought up
a number of issue.

This change updates the java doc for audio effects indicating that
application should not apply insert effects globaly anymore as this behavior
will soon be deprecated.

The audio framework will still allow global insert effects during an interim
period but will give the priority to effects inserted on particular player by
disabling global effects when both are present.

============

Change-Id: If87f1944a0409d45d8d2eee66ff331f95965ca89
2011-08-15 11:11:13 -07:00
Tom Taylor
8f8dae158b Merge "Add private permission for sending SMS via Messaging app" 2011-08-15 10:59:30 -07:00
Adam Powell
e21f89c802 Merge "Fix bug 5159596 - Slider grabs touch point when trying to scroll a list" 2011-08-15 10:29:10 -07:00
Tom Taylor
b0381688b8 Add private permission for sending SMS via Messaging app
When the phone dialer sends an sms, it will use the Messaging app.
That way the sent messages will end up in the messaging provider db
and sending will be more reliable. Currently, the phone dialer
uses the SmsManager directly. For now, the feature is only
available to system apps and the permission is private. Bug 4563486

Change-Id: I10f7e1042683164ee61d01a2aaf738d19084da72
2011-08-15 10:27:53 -07:00
Eric Fischer
b3faa42f49 Merge "Move date format strings to donottranslate.xml and add locale overrides." 2011-08-15 10:24:49 -07:00
Claudia de Veaux
d53944b7e6 Merge "Edit to APN read/write APN Settings permissions. Bug: 5145868" 2011-08-15 10:24:19 -07:00
Gilles Debunne
186c1683ce Merge "Text suggestions are enabled for a subset of input types" 2011-08-15 10:07:59 -07:00
Jeff Sharkey
f2452b997c Merge "Change Preferences padding to match UI spec." 2011-08-14 21:18:02 -07:00
Jeff Brown
8b65c902ee Merge "Use PARCELABLE_WIRTE_RETURN_VALUE flag in InputChannel. Bug: 5161290" 2011-08-14 20:13:19 -07:00
Chih-Chung Chang
cb04a1f3a3 Speed up thumbnail generation.
We don't need to have precise position for thumbnails, so we add
a tolerance parameter to the decoder. The decoder can return an
earlier frame within the tolerance time given.

Change-Id: I0a49ed6b03f8c3264606e4143dd5ecf48e9d0f62
2011-08-15 10:08:33 +08:00
Adam Powell
1029866a12 Fix bug 5159596 - Slider grabs touch point when trying to scroll a list
SeekBar widgets were not good citizens when placed in scrolling containers.
Detect when a SeekBar being touched is in a scrolling container and fall
back to a touch slop-based method for beginning a drag. Taps along the
seek bar itself will still change the value on touch up, even if the touch
slop never initiated a proper drag.

Factor out the code used to determine scrolling container status in View
into something that can be reused elsewhere in the framework; leave it
@hidden for now.

Change-Id: I59a21e8ab2c3b0092fafedbcd6ae1ee15f45971c
2011-08-14 18:29:23 -07:00
Adam Powell
37d81ac316 Merge "Fix bug 4981687 - WiFi connection dialog should dismiss when tapped outside." 2011-08-14 17:38:27 -07:00
Adam Powell
27b1c978ce Merge "Fix bug 5154361 - New force close dialog text breaks button order rules" 2011-08-14 17:23:29 -07:00
Adam Powell
d42bc52030 Fix bug 4981687 - WiFi connection dialog should dismiss when tapped outside.
Be more forceful in how we allow touch outside to dismiss in
non-fullscreen situations. Dialogs will be canceled. Activities will
be finished.

Change-Id: I041a60501319829a2214f9249d154d5513049a0f
2011-08-14 17:16:37 -07:00
Adam Powell
40a9784d48 Fix bug 5154361 - New force close dialog text breaks button order rules
Reorder the force close/ANR dialog buttons to better match the new
rules/intent from UX.

Change-Id: I30fed56aabd0cc91d07852807347057176d82aaa
2011-08-14 17:13:10 -07:00
Adam Powell
32ab095751 Merge "Fix bug 5159736 - Make DeviceDefault the default" 2011-08-14 16:57:45 -07:00
Adam Powell
6e90a362bc Fix bug 5159736 - Make DeviceDefault the default
Have the framework refer to the DeviceDefault themes for ICS apps that
don't explicitly request another theme.

Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
2011-08-14 16:49:22 -07:00
Bart Sears
3939c35a6c Fix xml coding style (turn tabs to spaces)
Bug: 5128762
Change-Id: Idc67a7f35e53ec4ccade37f95c3648430b2674a2
2011-08-14 16:21:06 -07:00
Jean-Michel Trivi
70b5c66a24 Merge "Fail request for audio focus when linkToDeath fails" 2011-08-14 16:12:09 -07:00
Daniel Lehmann
b93ce4ae86 Merge "Several API changes as requested by ES:" 2011-08-14 16:01:59 -07:00
Daniel Lehmann
f188dfda30 Several API changes as requested by ES:
- Switch from resource ids to names to prevent breakage on package upgrade
   Bug:5135277
 - Add SYNC1...SYNC4 columns to StreamItems and StreamItemPhotos
   Bug:5119385
 - Remove ACTION, ACTION_URI from Groups, StreamItems and StreamItemPhotos
   (this reduces db size and prevents click intercepting)
   Bug:5135808
 - Add some raw-contact fields to the StreamItem query
   Bug:5134081

Doing those changes in one block to prevent too many db upgrade steps

Change-Id: I5618e210206e0315b91f5883e6b6b386dccb5881
2011-08-14 15:39:22 -07:00
Jean-Michel Trivi
baf674eedd Fail request for audio focus when linkToDeath fails
When requesting audio focus and linkToDeath() threw a
 RemoteException, AudioService was only logging a warning, and
 was still changing the focus, with a non-null death handler.
The change first check that linkToDeath() didn't fail, and only
 then proceeds to change the focus (dispatch focus change
 notification, updates the focus stack, and updates the remote
 controls).

Change-Id: I0b96dd3c6e924d93f419880349d49f8b360b110b
2011-08-14 15:16:21 -07:00
Mike Lockwood
52727fc38a Merge "MediaScanner: Clear file path before deleting records to avoid accidental file deletions" 2011-08-14 14:39:12 -07:00
Jean-Michel Trivi
5a586199ce Merge "Fix leak of global references and AudioFocusDeathHandler objects." 2011-08-14 14:24:09 -07:00
Elliott Hughes
be414332a1 Fix android.text.format.Time to use GetBooleanField on its boolean field.
Bug: 5162851
Change-Id: I49b1429e86ffa91fbfb8b4c9d1a0c6d30c72621e
2011-08-14 13:31:03 -07:00
Jean-Michel Trivi
061214bb71 Fix leak of global references and AudioFocusDeathHandler objects.
Need to call unlinkToDeath() for the object to be garbage collected.
Save the object in the FocusStackEntry, unlink to death when we remove it from the stack.
See http://b/issue?id=5048400

Change-Id: I84c5ba46017d0a8744b5e7509a7c7a5c8dd918fb
author: olivier@google.com
2011-08-14 11:37:24 -07:00
Mike Lockwood
f2e2b523dd MediaScanner: Clear file path before deleting records to avoid accidental file deletions
Bug: 5140112
See also http://code.google.com/p/android/issues/detail?id=3692

Change-Id: I971eea83a2f3986a0b0ea018b7211f2525b914ab
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-14 10:35:54 -07:00
Amith Yamasani
b724c346e1 Revert "Use a weakreference to prevent the static variable from holding an Activity."
Bug was fixed in a different way.

This reverts commit 352c01e2133b71918fa1cb2783a0a10e56117775.
2011-08-13 07:43:07 -07:00
Adam Powell
99f09c27a4 Merge "Fix bug 5078498 - Icons jump around on split action bar" 2011-08-12 23:36:20 -07:00
Adam Powell
14b7e2c168 Fix bug 5078498 - Icons jump around on split action bar
Revise measurement and layout code for the lower menu on a split
action bar.

Fix some metrics in the action mode close button and in button bars.

Change-Id: I76215e28ae3b0199162dedd32794b25c9e38a346
2011-08-12 23:34:47 -07:00
Wink Saville
a91f2703ae Merge "Update sim_removed_message string." 2011-08-12 23:22:08 -07:00
Romain Guy
3a5f2e6f09 Merge "<blink/> is not an acceptable default behavior. Bug #5156334" 2011-08-12 19:39:20 -07:00
Dianne Hackborn
9beeb95c80 Merge "Turn off hinting by default for higher density displays." 2011-08-12 19:17:09 -07:00