Commit Graph

42718 Commits

Author SHA1 Message Date
Craig Mautner
e8ae71d483 am 498883d4: am 0347f4ed: am 7e7f2b4d: Use actual number of packages rather than getCount()
* commit '498883d4f21b8525973aefa30cadcde7e3d1684b':
  Use actual number of packages rather than getCount()
2014-08-06 01:47:07 +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
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
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
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
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
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
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
Jungshik Jang
2265c8f700 Merge "Fix several bugs on timer recoder code." into lmp-dev 2014-08-01 16:01:17 +00:00
Jungshik Jang
b634ca8f5f Fix several bugs on timer recoder code.
Change-Id: I331d5c61fa11513584c926fdeea55a5d7adbbad9
2014-08-04 16:27:48 +09:00
Christoph Studer
1cda67f8b3 Notification: Only post-process legacy notifications
Bug: 16522199
Change-Id: I20330f946cee6569c249be1800c3a0e814d79efc
2014-08-03 18:22:46 +00:00
John Spurlock
1bb480a3a4 Battery saver: new policy changes + SystemUI tweaks.
- Service policy changes: allow the user to turn off (snooze)
   saver mode below the auto-trigger level.  Plugging in the
   device always exits saver mode.
 - Default trigger level is now 0 (never) instead of 15.
 - SystemUI now also listens to a new POWER_SAVE_MODE_CHANGING,
   since waiting for _CHANGED can take seconds.
 - Move shared feature description text into the framework so it
   can be shared.
 - Tweak dialog title + action strings.
 - Remove trigger-level from SystemUI, it no longer needs it.
 - Add the ability to turn off saver mode directly from the
   notification.
 - Migrate saver confirmation dialog to common system UI dialog
   helper, and add a few convenience methods.
 - Fix bug where the status bar area would be orange over the keyguard
   in SHADE_LOCKED mode.

Bug:16214395
Change-Id: I3d1ded1eec9e63e7d97469486f6a320e1bebbccd
2014-08-02 17:12:43 -04:00
Sandeep Siddhartha
5e33fb057c Stop recognition when shutting down VIS
Bug: 16629417
Change-Id: I9c98d7e6d487d3eaff604df401c320f8554589f9
2014-08-01 18:18:08 -07:00
Sandeep Siddhartha
2c0273e50a Add a flag for multiple triggers with same recognition session
Also annotate the flags with @IntDef to make things clearer and safer

Add more debug logging

Revert to start/stop being synchronous since telephony and microphone will
need to be handled internally.

Bug: 16731586
Bug: 16514535
Bug: 16549061
Change-Id: I83695d52e9547269c95d443e4d921c9238b7401e
2014-08-01 17:46:27 -07:00
Dake Gu
fc0fc0e341 ActivityTransitionCoordinator: Fix memory leak of ResultReceiver
The ActivityTransitionCoordinator is retained by reference from native code.
The coordinator refers to a app's listener which can cause leak.

b/16737906

Change-Id: Ibbb85480b852442f95b00a8d3beff0161bdadb47
2014-08-01 22:53:14 +00:00
Zoltan Szatmary-Ban
3f1ddf83a4 Add AsUser versions of existing DevicePolicyManager methods
Some API methods on DevicePolicyManager call underlying IDevicePolicyManager methods
that can be parameterised with a user id. DPM however only exposed methods for the current user.
This CL makes it possible to call them with any user id by introducing hidden methods on
DevicePolicyManager.

Bug: 15558397
Change-Id: I1786a64fa7cf5f6590ddd04cbf4527bb159f8795
2014-08-01 09:27:19 +00:00
Chet Haase
b673790e56 Merge "Give disappearing children a chance to recreate DisplayLists" into lmp-dev 2014-08-01 08:29:25 +00:00
Chet Haase
6c0665fd0f Give disappearing children a chance to recreate DisplayLists
Views which are on the secondary "disappearingChildren" list in a
ViewGroup can be displayed and animated, but are unable to properly
update their underlying DisplayLists. This change processes these
children the same as other children in a ViewGroup, enabling changes
in those children to be reflected in their DisplayLists.

Issue #11551606 disappearing views don't invalidate/redraw correctly

Change-Id: I8d016ada7b73f6a5e74c2f21c979c0b6f84703b1
2014-08-04 18:56:21 +00:00
John Spurlock
254ba9c7a5 am 57d40e56: am da1c042b: am a8473a79: Doze: Follow the notification light.
* commit '57d40e5611da75463f53528877432f05ee13ec99':
  Doze: Follow the notification light.
2014-08-04 15:44:58 +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
Christoph Studer
697642be8b am 725c3271: am 3ac1c594: am 4021914f: Merge "NoMan: Optimize profile badge retrieval" into lmp-dev
* commit '725c3271c3b4942f8806531aeff1cb42de4c4806':
  NoMan: Optimize profile badge retrieval
2014-08-04 14:51:30 +00:00