75174 Commits

Author SHA1 Message Date
Gilles Debunne
de09576f49 Merge "Cursor is moved at end of word when it is added to dictionary" 2012-04-23 10:42:21 -07:00
Steve Block
5e1243e6f7 Merge "Fix use of API level in android.webkit JavaDoc" 2012-04-23 10:33:14 -07:00
Steve Block
b838aef488 Fix use of API level in android.webkit JavaDoc
Bug: 5461416
Change-Id: Id17b10fec6bebc46260db6abe6df5f7d44a711ae
2012-04-23 18:24:29 +01:00
Jeff Sharkey
f913d002a6 Merge "Expose statfs() through IMediaContainerService." 2012-04-23 10:08:01 -07:00
Amith Yamasani
03d2f292a6 Merge "Clipboard service keeps separate clipboards per user." 2012-04-23 09:40:28 -07:00
Ben Murdoch
1579a67ee9 Merge "Pause the WebCore thread watchdog at the right time." 2012-04-23 05:52:05 -07:00
Ben Murdoch
cba778dc21 Pause the WebCore thread watchdog at the right time.
There are times when we deliberately put the WebCore thread
to sleep (i.e. waiting for a user to complete a JS prompt or
dismiss an alert). In this case, we don't want the WebCore thread
watchdog to fire. Pause the watchdog before we put the WebCore thread
to sleep and resume it again when the thread wakes up.

Factor out the repeated send/pause/wait/resume code into it's own
function.

Bug: 6366520
Change-Id: I17ecf9d466ce21b25a9e5cb8ff4cb0e5fab7605b
2012-04-23 13:50:03 +01:00
Jonathan Dixon
47bc84760a Merge "Seperate interface and implementation of 4 WebView classes" 2012-04-23 05:48:40 -07:00
Daniel Sandler
03c63ebebb Merge "Update SystemUI for sw600dp devices." 2012-04-23 04:48:35 -07:00
Jonathan Dixon
d3101b1d30 Seperate interface and implementation of 4 WebView classes
GeolocationPermissionsClassic
CookieManagerClassic
WebIconDatabaseClassic
WebStorageClassic

Also creats a WebViewFactory top level class - this remains hidden
for now, as it's currently only used implicitly by the other
public WebView classes to create the provider instances.

Bug: 5626244

Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
2012-04-23 12:43:02 +01:00
satok
eb65757d24 Merge "Fix the first boundary of the sentence level spell check" 2012-04-22 22:39:48 -07:00
satok
979de90369 Fix the first boundary of the sentence level spell check
Change-Id: I7c7659c921103d31f9909c14850088aef0d2eb19
2012-04-23 13:46:40 +09:00
Jeff Sharkey
9cbe986a44 Expose statfs() through IMediaContainerService.
Bug: 6346248
Change-Id: I03ae02578f546fc9f19652cbdece56e2e0ab6a1c
2012-04-22 18:56:43 -07:00
Jeff Sharkey
49b0246bc4 Merge "System context should inherit base package name." 2012-04-22 17:30:41 -07:00
Jeff Sharkey
816e4f7583 System context should inherit base package name.
Otherwise registerReceiver() from views inflated with the returned
context will throw (like DateTimeView).

Bug: 6376149
Change-Id: I038a680e49fba81bbebfc8c0c94f15e7cd072f33
2012-04-22 17:08:52 -07:00
Eric Laurent
e93cccb634 Merge "Fix threading issues in AudioRecord JNI" 2012-04-22 13:26:29 -07:00
Jeff Sharkey
4190a047ca Better assertions when bandwidth module disabled.
Also disable some verbose logging in WifiStateTracker.

Bug: 6368329
Change-Id: I9a5219bc1b3fd870468f7de46cdf4f173a437c59
2012-04-21 15:36:48 -07:00
Daniel Sandler
4a066c5c77 Update SystemUI for sw600dp devices.
Devices between 600 and 719dp will now use the two-bar
(phone) SystemUI layout, or something like it, derived from
PhoneStatusBar. Devices above 720dp will use the system bar
from TabletStatusBar.

However, this distinction is not to be made based on dp, at
least, not by the SystemUI; the goal is to drive most of
this switch from the window manager. Therefore most of
SystemUI's sw600dp resources have been folded into the main
set of resources (renaming them to avoid collisions where
appropriate). This allows SystemUI to choose which set of
resources to use entirely by switching status bar
components, entirely independent of Configuration.

