20668 Commits

Author SHA1 Message Date
Georgi Nikolov
682d77dcf1 am 6eb0f480: Merge "BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler" into lmp-dev
* commit '6eb0f4808dd984a7fa45da5eca03b4c5d8ff9327':
  BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler
2014-10-09 16:46:26 +00:00
Ye Wen
108ba84ac5 am de73afe2: Merge "Make MmsServiceBroker more robust to MmsService crashes" into lmp-dev
* commit 'de73afe268bd7979017ae4b9481fc1ebf5df6c19':
  Make MmsServiceBroker more robust to MmsService crashes
2014-10-09 16:46:19 +00:00
Svetoslav
fc324ddf05 am 2f2864b7: am 3dd06d90: Merge "Restored widget provider id not properly updated." into lmp-dev
* commit '2f2864b7b13ee4846a1d95c2c03eeb5752629f21':
  Restored widget provider id not properly updated.
2014-10-09 13:03:28 +00:00
Dianne Hackborn
d83e9e4280 am 0761b1b5: am 89b19695: Merge "Put in real "code" (aka marketing) name." into lmp-dev
* commit '0761b1b5ebb453a411e3289c1c972dbfddcee880':
  Put in real "code" (aka marketing) name.
2014-10-09 13:03:21 +00:00
Robin Lee
d0130e8539 DevicePolicy: One cert tracker warning per profile
Shows one notification per profile instead of one notification per
user or (previously) one notification per device.

Bug: 17794425
Change-Id: I6f0d34a16fa2a45082941387ac765dd99eefa131
2014-10-09 12:46:13 +01:00
Christopher Tate
2e0f66820e Merge "Also monitor MOVED_TO events for wallpaper updates" into lmp-dev 2014-10-09 02:04:02 +00:00
Christopher Tate
da058e260d Also monitor MOVED_TO events for wallpaper updates
Restore uses moveTo(), not open/write/close, so we need
to watch for that as well.  Now the wallpaper service sees
and regenerates the wallpaper image immediately upon restore.

Bug 17909454

Change-Id: I0db224c3d507bdc40399d49bb4bea01899f76ad1
2014-10-08 18:57:48 -07:00
Svetoslav
2f2864b7b1 am 3dd06d90: Merge "Restored widget provider id not properly updated." into lmp-dev
* commit '3dd06d9005bd572a3b012b3a2b27adfa94533144':
  Restored widget provider id not properly updated.
2014-10-09 00:15:02 +00:00
Dianne Hackborn
0761b1b5eb am 89b19695: Merge "Put in real "code" (aka marketing) name." into lmp-dev
* commit '89b196958fee07475765bd3c458098464ba16f2e':
  Put in real "code" (aka marketing) name.
2014-10-09 00:14:54 +00:00
Jeff Brown
704998abba Merge "Ensure we correctly unblank displays when added." into lmp-dev 2014-10-09 00:14:40 +00:00
Christopher Tate
6dea8de709 Merge "Actually tell the widget service that restore is starting" into lmp-dev 2014-10-08 23:31:31 +00:00
RoboErik
a78601dc19 Merge "Ensure metadata bundles are unparceled before making them available" into lmp-dev 2014-10-08 22:30:05 +00:00
Georgi Nikolov
6eb0f4808d Merge "BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler" into lmp-dev 2014-10-08 20:50:47 +00:00
Jeff Hao
272bf3a274 Improve priority ordering of apps when performing boot dexopt.
Added core apps and updated system apps.

Bug: 17641843
Change-Id: Ia00ea3399cf1e1acaef45ff8df8f754442de5185
2014-10-08 20:36:24 +00:00
Ye Wen
724dbbd733 Make MmsServiceBroker more robust to MmsService crashes
Retry connecting to MmsService when disconnected or upon each API call
if disconnected.

b/17862188

