55470 Commits

Author SHA1 Message Date
Svetoslav
b13075e332 am 8cd27c3c: Allow adding widgets from user profiles.
* commit '8cd27c3c20e59088a2a26f9a05307d17c949ce58':
  Allow adding widgets from user profiles.
2014-08-05 21:05:25 +00:00
Svetoslav
976e8bd201 Allow adding widgets from user profiles.
The goal of this change is to enable support for appwidget from
user profiles to the user main profile. A user profile is a user
which is associated as a child of the main user profile. For example,
a user may have a personal (parent) and corporate (child) profile.
The device policy should be able to control whether adding a widget
from a child profile and given packages is allowed. This change
assumes that all packages from managed profiles are white listed.
Another change will add the device policy changes.

Change-Id: I267260b55d74c48b112a29979a9f59eef7a8194e
2014-08-05 20:57:20 +00:00
Eric Laurent
49cdf572eb am 7b8c0c55: Merge "SoundTrigger API update." into lmp-dev
* commit '7b8c0c55178e668276dd8f6a02c920a3e9da9163':
  SoundTrigger API update.
2014-08-05 20:00:06 +00:00
ztenghui
d19461709a am c4924092: Update the system linear progress bar
* commit 'c492409264038d593514a88cf8ffb8b9fed59fc5':
  Update the system linear progress bar
2014-08-05 19:50:18 +00:00
ztenghui
af8a8f3a7d Update the system linear progress bar
bug:14622065

Change-Id: Ic08022d934763ba0cc6067af3e50c4afeb8a0e9e
2014-08-05 19:46:36 +00:00
Craig Mautner
405c001ee9 am 7e7f2b4d: Use actual number of packages rather than getCount()
* commit '7e7f2b4de003bd5aeef04500025cb2bc34e6df28':
  Use actual number of packages rather than getCount()
2014-08-05 19:16:18 +00:00
Craig Mautner
1c8eb5e3d0 Use actual number of packages rather than getCount()
The ResolverActivity method getCount() returns the number of
entries below the default entry, not the total number of entries.
But the onCreate() method expected the getCount() method to
return the total number of entries. This change provides the total
to onCreate().

Fixes bug 16800358.

Change-Id: I3915c3d5ad642e31d7248226fc91bd4047f16b2d
2014-08-05 19:11:59 +00:00
Chris Craik
a3ebc2f78d am c48b90be: Move clip bound execution into drawChild()
* commit 'c48b90be90c6ddd1d0a4833d2a457e21881fc241':
  Move clip bound execution into drawChild()
2014-08-05 18:06:29 +00:00
Chris Craik
e4cf152cb7 Move clip bound execution into drawChild()
bug:15698973

This makes native and java implementations match up in the sequence of
clip vs applying other properties / draw calls.

Change-Id: Ia75e00c5b42f81ecd516722ef1c5233d483e0c97
2014-08-05 18:01:53 +00:00
Jeff Sharkey
58d056c47f am 7c1ad552: Stronger constraints around install session IDs.
* commit '7c1ad552830c2de6c1ea8705db728ecbe5074a6a':
  Stronger constraints around install session IDs.
2014-08-05 17:50:10 +00:00
Jeff Sharkey
f174c6e6de Stronger constraints around install session IDs.
Generate positive, non-zero session IDs, and don't recycle them
within a given boot.  Guard against ID starvation by crazy apps.

Bug: 16792837
Change-Id: I6035afe4d942d358b5ca12b4f818c55885b74aba
2014-08-05 17:46:05 +00:00
Nicolas Prevot
9e24e5d513 am 95559c12: Merge "Security fixes related to cross-user content." into lmp-dev
* commit '95559c12f8350eb43373762a1335441187cf97d3':
  Security fixes related to cross-user content.