(For some resources, particularly around recents, it seemed
more expeditious to keep relying on the device
configuration, so those resources have been bumped up to
sw720dp.)

Bug: 6297838
Change-Id: I3f5414a6a718bdc83f51930d6878cdf97df48c9c
2012-04-21 00:19:47 -04:00
Jeff Brown
7838025812 Merge "Make InputEvent.getEventTime() public." 2012-04-20 20:16:25 -07:00
Jeff Brown
a2c68198b1 Merge "Get alias for Bluetooth devices." 2012-04-20 20:15:20 -07:00
Jeff Brown
b11499d2db Make InputEvent.getEventTime() public.
Also add new methods to access the event timestamp in
nanoseconds.  Hidden for now but useful for prototyping.

Bug: 6374616
Change-Id: I7030734a908e8e31a17a356debc269db7c0f0783
2012-04-20 20:11:19 -07:00
Jeff Brown
5bbd4b4f5f Get alias for Bluetooth devices.
Bluetooth devices can be renamed by the user.  Make the
input system aware of the user-specified name and transparently
pass it down to applications.  This enables the keyboard
layout picker Settings UI to use device names that are
consistent with what the user set in the Bluetooth UI.

Bug: 6363157
Change-Id: I8eea26ce2c69c2a3f09c8de02e9e847610e0419c
2012-04-20 20:11:12 -07:00
Amith Yamasani
e9e26cc727 Clipboard service keeps separate clipboards per user.
No leaking personal information via the clipboard.

Change-Id: I11125288e2e640eb0c0e4c73dae2b4d9aa7c0f3b
2012-04-20 19:01:50 -07:00
Dianne Hackborn
8ff0c9204e Merge "You can now long press on the power off menu to reboot to safe mode." 2012-04-20 18:58:53 -07:00
Svetoslav Ganov
7dc3d82a39 Merge "Adding a couple of missing accessibility focus directions." 2012-04-20 18:51:45 -07:00
Svetoslav Ganov
d6e716dce9 Adding a couple of missing accessibility focus directions.
Change-Id: Id404155591cf3fe5f9bef3ed8fe0d03908944ce1
2012-04-20 18:40:21 -07:00
Dianne Hackborn
19caadc08f You can now long press on the power off menu to reboot to safe mode.
Change-Id: I3aa575285058cf5a3d89486d6b944f6ea13d645c
2012-04-20 17:50:26 -07:00
Amith Yamasani
9392ad25a8 Merge "Fix dumpsys package." 2012-04-20 17:37:43 -07:00
Svetoslav Ganov
122b2c32de Fixing a couple of issues I have introduces in the last patch.
1. Fix waiting for the wrong instance.

2. Fix cloning of accessibility node info.

Change-Id: Icabf0d4bc947602a32fddc6642cc787f2bc766e4
2012-04-20 17:04:23 -07:00
Eric Laurent
532bc1cb7d Fix threading issues in AudioRecord JNI
Made native AudioRecord ref based to allow use
of strong pointers in JNI and solve concurrency issues
between read() and release() in particular.

Applied the same fixes to AudioTrack JNI.

Issue 6254582.

Change-Id: I381a66cb00b6639f87f4fcd19a2e202d1a4e6704
2012-04-20 16:26:07 -07:00
Kenny Root
8b0af62799 Merge "Move forward lock utilities to PackageHelper" 2012-04-20 16:10:45 -07:00
Jeff Sharkey
8d3696eca2 Merge "Connect metered DHCP hint for Wi-Fi networks." 2012-04-20 16:03:26 -07:00
Jeff Sharkey
9f6e4ba50e Connect metered DHCP hint for Wi-Fi networks.
When DHCP lease includes vendor info indicating that remote Wi-Fi
network is metered, advise NetworkPolicy.  Users can still manually
change the metered flag in Settings.

Also remove any policies belonging to removed Wi-Fi networks, and
teach isNetworkMetered() about ethernet networks.

Bug: 6344821, 6369307, 6365872
Change-Id: I108606c6fddf2d02828fcab011f3a1501415f1bc
2012-04-20 15:57:19 -07:00
Gilles Debunne
bb56676b07 Merge "Visible spans changes only invalidate the affected text sub display lists" 2012-04-20 15:51:44 -07:00
Gilles Debunne
ebc86af1dc Visible spans changes only invalidate the affected text sub display lists
When a span with a visible influence on the text is modified, we only
need to invalidate the text sub display lists that overlap this span.

This is especially useful when typing and the composing span (an underline
span) gets updated after each key stroke.

