152337 Commits

Author SHA1 Message Date
RoboErik
82df2c0839 Ensure metadata bundles are unparceled before making them available
Bundles can't be read from multiple threads safely. This adds locking
around a read that had been previously overlooked and ensures that
unparcel is called on the metadata before it is even available to
other threads.

bug:17894033
Change-Id: I9a4b86a0d0af05b1dcba28a52df2e7a87c685704
2014-10-08 10:41:12 -07:00
Deepanshu Gupta
908a4f9a43 am 4f133894: Exclude KXmlParser from LayoutLib.
* commit '4f133894a6e98d8d30557ea42cec92cfb21fa5c9':
  Exclude KXmlParser from LayoutLib.
2014-10-08 17:34:12 +00:00
Jeff Sharkey
562262cc89 Merge "Bring along more ApplicationInfo fields." into lmp-dev 2014-10-08 17:25:39 +00:00
Jeff Sharkey
7f1a57a3e7 Bring along more ApplicationInfo fields.
When we added scan paths, we forgot to bring them along through
Parcel and copy constructor.

Bug: 17900178
Change-Id: I0ee9374f909d375768045976fd88cee7431f7d4d
2014-10-08 10:14:53 -07:00
Deepanshu Gupta
4f133894a6 Exclude KXmlParser from LayoutLib.
The class was incorrectly being included in the LayoutLib.

Change-Id: I3c86662efa068019fe9165f2fc49a00d0a1b7f2d
2014-10-08 10:12:11 -07:00
Geoff Mendal
f121892bc8 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-10-08 16:18:16 +00:00
Geoff Mendal
6c3a23ddad Import translations. DO NOT MERGE
Change-Id: I94aa8de0fe7a191d0312dbbb9f2b583c7afbdade
Auto-generated-cl: translation import
2014-10-08 08:31:15 -07:00
Joe Fernandez
a5119ae776 am 59c04ece: am bcd1af39: Merge "docs: Wear UI Lib training fixes" into klp-modular-docs
* commit '59c04ece5614ffa20e10964a70c5faeafe565aa3':
  docs: Wear UI Lib training fixes
2014-10-08 14:50:43 +00:00
Joe Fernandez
59c04ece56 am bcd1af39: Merge "docs: Wear UI Lib training fixes" into klp-modular-docs
* commit 'bcd1af39fa674dcc46ddb30778304eaf67100a13':
  docs: Wear UI Lib training fixes
2014-10-08 14:45:59 +00:00
Joe Fernandez
bcd1af39fa Merge "docs: Wear UI Lib training fixes" into klp-modular-docs 2014-10-08 14:37:35 +00:00
Dan Sandler
2200f86f80 All (er, L) is finally revealed.
If you exceed 20000 points, please send in a screenshot.

Bug: 15984887
Change-Id: I1164160bfa8e7dca3b9e7d7ca5d50ef9abd38b61
2014-10-08 04:01:01 +00:00
Deepanshu Gupta
b8a20e682d am 11b14e39: (-s ours) LayoutLib: Use ICU\'s line break algo. [DO NOT MERGE]
* commit '11b14e3996d3602155d6a61afb286e5bc0941a1f':
  LayoutLib: Use ICU's line break algo. [DO NOT MERGE]
2014-10-08 03:28:20 +00:00
Dianne Hackborn
955d8d69ea Put in real "code" (aka marketing) name.
Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
2014-10-07 20:17:19 -07:00
Svetoslav
ad870c3d9c Restored widget provider id not properly updated.
During restore first the provider records and then the applications
are restored. Therefore, we keep the restored provider records in a
zombie state and once we get the package install broadcasts from the
package manager we update the zombie providers to be real ones. The
bug was that while doing this we were not updating the provider id
from one with an undefined UID to the one with the UID under which
its package now runs.

bug:17869323

Change-Id: I20b7cbfd2f90e2f5bf3a6b858d8da99cc1c82841
2014-10-08 03:13:06 +00:00
Deepanshu Gupta
11b14e3996 LayoutLib: Use ICU's line break algo. [DO NOT MERGE]
Change-Id: I7e5b0ab7423a72f5a4b0e1163d0a537f0b03ba07
(cherry picked from commit 760f6394d0f65fbb5365186e8e068d53c506b653)
2014-10-08 02:05:05 +00:00
Jinsuk Kim
229c422c7b CEC: Prevents HdmiControlService from turning on TV on wakeup
The feature causes Fugu to turn on TV for unexpected cases.
Disables the feature until we figure out a better way to find
right wake up events.

Bug: 17875468
Change-Id: Icfb04f40e5b13f751b7466ea9789ba8eadcddea6
2014-10-08 10:33:08 +09:00
Jon Eklund
318f0fe43b AudioService: Fix monitorRotation for landscape applications
Current implmentation only sends rotation updates on orientation
changes, so does not handle direct 0<->180 or 90<->270 transitions.

Update rotation based on an OrientationEventListener instead of
Intent.ACTION_CONFIGURATION_CHANGED

