Commit Graph

39384 Commits

Author SHA1 Message Date
Amith Yamasani
01fa2ec823 am 604af1a6: am a41b17ac: am 41179448: Merge "Allow phone UID to export singleton providers" into lmp-dev
* commit '604af1a6212ccfe1deb7cb4c2cb1cb13154cf255':
  Allow phone UID to export singleton providers
2014-08-06 17:35:29 +00:00
Michael Wright
814228c186 am 0a00c223: am 23ffdccf: am 0bfcf09a: Mark all Meta combos as system combos
* commit '0a00c22343aa305a91199c733c34c79d16369bed':
  Mark all Meta combos as system combos
2014-08-06 17:35:15 +00:00
Sandeep Siddhartha
1ea615c8df am dfa94cdc: am e1516d4d: am d5099116: Merge "Use @IntDef for manage actions" into lmp-dev
* commit 'dfa94cdcec692ccc911a1c416e4c4a98db84c3c4':
  Use @IntDef for manage actions
2014-08-06 17:34:29 +00:00
Michael Wright
ce0c13a169 Mark all Meta combos as system combos
Also make a meta-tab a recents accelerator.

Bug: 14066931
Change-Id: Iac6aab276e4e16d5f70c92a5a03172bd81559afa
2014-08-05 23:01:15 +00:00
Michael Wright
62c06ecb66 am 0aade803: am e94f3851: am c9938987: Add resize method for virtual displays
* commit '0aade8038390179070bf94683fb20ff797db1adf':
  Add resize method for virtual displays
2014-08-06 12:10:01 +00:00
Svetoslav
39999cf026 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.

(cherrypicked 8cd27c3c to work around Gerrit issue)

Change-Id: I267260b55d74c48b112a29979a9f59eef7a8194e
2014-08-06 11:01:36 +01:00
Eric Laurent
60b4966aba am d18d2782: am 238de6e0: am 7b8c0c55: Merge "SoundTrigger API update." into lmp-dev
* commit 'd18d2782e97dad42ec54962ff006d1710a5b28ab':
  SoundTrigger API update.
2014-08-06 01:47:36 +00:00
Chris Craik
419a01227f am cc8a7796: am c49c19cd: am c48b90be: Move clip bound execution into drawChild()
* commit 'cc8a779654963674fe07cb2b6fee219a10fcc145':
  Move clip bound execution into drawChild()
2014-08-06 01:46:21 +00:00
Michael Wright
01e840ff94 Add resize method for virtual displays
Change-Id: I2632fc56c2d2cba356379e42f5c1a3e283b11d1e
2014-08-05 21:10:03 +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
32cc18722c am 008545ea: am 262667e3: am 7c1ad552: Stronger constraints around install session IDs.
* commit '008545ea426b4578e305c79edb52b04dd36a7263':
  Stronger constraints around install session IDs.
2014-08-05 17:59:06 +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
ed4a38c9a6 am c26ea53a: am 4bdd413f: am 95559c12: Merge "Security fixes related to cross-user content." into lmp-dev
* commit 'c26ea53a82db6fb9448a7832388d777bca0a225d':
  Security fixes related to cross-user content.
2014-08-05 17:25:00 +00:00
Andre Eisenbach
ed22e7d3d0 am 29a47839: am 6580603d: am 790eede3: Add transport parameter to createBond() function (4/4)
* commit '29a47839411b3323a8c2e021e335d6c098a9e1c3':
  Add transport parameter to createBond() function (4/4)
2014-08-05 17:16:27 +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)
0bc0c4d853 am fe475a93: am b397f3e5: am 9d52e5f1: Merge "Log the version of the WebView package used." into lmp-dev
* commit 'fe475a938db73fbd79223733d98587ac48276da7':
  Log the version of the WebView package used.
2014-08-05 16:17:53 +00:00
Svet Ganov
60f701c4c2 am 2df9aeea: am e789136d: am 670faea5: Properly update accessibility manager state.
* commit '2df9aeea1ffab57a983dccca4a16a1908eb65467':
  Properly update accessibility manager state.
2014-08-05 16:17:49 +00:00
Hector Dearman
d2ee561f69 am 814e2f65: am 37fcb962: am 41d1648f: Merge "Fix CookieSyncManager package summary" into lmp-dev
* commit '814e2f65ebf4a5fc5da9aeee5cc18600d5e35952':
  Fix CookieSyncManager package summary