Change-Id: Iecfb0a6ffb59b94f6c1121bf00ba2db438ed7001
2014-10-08 13:12:04 -07:00
Jeff Brown
0033a86c25 Ensure we correctly unblank displays when added.
A previous change introduced a regression in the case where
a device has been added but is initially blanked.  Because
we made changes to defer certain work until we escape the
critical section when making changes to the global display
state, we forgot to apply these changes when displays are
initially added.

This causes problems with HDMI displays remaining blanked
after they are plugged in.

Added a quick fix to ensure we perform the work when adding
a display although we don't bother trying to defer it outside
of the critical section.

Bug: 17909838
Change-Id: If5373d20d8827b7f4330a8cf49f8de64ca3f0740
2014-10-08 12:06:39 -07:00
Georgi Nikolov
326f230ceb BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler
Change-Id: Ida7af915c5b616216692493434b63c521398dfb0
2014-10-08 11:50:50 -07:00
Christopher Tate
6067d79807 Actually tell the widget service that restore is starting
Before beginning a full-system restore we need to tell the widget service,
so that it can properly start remapping IDs from the ground state.

Bug 17869323

Change-Id: I152257563f5b52cae67244e936bc2c44ced7618d
2014-10-08 18:14:02 +00:00
Svetoslav
3dd06d9005 Merge "Restored widget provider id not properly updated." into lmp-dev 2014-10-08 18:09:55 +00:00
Dianne Hackborn
89b196958f Merge "Put in real "code" (aka marketing) name." into lmp-dev 2014-10-08 17:59:19 +00:00
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
Wonsik Kim
e2d53989cb Merge "TIF: fix NPE at onHdmiDeviceUpdated()" into lmp-mr1-dev 2014-10-08 16:04:57 +00:00
Wonsik Kim
184a6d69b1 TIF: fix NPE at onHdmiDeviceUpdated()
The input ID of HDMI input may not be initialized at the time
HdmiDeviceEventListener.onStatusChanged() is called. Retrieve the
input ID at the time of operation instead.

Bug: 17887925
Change-Id: I7517247294a4467feb334170b19ce2a7987dc495
2014-10-08 16:06:38 +09:00
keunyoung
86141f6d40 am 3d6b094b: am d76f80bd: Merge "ignore null TaskStack and continue layout for PRIVATE_PRESENTATION window" into lmp-dev
* commit '3d6b094b88c129717d44e422c2b93012b3764baa':
  ignore null TaskStack and continue layout for PRIVATE_PRESENTATION window
2014-10-08 05:24:06 +00:00
dcashman
439343246e am 224a46e9: am 90f46eca: Merge "Add mProperSigningKeySet to PackageKeySetData constructor." into lmp-dev
* commit '224a46e98ffc8616ec631e12d7b0fef1e83ccd21':
  Add mProperSigningKeySet to PackageKeySetData constructor.
2014-10-08 05:24:01 +00:00
keunyoung
3d6b094b88 am d76f80bd: Merge "ignore null TaskStack and continue layout for PRIVATE_PRESENTATION window" into lmp-dev
* commit 'd76f80bd3a38e11d27935cbe461c3a9d4243dd76':
  ignore null TaskStack and continue layout for PRIVATE_PRESENTATION window
2014-10-08 05:11:42 +00:00
dcashman
224a46e98f am 90f46eca: Merge "Add mProperSigningKeySet to PackageKeySetData constructor." into lmp-dev
* commit '90f46eca86df268d8df276fb68dac2e731f35479':
  Add mProperSigningKeySet to PackageKeySetData constructor.
2014-10-08 05:11:26 +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
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
Adrian Roos
9a64513c7f Retire RecentApplicationsDialog
Bug: 5162991
Change-Id: I429da977502f33e2091496f3a075b2c507a88e1f
2014-10-08 02:59:56 +02: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
Svet Ganov
f983d084e7 Increase bind remote print spooler timeout for eng builds.
bug:17734729