2014-08-05 17:16:22 +00:00
Andre Eisenbach
e5c0b7fb61 am 790eede3: Add transport parameter to createBond() function (4/4)
* commit '790eede36950774a5eb3a4105fed565f5cc4a175':
  Add transport parameter to createBond() function (4/4)
2014-08-05 17:07:23 +00:00
Andre Eisenbach
57210c7a1a Add transport parameter to createBond() function (4/4)
Bug: 14063256
Change-Id: I096248b60752992aa23ce5bfbfc47fda95773db2
2014-08-05 17:01:13 +00:00
Torne (Richard Coles)
ec6cdce9e4 am 9d52e5f1: Merge "Log the version of the WebView package used." into lmp-dev
* commit '9d52e5f11cf78d112f468cce4ef86287c8c31829':
  Log the version of the WebView package used.
2014-08-05 16:08:43 +00:00
Svet Ganov
929f57d52c am 670faea5: Properly update accessibility manager state.
* commit '670faea5665d6bee815f21942ff333a2efe34d41':
  Properly update accessibility manager state.
2014-08-05 16:04:17 +00:00
Hector Dearman
07f8160eb3 am 41d1648f: Merge "Fix CookieSyncManager package summary" into lmp-dev
* commit '41d1648ff28658a24551ce86fd1a2faeb2d69e60':
  Fix CookieSyncManager package summary
2014-08-05 16:04:12 +00:00
Svet Ganov
c946f14a67 Properly update accessibility manager state.
Applciations that fire accessibility events have to first check
it accessibility is on and then fire the event. If the app fires
an event when the feature is off an exception is thrown. However,
due to the way accessibility state is pushed to the local
accessibility manager it was possible that the app checks that
aaccessibility is off, fires an event, then the state of the
local manager changes by the time the event is propagated up
the view tree and an exception is thrown. This is a regression.

We really want this exception to prevent apps sending events
across processes if accessibility is off, so now the state
we get from the system manager service is applied via a
message so if the app checks that accessibility is off, then
it will remain off (locally) until the event is propagated.

bug:16672964

Change-Id: Icf5d1b1bdff87b58f285f0d9e1a098552513bbe8
2014-08-05 16:02:21 +00:00
Przemyslaw Szczepaniak
c79ff762cd am e27f1632: Merge "Set the TTS voice name for the default language." into lmp-dev
* commit 'e27f1632a62e332daa7d167ca8c992a13f0e31bd':
  Set the TTS voice name for the default language.
2014-08-05 14:35:35 +00:00
Sungsoo Lim
edf15bd171 am 291e9b9d: Merge "TIF: A preliminary CL to add multiple rating systems" into lmp-dev
* commit '291e9b9d30c461ad96e7619ee680d3dfe029f75c':
  TIF: A preliminary CL to add multiple rating systems
2014-08-05 13:06:31 +00:00
Jungshik Jang
ca1a00e397 am 69f08659: Merge "Refine recode apis." into lmp-dev
* commit '69f08659eeb72137798ae8d43ed83b97e9b1722e':
  Refine recode apis.
2014-08-05 13:06:26 +00:00
Jungshik Jang
fdba000ba2 am ef1e889d: Merge "Fix invalid annotation, @throw" into lmp-dev
* commit 'ef1e889d0c39aed12df1441363263b54e6adb0bf':
  Fix invalid annotation, @throw
2014-08-05 13:05:49 +00:00
Jinsuk Kim
8fe39a904b am c4319a19: Plumbing for HdmiTvClient and HdmiControlService
* commit 'c4319a19cb18d223f2fe3b9834fee6e920d9057c':
  Plumbing for HdmiTvClient and HdmiControlService
2014-08-05 13:05:37 +00:00
Jinsuk Kim
6ffb03816f Plumbing for HdmiTvClient and HdmiControlService
Added a few more methods in HdmiTvClient to use the API provided
by HdmiControlService

