74446 Commits

Author SHA1 Message Date
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
Gilles Debunne
43de94a943 Merge "Revert "Faster and simpler replace in SSB"" 2012-04-06 14:46:24 -07:00
Gilles Debunne
bc6862300f Revert "Faster and simpler replace in SSB"
Bug 6300658

This change reveals a weird race condition where sometimes the
text is entered twice. Adding a debugger slows down everything,
and the problem is no longer reproducable. Reverting for now.

This reverts commit ebd9a23817052c4d2aaa1058efa2b80b08003d4a.
2012-04-06 14:37:46 -07:00
Christopher Tate
bf64e70f9b Merge "Attribute alarm broadcast wakelocks to the sender" 2012-04-06 14:35:16 -07:00
Jean-Baptiste Queru
a987d2bde7 Merge "Add NOTICE and MODULE_LICENSE_BSD_LIKE for obex" 2012-04-06 14:25:20 -07:00
Christopher Tate
c4a07d1caa Attribute alarm broadcast wakelocks to the sender
Wakelock usage for the purpose of sending an alarm broadcast is now
attributed to the application which posted the alarm, not to the OS.

Bug 5911317

Change-Id: I8cb79c3bd5db467388716ab68285f4ab0bfe468b
2012-04-06 14:23:12 -07:00
Amith Yamasani
36dec4efa8 Merge "Fixes a bug in migration of lock settings to LockSettingsService." 2012-04-06 14:14:45 -07:00
Craig Mautner
1ade5ae9c8 Merge "Animate from local list of WindowStateAnimators." 2012-04-06 14:12:46 -07:00
Wei Zhong
789a01aa05 Add NOTICE and MODULE_LICENSE_BSD_LIKE for obex
"Copyright (c) 2008-2009, Motorola, Inc"

Bug: 6299628

Change-Id: Ia64d7341a8466ee9213ecabe6315c64b8643574e
Signed-off-by: Wei Zhong <wzhong@google.com>
(cherry picked from commit 559841702b8a8760e057af29d14d1a31ce75ff18)
2012-04-06 14:04:31 -07:00
Craig Mautner
bec53f7066 Animate from local list of WindowStateAnimators.
Stop animate() from using the mWindows maintained by
WindowManagerService. Animating WindowStateAnimators are now drawn from
a HashSet maintained by WindowAnimator and containing just those
WindowStateAnimators that have Surfaces.

When starting a move animation do not place parameters directly into
the WindowStateAnimator, instead pass them through the Handler.

Also removed synchronization points from mWindows/mAppTokens
add/remove.
2012-04-06 14:03:25 -07:00
Jeff Sharkey
a5372055d3 Merge "INetworkStatsSession with lifecycle for caching." 2012-04-06 13:40:41 -07:00
Dianne Hackborn
e824120016 Hide the optional permission stuff, not making it in to JB.
Also lock down the rest of the development tools permissions to
be development permissions that must be granted through an
explicit shell command.

Change-Id: I1ba216fffe1aab4bb9f83fcef108efc504f892f4
2012-04-06 13:39:09 -07:00
Jeff Sharkey
b52e3e5509 INetworkStatsSession with lifecycle for caching.
Users outside system_server now explicitly communicate their
lifecycle, which keeps a strong-reference chain to any fully loaded
NetworkStatsCollection histories.

Bug: 6236498
Change-Id: I8e22739b6e89a626b676967a736d7117fd000778
2012-04-06 13:38:29 -07:00
Andreas Huber
a3bd242954 Merge "New JAVA API to support submitting encrypted buffers of input data." 2012-04-06 13:34:42 -07:00
Dianne Hackborn
85d9e02094 Merge "Fix dumb bug." 2012-04-06 13:22:35 -07:00
Eric Fischer
442d572dda Import translations. DO NOT MERGE
Change-Id: I5899fbec882970afd4840aded5ef0eab32b40e54
2012-04-06 13:04:40 -07:00