74511 Commits

Author SHA1 Message Date
Victoria Lease
0b8413bbeb Make WebView.findAllAsync() and WebView.setFindListener() public.
Deprecate WebView.findAll() while we're at it.

Bug: 6052412
Change-Id: I2f7116786109b4d6a01d24ac892c13b5d1f498f4
2012-04-09 11:48:18 -07:00
Scott Main
c1c2ca0cc6 am 3f23b713: am 5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '3f23b71364e7a0960c6a1269ec2467937bc13388':
  docs: add 101 Training class "Building Your First App"
2012-04-09 11:28:53 -07:00
Jeff Sharkey
eaeee6a55c Merge "Migrate to @Override to remove warnings." 2012-04-09 11:26:34 -07:00
Jeff Brown
fd6ebee93c Merge "Fix lid switch interpretation." 2012-04-09 11:25:02 -07:00
Jeff Brown
3b0ea8dbb6 Merge "Use new EVIOCSCLOCKID ioctl if supported." 2012-04-09 11:24:16 -07:00
Jeff Brown
27fd3420ac Fix lid switch interpretation.
Also remove unnecessary permission check for method that is
only called internally.

Change-Id: I32f63fc3e96b06709d18b046ee2d3c8f310de70d
2012-04-09 11:22:12 -07:00
Daniel Sandler
84920cc56e Fix notifications transitioning from small->big.
We'll have to go back and tweak this when we add a more
sophisticated switch from contentView to bigContentView, but
for now, this ought to detect that the notification has
gotten bigger (or smaller).

Change-Id: I3816fe8ed321569d1ce07d8a62cb08a434e55c2d
2012-04-09 14:17:57 -04:00
Scott Main
979c4f5908 docs: fix NDK r7c release data and remove "new" tag
Change-Id: I37d2dfb46aef66b75cfd93a21005748358d457ec
2012-04-09 11:15:35 -07:00
Jeff Brown
eca3cf58c0 Use new EVIOCSCLOCKID ioctl if supported.
Bug: 6292993
Change-Id: I718f167c2cd41298ed54847dbc5de872cd4c7e4a
2012-04-09 11:00:37 -07:00
Jeff Sharkey
bfdd680ab4 Migrate to @Override to remove warnings.
Bug: 6303344
Change-Id: I0d33b2ed448467379d576ccd71fb5ae20c878852
2012-04-09 10:57:21 -07:00
Adam Powell
081cc9a1f5 Merge "Tweaks to Activity up navigation" 2012-04-09 10:52:26 -07:00
Jeff Sharkey
4b3c523210 Merge "Splice operations before collapsing ifaces." 2012-04-09 10:31:20 -07:00
Adam Powell
04d5811500 Tweaks to Activity up navigation
Be more explicit in docs about getParentActivityIntent and guard against
calls when a parent has not been declared in the manifest.

Move automatic up navigation to happen after dispatch of the menu
selection event of id android.R.id.home to fragments. (Last.)

Fixes bug 6305357

Change-Id: I944e5c40774121f9a28250d8d98da6aa646f9357
2012-04-09 10:31:15 -07:00
Jeff Sharkey
21a547823d Splice operations before collapsing ifaces.
Bug: 6241038
Change-Id: Ide9058703f7305df8fb070af149ddce0653a0abf
2012-04-09 10:27:55 -07:00
Scott Main
9914041901 am 7e9fbe11: am 5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '7e9fbe11c2c8dc875a24ec51e9405ab266385c39':
2012-04-09 10:21:05 -07:00
Scott Main
371704ed05 am fd41f154: am 5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit 'fd41f15440eadcc5dd0b1f0d549efad293192154':
  docs: add 101 Training class "Building Your First App"
2012-04-09 10:18:59 -07:00
Scott Main
7e9fbe11c2 am 5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '5f2570773d9b4d7d55b9bac5c9fafb56e1dcce88':
  docs: add 101 Training class "Building Your First App"
2012-04-09 10:16:17 -07:00
Scott Main
3f23b71364 am 5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '5f2570773d9b4d7d55b9bac5c9fafb56e1dcce88':
  docs: add 101 Training class "Building Your First App"