Change-Id: Ib2af3219c41eb79ec5d0a2eee317aca8c4efdef9
2012-04-20 15:45:39 -07:00
Svetoslav Ganov
72de206248 Merge "Adding support for traversing the content of a node info at granularity." 2012-04-20 15:26:24 -07:00
Amith Yamasani
7ea3e7df1f Fix dumpsys package.
Was bailing out due to insufficient permissions to query users.

Bug: 6374050
Change-Id: Ic4a4ab32e2efb4d1fc1f1607fd304f99d5382743
2012-04-20 15:19:35 -07:00
Svetoslav Ganov
aa780c1109 Adding support for traversing the content of a node info at granularity.
1. A view that creates an accessibility node info may add to the info
   a list of granularity labels. These are granularities by which the
   source view can iterate over its content. For example a text view
   may support character, word link while a web view may additionally
   support buttons, tables, etc. There are actions on accessibility
   node info to go to the next/previous at a given granularity which
   is passesed as an argument.

2. Added Bundle argument to the APIs for performing accessibility
   actions. This is generic and extensible.

bug:5932640

Change-Id: I328cbbb4cddfdee082ab2a8b7ff1bd7477d8d6f9
2012-04-20 15:12:13 -07:00
Craig Mautner
4d7349bb6d Remove flicker from transitions.
Change state progressions to handle animation/layout separation.
Also added debug as needed.

Fixes bug 6360835.
Fixes bug 6206366.
Fixes bug 6286371.
Fixes bug 6240494.

Change-Id: I1079756a7e3e35ebb9f711f02d005bde9bf65ef0
2012-04-20 15:09:51 -07:00
Svetoslav Ganov
8e2f41426c Fixes in the accessibility gesture dispatching.
1. The gesture dispatcher thread was not waiting in a loop
   that check for complete initialization. Therefore is was
   susceptible to missed signals and unexpected interrupts.

2. In the gesture processing message handle the interaction id
   was reading the wrong message argument.

bug:5932640

Change-Id: Ic65ecc01a7fe7d43929c6c07d0759ae9001cf515
2012-04-20 14:57:18 -07:00
Kenny Root
2782a478d0 Move forward lock utilities to PackageHelper
The forward lock utilities will need to be called from
DefaultContainerService for ASEC packages in the future. Move them to
PackageHelper to aid in the transition.

Also move the public resource copying to the FileInstallArgs step which
makes a little bit more sense.

Change-Id: I3a62ac817719db3ee1c89c106a551dcbe9c44744
2012-04-20 14:40:03 -07:00
Scott Main
5778626d9b am 9b930d21: am 40a33f3b: Merge "docs: add meta description to first training docs" into ics-mr1
* commit '9b930d2134a1cebcafbcf2d05d429120e831a920':
  docs: add meta description to first training docs
2012-04-20 14:23:21 -07:00
Robert Greenwalt
cd74a180ce Merge "Set AuthType to NONE if username of APN is not set" 2012-04-20 14:20:42 -07:00
Scott Main
9b930d2134 am 40a33f3b: Merge "docs: add meta description to first training docs" into ics-mr1
* commit '40a33f3b0a3e29ddc98d31fbd9bf02a32aea5193':
  docs: add meta description to first training docs
2012-04-20 14:20:31 -07:00
Mathias Agopian
509e23e8a4 Merge "fix a typo causing sensor event to be sorted in reverse chronological order" 2012-04-20 14:20:22 -07:00
Scott Main
40a33f3b0a Merge "docs: add meta description to first training docs" into ics-mr1 2012-04-20 14:18:29 -07:00
Scott Main
34bf13d593 docs: add meta description to first training docs
Change-Id: Iaf04ffbd10c8c5e1cf3896876fecb59f038127a7
2012-04-20 14:16:05 -07:00
Scott Main
50ae5634cc am 7d48a823: am f90f4ed1: docs: fix more broken links
* commit '7d48a823b4dcc82ca74f8858e082d41a3b8cd5d9':
  docs: fix more broken links
2012-04-20 14:13:07 -07:00
Scott Main
7d48a823b4 am f90f4ed1: docs: fix more broken links
* commit 'f90f4ed19c1bd7e0492c1aa1494a1d8ed5185275':
  docs: fix more broken links
2012-04-20 14:09:50 -07:00
Dianne Hackborn
e1a996e99d Merge "Move handling of package changes to a background thread." 2012-04-20 13:44:43 -07:00