Bug 17606902

Change-Id: I01dfcd1c587f5b2e8a96365c2389782ad77936ef
2014-10-08 01:06:15 +00:00
Rich Slogar
fdbbed6090 am 916a6ea3: am 6af8fc7f: Merge "docs:64 bit image and skd update" into klp-modular-docs
* commit '916a6ea30377730d578692b625b1c18aa9f13564':
  docs:64 bit image and skd update
2014-10-08 00:39:38 +00:00
Rich Slogar
916a6ea303 am 6af8fc7f: Merge "docs:64 bit image and skd update" into klp-modular-docs
* commit '6af8fc7f89cb5dec15c23ee04c271188ff11138d':
  docs:64 bit image and skd update
2014-10-08 00:34:38 +00:00
Jim Miller
52403d6f8e Merge "Fix "Wrong password" message shown when using BT keyboard." into lmp-dev 2014-10-08 00:32:37 +00:00
Rich Slogar
6af8fc7f89 Merge "docs:64 bit image and skd update" into klp-modular-docs 2014-10-08 00:31:43 +00:00
vandwalle
a741efd5f8 Merge "adding debug information to bug report for Bug:16751877" into lmp-dev 2014-10-08 00:04:02 +00:00
Jeff Brown
32b9f4a650 Merge "Reapply animation duration scale each time it is started." into lmp-dev 2014-10-07 23:53:23 +00:00
Jeff Brown
7f76ff2c93 Merge "Suppress redundant power key presses while turning screen on." into lmp-dev 2014-10-07 23:52:52 +00:00
Jim Miller
e8fed24be6 Fix "Wrong password" message shown when using BT keyboard.
The code was assuming we're always using soft IME. When a physical
keyboard is attached, we get two events; ACTION_DOWN and ACTION_UP.
The code attempted to unlock the device twice.  The second attempt
failed because the TextView was cleared by the first successful attempt.

Fixes bug 17690585

Change-Id: Ia92a97400b4404d0cbe86aacb727009e95914327
2014-10-07 16:50:04 -07:00
Quddus Chong
ad658a3d47 am bb5a1848: am 8730092a: Merge "docs: Added API highlights for Google Play services 6.1 (Manchego)." into klp-modular-docs
* commit 'bb5a18487285455131b88caf4a40726f0e4b444c':
  docs: Added API highlights for Google Play services 6.1 (Manchego).
2014-10-07 23:49:26 +00:00
Quddus Chong
2b7b4d0742 am bf29d697: am 6628e602: Merge "Updataed Google Play services Javadocs for v6.1 (Manchego) release." into klp-modular-docs
* commit 'bf29d697803e3fe0bcb450d2e5b36d0a75cc1148':
  Updataed Google Play services Javadocs for v6.1 (Manchego) release.
2014-10-07 23:49:16 +00:00
Ricardo Cervera
dbcfc8efdb am a18075e8: am bd964cad: docs: Removing references to self note on Common Intents page.
* commit 'a18075e82b603762382232816c0d74abcc7e46e7':
  docs: Removing references to self note on Common Intents page.
2014-10-07 23:49:06 +00:00
Ricardo Cervera
692bb81c12 am 6d30f576: am 3f7b4d8f: Merge "docs: Update Common Intents page with Google Now actions" into klp-modular-docs
* commit '6d30f576146725ee81b8cb753584985a2758b566':
  docs: Update Common Intents page with Google Now actions
2014-10-07 23:48:48 +00:00
Jeff Brown
734ab8e60b Suppress redundant power key presses while turning screen on.
Sometimes it can take a long time to turn the screen on.  That's not
good but what's worse is that the user will often get impatient
and press the power button again which effectively cancels the
process and makes the screen not come on at all.  The user may
then conclude that the device ignored the power key press.

This change suppresses power key presses while we're already in the
process of turning the screen on so that at least the screen comes
on eventually, even if it's slower than we would like.

Bug: 17753363
Change-Id: I23083873e35a3dcfa5c20b6f870f53c18e465582
2014-10-07 16:47:25 -07:00
Quddus Chong
bb5a184872 am 8730092a: Merge "docs: Added API highlights for Google Play services 6.1 (Manchego)." into klp-modular-docs
* commit '8730092af798d27b9e9a9a4ba00cef0d3ebea55f':
  docs: Added API highlights for Google Play services 6.1 (Manchego).
2014-10-07 23:33:10 +00:00
Quddus Chong
bf29d69780 am 6628e602: Merge "Updataed Google Play services Javadocs for v6.1 (Manchego) release." into klp-modular-docs
* commit '6628e602fb616355db8272a697a7004d91f485b8':
  Updataed Google Play services Javadocs for v6.1 (Manchego) release.