2012-04-09 10:15:59 -07:00
Scott Main
fd41f15440 am 5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '5f2570773d9b4d7d55b9bac5c9fafb56e1dcce88':
  docs: add 101 Training class "Building Your First App"
2012-04-09 10:15:46 -07:00
Scott Main
5f2570773d Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1 2012-04-09 10:13:58 -07:00
Scott Main
2d6faf9538 docs: add 101 Training class "Building Your First App"
Change-Id: I9a1f27dc2b44fac8b0e9fbeb9326b5c62a93bc41
2012-04-09 10:03:35 -07:00
Eric Laurent
079f09c6ca Merge "Added support for USB audio devices" 2012-04-09 08:39:05 -07:00
Daniel Sandler
d1404465df Merge "Remove Chronometer logspew." 2012-04-09 08:35:00 -07:00
Daniel Sandler
b9e90a3a8d Merge "Fix alignment of notification action buttons." 2012-04-09 07:28:59 -07:00
Daniel Sandler
4879f1f183 Remove Chronometer logspew.
Change-Id: Ie9ea1ac9fb0b8053b00ce162c191dfa44c1ff6ab
2012-04-09 10:18:28 -04:00
Brian Colonna
9431366ecb Separated FUL functionality from LockPatternKeyguardView
This is the first step toward fix 5460649.  All of the FUL functions
were pulled out of LockPatternKeyguardView into their own FaceUnlock
class.  LockPatternKeyguardView now has an mFaceUnlock member, which
is new'd inside of the LockPatternKeyguardView constructor, passing
it some objects it needs to do FUL.  FUL calls are now made from
LockPatternKeyguardView by doing mFaceUnlock.foo().  Some of the
function names were reduced to avoid redundancy (e.g.
mFaceUnlock.start() instead of mFaceUnlock.startFaceLock()).

This change is just a refactoring and is not intended to change
any functionality.  There will be other cleanups in the near
future...this is basically just the minimum changes needed to get
the FUL functionality into its own class.

Change-Id: I7dc5b22857bbf1659238b0e2d113069f7bf9ffe7
2012-04-09 10:12:32 -04:00
Daniel Lehmann
63c115c4aa Merge "Expose NORMALIZED_NUMBER in the API" 2012-04-06 20:22:57 -07:00
Jeff Brown
12578bde99 Merge "Ensure that apps crash if they throw exceptions." 2012-04-06 18:26:48 -07:00
Jeff Brown
603b445896 Ensure that apps crash if they throw exceptions.
Previously, if an app threw an uncaught exception in an input,
vsync or native activity callback, it would log the exception then
continue limping merrily along.  In the case of input, it
could result in an ANR occurring because we had not drained
all of the pending input events and marked them as finished
(we only marked the most recent one finished).

Bug: 6304124
Change-Id: I87d76f7fd605e1a8af1237c66d8d62973080277e
2012-04-06 18:25:09 -07:00
Eric Laurent
59f482764e Added support for USB audio devices
Two types of USB audio devices are defined:
- USB audio device: the audio device in USB device mode while
the Android device is in USB host mode.
- USB audio accessory: the audio device in USB host mode while
the Android device is in USB device mode.

Renamed intents for analog and digital docks to avoid confusion:
 - ACTION_USB_ANLG_HEADSET_PLUG to ACTION_ANALOG_AUDIO_DOCK_PLUG
 - ACTION_USB_DGTL_HEADSET_PLUG to ACTION_DIGITAL_AUDIO_DOCK_PLUG

Factorized code in AudioService broadcast receiver.

Change-Id: I1b6d0257a9d68ecb9495c78c98bac8c67fec7891
2012-04-06 18:24:48 -07:00
Craig Mautner
cd837070f6 Merge "Fix endless looping in layout." 2012-04-06 18:14:15 -07:00
Craig Mautner
3de422fe4f Fix endless looping in layout.
An odd alignment of the stars can end up with all of mAppToken.allDrawn
animating and mAppToken.startingDisplayed all false, and animation not
null. In such a case we can continue returning false but still pass
the test in WindowAnimator.updateWindowsAndRotation setting
wasAnimating to true. The combination continually sets the
FINISH_LAYOUT_REDO_WALLPAPER bit in mPendingLayoutChanges.