2014-08-05 16:17:45 +00:00
Przemyslaw Szczepaniak
c33c898cb0 am 4621b16a: am 48926d30: am e27f1632: Merge "Set the TTS voice name for the default language." into lmp-dev
* commit '4621b16ace1b0ecab43280eff9f24a22a7a18054':
  Set the TTS voice name for the default language.
2014-08-05 16:12:10 +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
Jungshik Jang
d2249cce4b am 2426219c: am c8c34f1f: am 69f08659: Merge "Refine recode apis." into lmp-dev
* commit '2426219c3516aec64e83a8078e2d552f073c8d26':
  Refine recode apis.
2014-08-05 13:26:39 +00:00
Jungshik Jang
e4491b6c9e am f1caed8a: am 71758d5b: am ef1e889d: Merge "Fix invalid annotation, @throw" into lmp-dev
* commit 'f1caed8a395bef295e5a9c64d1b3c46528856367':
  Fix invalid annotation, @throw
2014-08-05 13:26:18 +00:00
Jinsuk Kim
02671bfe0e am f661cc31: am 760ad583: am c4319a19: Plumbing for HdmiTvClient and HdmiControlService
* commit 'f661cc31b9ae87969767e940ab92cc40ad4d5517':
  Plumbing for HdmiTvClient and HdmiControlService
2014-08-05 13:26:10 +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
74e403fd39 am 6cc6bd39: am 1bc420cd: am 70ac06d8: Merge "Implement clear timer." into lmp-dev
* commit '6cc6bd399f41c6450d78ec0d4f4158a93f29affb':
  Implement clear timer.
2014-08-05 00:45:22 +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
Amith Yamasani
f17e498fea Merge "Allow phone UID to export singleton providers" into lmp-dev 2014-08-05 00:19:02 +00:00
Amith Yamasani
41c1ded7f0 Allow phone UID to export singleton providers
Also add a user variant of replacePreferredActivity for use
by SmsApplication.

Map user restrictions for SMS/MMS to AppOps perms.

Bug: 16681533
Change-Id: I3dfed5fc754e33bb51c6f571851653a7c2770e46
2014-08-05 14:37:27 -07: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
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
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
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
Sandeep Siddhartha
3962aa5d40 Merge "Use @IntDef for manage actions" into lmp-dev 2014-08-04 23:48:34 +00:00
Sandeep Siddhartha
0db30899f0 Use @IntDef for manage actions
Change-Id: I12473fb82bf865af36aaf681a1b12a19e9f218fc
2014-08-05 13:07:06 -07:00
Jungshik Jang
dc452eb05c am 260d5100: am 9c55d10f: am 98be7752: Merge "Fix several bugs on timer recoder code." into lmp-dev
* commit '260d5100f3b6057091fd25016e68197fe36b17ec':
  Fix several bugs on timer recoder code.
2014-08-04 23:45:41 +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
169b2cedf5 am fd8e8aec: am edf92aec: am 7a250371: Set default outline alpha to 1.0f
* commit 'fd8e8aecccb20cf8a66a226d27e2100853e4b37c':
  Set default outline alpha to 1.0f
2014-08-04 21:10:41 +00:00
Yorke Lee
c7c9ce2d4a am 76c61762: am 27627ecd: am ddf3fd48: Merge "Update documentation for ContactCounts" into lmp-dev
* commit '76c61762fe53d67dfa39a652118cc2d11a22f3c4':
  Update documentation for ContactCounts
2014-08-04 21:06:09 +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
Chet Haase
a3277c93f4 am ed819db0: am 04c5921c: am 7c98f923: Merge "Give disappearing children a chance to recreate DisplayLists" into lmp-dev
* commit 'ed819db06149255d5cc84968028c2e2e8b8b7048':
  Give disappearing children a chance to recreate DisplayLists
2014-08-04 19:20:36 +00:00
John Spurlock
61c4ac187a am 6d065669: am d8fc8726: am cdc993dd: Doze: Add a user opt-out setting.
* commit '6d06566917cf3a6ac67e0648fa6710c634f93cda':
  Doze: Add a user opt-out setting.
2014-08-04 19:14:07 +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