Change-Id: I70bfe3b64fca24752cf3efc225b21d5453e53b68
2014-10-07 22:40:28 +00:00
dcashman
90f46eca86 Merge "Add mProperSigningKeySet to PackageKeySetData constructor." into lmp-dev 2014-10-07 22:37:21 +00: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
dcashman
d876a1d368 Add mProperSigningKeySet to PackageKeySetData constructor.
Bug: 17847565
Change-Id: Iafa9650140e82d244d2336a07232bd40bf3c5eb8
2014-10-07 14:16:35 -07:00
Adam Lesinski
18ab83e571 am f189c445: am 1a98dd5c: Merge "Load shared library dependencies for AppWidgets" into lmp-dev
* commit 'f189c445b84365a3f1bd2b678fdca37f9df8d5d1':
  Load shared library dependencies for AppWidgets
2014-10-07 20:03:24 +00:00
Adam Lesinski
f189c445b8 am 1a98dd5c: Merge "Load shared library dependencies for AppWidgets" into lmp-dev
* commit '1a98dd5cc7ea89793208b51983198bfbeade5ccc':
  Load shared library dependencies for AppWidgets
2014-10-07 19:58:59 +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
Amith Yamasani
4797554ab8 am b86671f4: am 41bb3455: Merge "Set the default user restrictions to disallow calling and sms" into lmp-dev
* commit 'b86671f4b8263affaa561796862bd4149235b1d3':
  Set the default user restrictions to disallow calling and sms
2014-10-07 17:43:08 +00:00
Amith Yamasani
b86671f4b8 am 41bb3455: Merge "Set the default user restrictions to disallow calling and sms" into lmp-dev
* commit '41bb3455e44dc8fde4569bbfd56fa20c6da8a27d':
  Set the default user restrictions to disallow calling and sms
2014-10-07 17:33:25 +00:00
Amith Yamasani
41bb3455e4 Merge "Set the default user restrictions to disallow calling and sms" into lmp-dev 2014-10-07 17:11:34 +00:00
Amith Yamasani
aa6634eaca Set the default user restrictions to disallow calling and sms
When creating a user via the UI, disallow phone calls and SMS by
default. Primary user must explicitly enable it via Settings.

Bug: 17832802
Change-Id: I18cad4be8493ddc8890b5d90da2df256cb3f1ec9
2014-10-06 18:24:32 -07:00
Jeff Sharkey
fcc059dcf0 am 1d5ef81e: am 99586dc0: Merge "Reduce PackageInstaller I/O pressure." into lmp-dev
* commit '1d5ef81e29279f769d79315f2a38e747ea92e10f':
  Reduce PackageInstaller I/O pressure.
2014-10-07 00:32:19 +00:00
Jeff Sharkey
1d5ef81e29 am 99586dc0: Merge "Reduce PackageInstaller I/O pressure." into lmp-dev
* commit '99586dc0108d0f4311c8af4d06ed113bbf40a6ee':
  Reduce PackageInstaller I/O pressure.
2014-10-06 23:59:43 +00:00
Jeff Sharkey
99586dc010 Merge "Reduce PackageInstaller I/O pressure." into lmp-dev 2014-10-06 23:51:56 +00:00
Jinsuk Kim
84659edd41 Merge "CEC: Send <Device Vendor ID> after address allocation" into lmp-mr1-dev 2014-10-06 23:48:20 +00:00
Jinsuk Kim
ad515e88ee CEC: Send <Device Vendor ID> after address allocation
This is required to pass CTS 11.2.9-2.

Bug: 17882288

Change-Id: Ie2823be8635a458a63a95abd44135035667d5836
2014-10-06 23:47:52 +00:00
Jeff Sharkey
02bd78490d Reduce PackageInstaller I/O pressure.
When performing a restore during initial device setup, we could be
installing hundreds of packages.  Currently, we're writing all
metadata (including heavy icons) for every session mutation!  Because
we're holding the mSessions lock while writing all this heavy data,
we end up causing ANRs when apps call other PackageInstaller APIs.

This patch mitigates by moving the heavy icon data into separate
per-session PNG files, which we only persist when changed.

Bug: 17881962, 17567794
Change-Id: I4dee15d4a65a8eb65c381e6bb7477728b6cc30d2
2014-10-06 16:38:15 -07:00