Change-Id: Ib506699b9661b99cefc837b96ac64347a4e9420c
2014-08-05 13:05:49 +09:00
Jungshik Jang
0ff1639113 am 70ac06d8: Merge "Implement clear timer." into lmp-dev
* commit '70ac06d844c12df388af6de22dd25a71be28af7f':
  Implement clear timer.
2014-08-05 00:37:09 +00:00
Hector Dearman
ae9251262a Merge "Fix CookieSyncManager package summary" into lmp-dev 2014-08-05 00:35:13 +00:00
Hector Dearman
24f7e61a38 Fix CookieSyncManager package summary
Putting the deprecated at the beginning of a class comment seems
to cause problems with JavaDoc so I've moved it to the end.

Bug: 16799480
Change-Id: Ia23dab2ad8ceb8e107e047480b5cb324d11a1457
2014-08-05 10:55:30 +01:00
Przemyslaw Szczepaniak
1eb47e1624 Merge "Set the TTS voice name for the default language." into lmp-dev 2014-08-05 00:35:13 +00:00
Przemyslaw Szczepaniak
fd80746bb9 Set the TTS voice name for the default language.
This changes makes the initial, default language set and
the #setLanguage call with the default language as input
exactly the same.

Previously, the requests made after the initial default language
set were missing the name of the default voice.

+ Some tests clean-up. Some of them fail due to issues with
Locale#toLanguageTag upper-casing the variant field.

Change-Id: I5470617007fe45462b7198bf62a03eb5fe47a590
2014-08-05 14:50:34 +01:00
Eric Laurent
40b8ef99a5 Merge "SoundTrigger API update." into lmp-dev 2014-08-05 00:34:22 +00:00
Nicolas Prevot
504d78ea10 Security fixes related to cross-user content.
Enforcing that only uri grants work across users (not permissions).
Fixing a security hole where malicious Apps could access a uri if they had uri grants to the same uri on another user.
Enforcing that userIds in uris, if they exist, are the one of the ContentProvider.

BUG: 16779492

Change-Id: Iaa5264bd6c3aa0e15be3a4a64f9dc88238e0cb2e
2014-08-05 17:05:09 +00:00
Torne (Richard Coles)
c19f854965 Merge "Log the version of the WebView package used." into lmp-dev 2014-08-05 00:15:52 +00:00
Torne (Richard Coles)
0606cd572a Log the version of the WebView package used.
To aid in debugging app behaviour when WebView updates may be present,
log the package name, version name, and version code of the WebView
package when we are about to load it into an application. Do this before
we actually load any part of the package in case of an issue loading it
in the first place.

Change-Id: Id653bad431760b7ead8e3f8eb29f9d6a8bb68d07
2014-08-05 16:12:09 +01:00
Jungshik Jang
363c4efa51 Merge "Fix invalid annotation, @throw" into lmp-dev 2014-08-05 00:07:36 +00:00
Jungshik Jang
f406cc3442 Fix invalid annotation, @throw
Change-Id: Id22635414567a8b525032df792f2309102d7ae62
2014-08-05 14:27:17 +09:00
Sungsoo Lim
f128dbf076 Merge "TIF: A preliminary CL to add multiple rating systems" into lmp-dev 2014-08-05 00:03:09 +00:00
Sungsoo Lim
e6dca2cfa4 TIF: A preliminary CL to add multiple rating systems
TODO: Add rating systems for the countries defined in this CL.

Change-Id: I128284fd8779723b5ffb5968e2a11ce4b4eae6b5
2014-08-05 17:35:38 +09:00
Jungshik Jang
2afd97698d Refine recode apis.
1. add return type, int, to toByteArray method so
that caller can know how many of bytes it consumes.

2. put final keyword

Change-Id: Ia942016fa35ecb04b49be51170739101644c3e31
2014-08-05 14:46:05 +09:00
Jungshik Jang
e5a9337ebe Implement clear timer.
This change implements clear timer, which sends
<Clear xxx Timer> to recorder, and reponse of it,
<Timer Cleared Status>.
Along with it, add result parser for [Timer Status Data].