Fixes bug 6304838.

Change-Id: Ie7a7b39ea218213f51dc3df3eefe4ff03f1d885d
2012-04-06 18:04:13 -07:00
Dianne Hackborn
b7943811a2 Merge "Fix issue #6242583: ResolverActivity is considered as home activity" 2012-04-06 17:53:59 -07:00
Adam Powell
e2427cac77 Merge "Add contentDescription for compact action_mode_close_item" 2012-04-06 16:41:17 -07:00
Adam Powell
7ba5d57ad4 Add contentDescription for compact action_mode_close_item
Fix bug 6219630

Change-Id: I551624466d02f5d31be7030518b0d47b3b7f03b5
2012-04-06 16:39:11 -07:00
Eric Fischer
9f4c85d03b Merge "Import translations. DO NOT MERGE" 2012-04-06 16:38:34 -07:00
Ying Wang
5bcbfcec4b You don't need LOCAL_STATIC_LIBRARIES when building static library.
and there is no target static library with name libutils.

Change-Id: Ifec34e1b484d749d3fcd11abe610f192a3213767
2012-04-06 16:33:11 -07:00
Dianne Hackborn
2d69d49d30 Fix issue #6242583: ResolverActivity is considered as home activity
Change-Id: Ib29908cdfcbbff769d12df1770264ad13ec5337b
2012-04-06 16:24:14 -07:00
Joe Fernandez
1558294582 am e03ca3b5: am 1c23169e: am 1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit 'e03ca3b565d74a86afa72f7edbd102f213a2ccd3':
2012-04-06 15:58:10 -07:00
Joe Fernandez
c535ae4766 am 8c5eb364: am b7df1f4e: am 1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '8c5eb364f38aa0a3944f003e9b1bbb67f6527da3':
2012-04-06 15:54:28 -07:00
Joe Fernandez
e03ca3b565 am 1c23169e: am 1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '1c23169eb114a1f254330b40385726c92786b47f':
2012-04-06 15:51:47 -07:00
Joe Fernandez
6055c9b34b am 014ac37a: am 1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '014ac37a992a2c94eff765ed38cbdc4a064d263d':
  docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
2012-04-06 15:51:34 -07:00
Joe Fernandez
8c5eb364f3 am b7df1f4e: am 1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit 'b7df1f4e92e4fbff373e46ea54477af34b5a44a4':
  docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
2012-04-06 15:50:34 -07:00
Joe Fernandez
014ac37a99 am 1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '1bf704bd1878fa372cfa50e7166d6ddcb1ba1369':
  docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
2012-04-06 15:47:21 -07:00
Joe Fernandez
b7df1f4e92 am 1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '1bf704bd1878fa372cfa50e7166d6ddcb1ba1369':
  docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
2012-04-06 15:47:21 -07:00
Joe Fernandez
1c23169eb1 am 1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '1bf704bd1878fa372cfa50e7166d6ddcb1ba1369':
  docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
2012-04-06 15:46:55 -07:00
Irfan Sheriff
55bfa42b05 P2p fixes
Add powersave on client after connect
Set concurrency priority to STA
Fix connection cancellation

Change-Id: I76fd9d1085c611a8c4068047b64289ef539ab389
2012-04-06 15:40:17 -07:00
Joe Fernandez
1bf704bd18 docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
Change-Id: I561e805b2d48910ddf66432f6df40086fe59c597
2012-04-06 15:29:36 -07:00
Jeff Brown
69bba1dfb7 Merge "Add a unique input device descriptor." 2012-04-06 15:04:53 -07:00
Jeff Brown
e38fdfae91 Add a unique input device descriptor.
The purpose of the input device descriptor is to make it possible
to associate persistent settings for each input device, such as the
keyboard layout.

The descriptor is a hash of the information we have about the
device, such as its vendor id, product id, unique id, name,
or location.

Bug: 6110399
Change-Id: Idb80f946819b3f0dbf4e661bb0a753dbc2b60981
2012-04-06 14:57:19 -07:00