2014-10-07 23:33:03 +00:00
Quddus Chong
8730092af7 Merge "docs: Added API highlights for Google Play services 6.1 (Manchego)." into klp-modular-docs 2014-10-07 23:27:02 +00:00
Quddus Chong
6628e602fb Merge "Updataed Google Play services Javadocs for v6.1 (Manchego) release." into klp-modular-docs 2014-10-07 23:26:49 +00:00
keunyoung
d76f80bd3a Merge "ignore null TaskStack and continue layout for PRIVATE_PRESENTATION window" into lmp-dev 2014-10-07 22:58:48 +00:00
Jeff Brown
7a08fe0e09 Reapply animation duration scale each time it is started.
When Battery Saver mode is enabled, we set the animation duration
scale factor to 0 to effectively disable all animations.  Later
when it is disabled, we reset the animation duration scale
factor to 1.

This change ensures that we reapply the duration scale factor
whenever the animation is started instead of only applying it
once when the duration is set (usually when the animation is
created).  This ensures that the correct scale factor is applied
even when it changes after the animation has been initialized.

Previously, certain animations would continue to be suppressed
even after Battery Saver mode was disengaged.  This wasn't much
of an issue when the duration scale was initially implemented as
a developer setting but now that it is exposed via Battery Saver
the artifacts caused by this bug have become visible to users.

Bug: 17887431
Change-Id: I91ba5ca0505d02ac389a31d067e38886112fa0c8
2014-10-07 15:55:35 -07:00
dcashman
90f46eca86 Merge "Add mProperSigningKeySet to PackageKeySetData constructor." into lmp-dev 2014-10-07 22:37:21 +00:00
Quddus Chong
6ec5a256d7 am 4be6fdeb: am ba2199fa: Merge "docs: Modified the notice in the android.location package file to strongly encourage developers to migrate to the Google Play Services Location API." into klp-modular-docs
* commit '4be6fdebdd386dc18159c5557db91936a62f42ab':
  docs: Modified the notice in the android.location package file to strongly encourage developers to migrate to the Google Play Services Location API.
2014-10-07 22:23:40 +00:00
Ricardo Cervera
c2b35efb58 am 0e61e44d: am 2a02b881: Merge "docs: Training class for the Wearable UI Library" into klp-modular-docs
* commit '0e61e44ddf8c8abb774020cde90ec44d4ae43bc6':
  docs: Training class for the Wearable UI Library
2014-10-07 22:23:31 +00:00
Rich Slogar
d4303161b1 am 64460a2b: am 83d5c9bf: docs:change required ADT version to 23.0.2
* commit '64460a2b6e0166d4c24b195f850e67265fb485f5':
  docs:change required ADT version to 23.0.2
2014-10-07 22:23:24 +00:00
smain@google.com
a2561db386 am 8267ffcc: am cef9aab6: Merge "make sdk download links use HTTPS bug: 8033954" into klp-modular-docs
* commit '8267ffccbe58ea348a53a0e6058bf902d6e8932a':
  make sdk download links use HTTPS bug: 8033954
2014-10-07 22:23:04 +00:00
Christopher Tate
ae456fd894 Merge "Accept any restored wallpaper" into lmp-dev 2014-10-07 21:50:08 +00:00
Mike Lockwood
28138587ef bootanimation: Tweak parameters for pcm_open for playing boot sounds.
Set start_threshold and avail_min to 1/4th period size and stop_threshold to INT_MAX

Change-Id: I0a3aac18533709daa86a024cdd6a32086410723a
2014-10-07 14:47:26 -07:00
keunyoung
030a93feb8 ignore null TaskStack and continue layout for PRIVATE_PRESENTATION window
bug: 17677973
Change-Id: I2666a1c1cf8956e60d7261912da34d1999131eba
2014-10-07 14:46:24 -07:00
vandwalle
63edd98d2e adding debug information to bug report for Bug:16751877
Change-Id: I9d417c20c6b6721933a4eb943c1305845005facf
2014-10-07 14:38:38 -07:00
dcashman
d876a1d368 Add mProperSigningKeySet to PackageKeySetData constructor.
Bug: 17847565
Change-Id: Iafa9650140e82d244d2336a07232bd40bf3c5eb8
2014-10-07 14:16:35 -07:00
Tyler Gunn
3bde32e68d Merge "Fixing where call goes from disconnecting to active to disconnecting state." into lmp-dev 2014-10-07 20:46:39 +00:00
Adam Lesinski
1a98dd5cc7 Merge "Load shared library dependencies for AppWidgets" into lmp-dev 2014-10-07 19:51:17 +00:00
Adam Lesinski
d00bb5edcf Load shared library dependencies for AppWidgets
PackageManager and AppWidgetHostServiceImpl should
be loading the resources of any shared libraries being
used by the app, as they have references in their Widgets
or application icons/labels, etc.

Bug:17668152
Change-Id: I359662334edb125d7570089916727df4eeba02bb
2014-10-07 12:14:45 -07:00
Jason Monk
733bcc7fbe Merge "Hide hotspot tile if 'provisioning' is needed" into lmp-dev 2014-10-07 18:53:20 +00:00