Bug: 16160962

Change-Id: I1f48ec055aa93dc836156525de8b7ef921aad8b5
2014-08-05 09:32:34 +09:00
Jungshik Jang
5776de9de3 am 98be7752: Merge "Fix several bugs on timer recoder code." into lmp-dev
* commit '98be7752b3d129ba6392a7e8f32d9eb5ac7d5766':
  Fix several bugs on timer recoder code.
2014-08-04 23:36:25 +00:00
Eric Laurent
d3b8223377 SoundTrigger API update.
Add sound model update callback.
Add native service state change callback.
Add vendor UUID in sound model description.
Add coarse confidence level in recognition event.
Add capture format in recognition event.

Bug: 12378680.

Change-Id: Id63437819ec7b9a4a69e1ff6185b747e20cad95e
2014-08-04 16:35:27 -07:00
Chris Craik
b55fa8318a am 7a250371: Set default outline alpha to 1.0f
* commit '7a250371c7ae7de36b09ede742d690b0c0f3268d':
  Set default outline alpha to 1.0f
2014-08-04 21:00:57 +00:00
Yorke Lee
a17c04d7de am ddf3fd48: Merge "Update documentation for ContactCounts" into lmp-dev
* commit 'ddf3fd48924e7a91453fc5b25b9f98c6f2865c6d':
  Update documentation for ContactCounts
2014-08-04 20:56:18 +00:00
Chris Craik
6efd17588b Set default outline alpha to 1.0f
bug:16795461
Change-Id: I7ccecee84b47a2bbf91fc11ad3005160f913ba77
2014-08-04 20:53:41 +00:00
Jeff Tinker
01acb4af01 am f225e464: Merge "Allow device to be unprovisioned" into lmp-dev
* commit 'f225e464e01055a9b5fc8f6293abf841f340da57':
  Allow device to be unprovisioned
2014-08-04 20:51:54 +00:00
Chet Haase
944ca2dfd3 am 7c98f923: Merge "Give disappearing children a chance to recreate DisplayLists" into lmp-dev
* commit '7c98f92375c8037b513b58f84d627dc592c7005d':
  Give disappearing children a chance to recreate DisplayLists
2014-08-04 19:10:30 +00:00
John Spurlock
21752f5b4e am cdc993dd: Doze: Add a user opt-out setting.
* commit 'cdc993dd255f9667e9b14c39e78c38718811d4d7':
  Doze: Add a user opt-out setting.
2014-08-04 19:06:15 +00:00
John Spurlock
a4215ceb86 Doze: Add a user opt-out setting.
When devices are configured with a doze component, the user
now has the option of disabling doze mode with a secure setting.

Bug:16703536
Change-Id: Ieab6ee8d2acf54580b86fb16e9d77b52080fb3b1
2014-08-04 14:57:06 -04:00
John Spurlock
1069f17217 am a8473a79: Doze: Follow the notification light.
* commit 'a8473a7962291ad292b2a98e8e43ee07eb0cd5c4':
  Doze: Follow the notification light.
2014-08-04 15:37:19 +00:00
John Spurlock
cb566aab57 Doze: Follow the notification light.
- Send the notification light info up to SystemUI from NoMan.
 - Doze mode will now periodically pulse the display (once)
   if the notification light is active.
 - Change "tease" terminology to "pulse", which is the singular.
   Maintain the multi-pulse on buzz-beep-blink for now as extra
   emphasis.
 - Scrim controller now always takes number of pulses as an arg,
   to support a single pulse (used for notification light, and
   eventually pickup once available).
 - Dial down the display brightness when pulsing.

Bug:15863249
Change-Id: Ifb208a27e82b66cff1d0c04e5b7f758098ea29cf
2014-08-04 11:32:18 -04:00