OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "AAPT: Fix feature split generation of ID resources" into nyc-mr1-dev
TreeHugger Robot [Thu, 4 Aug 2016 01:27:33 +0000 (01:27 +0000)]
Merge "AAPT: Fix feature split generation of ID resources" into nyc-mr1-dev

7 years agodocs: Updated wording of callout describing device opt-out options. am: b48909ed52
Kevin Hufnagle [Thu, 4 Aug 2016 01:23:54 +0000 (01:23 +0000)]
docs: Updated wording of callout describing device opt-out options. am: b48909ed52
am: bdbe6fd94f

Change-Id: Id995adadf9dab72a2c5bc70a96a82220937bc7fe

7 years agoMerge "cherry-pick from nyc-dev: docs: Add ARC documentation TOC file" into nyc-docs...
Joe Fernandez [Thu, 4 Aug 2016 01:14:48 +0000 (01:14 +0000)]
Merge "cherry-pick from nyc-dev: docs: Add ARC documentation TOC file" into nyc-docs am: 51a582fa85
am: 6ad22ca614

Change-Id: I458b83999db483a628a2d33a4f3a4037c6f8b7be

7 years agocherry-pick from nyc-dev: docs: Add ARC documentation TOC file am: 712c053462
Joe Fernandez [Thu, 4 Aug 2016 01:14:43 +0000 (01:14 +0000)]
cherry-pick from nyc-dev: docs: Add ARC documentation TOC file am: 712c053462
am: 337279df50

Change-Id: Id7cc9a79f3f306df0aab10921c9b05809763293f

7 years agoMerge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-docs am...
Joe Fernandez [Thu, 4 Aug 2016 01:14:37 +0000 (01:14 +0000)]
Merge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-docs am: d6f1d8ea28
am: 0af74fa732

Change-Id: Ie793990d142720d4d901b4e550446cce880d1a36

7 years agodocs: Migrated "Android Runtime on Chrome" pages to DAC am: 684d849621
Kevin Hufnagle [Thu, 4 Aug 2016 01:13:52 +0000 (01:13 +0000)]
docs: Migrated "Android Runtime on Chrome" pages to DAC am: 684d849621
am: a007a4d772

Change-Id: Ia081e1e0be8059188b617e68b17ea34b4d8c409e

7 years agodocs: Added page on DAC describing ARC manifest file considerations. am: 178caa888f
Kevin Hufnagle [Thu, 4 Aug 2016 01:13:21 +0000 (01:13 +0000)]
docs: Added page on DAC describing ARC manifest file considerations. am: 178caa888f
am: ebd455b077

Change-Id: Id17e778bbd197afbf9c16a85ef9756358fbb27f4

7 years agoMerge "Ensuring that the dock state is opposite of the nav bar." into nyc-mr1-dev
TreeHugger Robot [Thu, 4 Aug 2016 01:05:09 +0000 (01:05 +0000)]
Merge "Ensuring that the dock state is opposite of the nav bar." into nyc-mr1-dev

7 years agodocs: Updated wording of callout describing device opt-out options.
Kevin Hufnagle [Thu, 4 Aug 2016 01:03:32 +0000 (01:03 +0000)]
docs: Updated wording of callout describing device opt-out options.
am: b48909ed52

Change-Id: I120725cdb7304e037bc72da73d56fbf901bfe9aa

7 years agoMerge "cherry-pick from nyc-dev: docs: Add ARC documentation TOC file" into nyc-docs
Joe Fernandez [Thu, 4 Aug 2016 00:57:22 +0000 (00:57 +0000)]
Merge "cherry-pick from nyc-dev: docs: Add ARC documentation TOC file" into nyc-docs
am: 51a582fa85

Change-Id: I8be83bf47ae26a6bf9d0f812265c91133be40be3

7 years agocherry-pick from nyc-dev: docs: Add ARC documentation TOC file
Joe Fernandez [Thu, 4 Aug 2016 00:57:20 +0000 (00:57 +0000)]
cherry-pick from nyc-dev: docs: Add ARC documentation TOC file
am: 712c053462

Change-Id: I113c2c5b9391488eedf743220f6ef4c5ec283d6c

7 years agoMerge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-docs
Kevin Hufnagle [Thu, 4 Aug 2016 00:57:16 +0000 (00:57 +0000)]
Merge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-docs
am: d6f1d8ea28

Change-Id: I222fa49789c2f2baac7ff2296617052c9924a328

7 years agodocs: Migrated "Android Runtime on Chrome" pages to DAC
Kevin Hufnagle [Thu, 4 Aug 2016 00:57:14 +0000 (00:57 +0000)]
docs: Migrated "Android Runtime on Chrome" pages to DAC
am: 684d849621

Change-Id: Ic5e11fdcd44ce86f901cc22954192d79283bca93

7 years agoMerge "Add historical logging to settings provider" into nyc-mr1-dev
Svetoslav Ganov [Thu, 4 Aug 2016 00:57:09 +0000 (00:57 +0000)]
Merge "Add historical logging to settings provider" into nyc-mr1-dev

7 years agodocs: Added page on DAC describing ARC manifest file considerations.
Kevin Hufnagle [Thu, 4 Aug 2016 00:56:42 +0000 (00:56 +0000)]
docs: Added page on DAC describing ARC manifest file considerations.
am: 178caa888f

Change-Id: I68b8395dc90245ac7db6892f86b036d2b88ad96e

7 years agoresolve merge conflicts of b29a938c to nyc-dev
Joe Fernandez [Thu, 4 Aug 2016 00:56:39 +0000 (00:56 +0000)]
resolve merge conflicts of b29a938c to nyc-dev
am: 473738d6d3

Change-Id: I49bf89f5ed1696ec85c6b15559a97df2a9bcae04

7 years agodocs: Updated wording of callout describing device opt-out options.
Kevin Hufnagle [Thu, 4 Aug 2016 00:38:27 +0000 (17:38 -0700)]
docs: Updated wording of callout describing device opt-out options.

Bug: 30204612
Change-Id: I80b0a6840da6ca7310e626cec66717c3e1372403

7 years agoresolve merge conflicts of b29a938c to nyc-dev
Kevin Hufnagle [Thu, 4 Aug 2016 00:18:15 +0000 (17:18 -0700)]
resolve merge conflicts of b29a938c to nyc-dev

Change-Id: I840d069b8ffab03b0a7c1fc73ba7eae485c80abb

7 years agoMerge "ResourcesManager: Return null on failure to create Resources" into nyc-mr1-dev
TreeHugger Robot [Thu, 4 Aug 2016 00:08:20 +0000 (00:08 +0000)]
Merge "ResourcesManager: Return null on failure to create Resources" into nyc-mr1-dev

7 years agoAAPT: Fix feature split generation of ID resources
Adam Lesinski [Wed, 3 Aug 2016 22:40:19 +0000 (15:40 -0700)]
AAPT: Fix feature split generation of ID resources

ID resources that get generated on demand with the
notation @+id/name were previously not given the
appropriate type ID offset when being built as feature
splits.

This change declares an ID type ahead of time so that
the type ID offset is applied before IDs can be generated.

Bug:30607637
Change-Id: I122a9133cb01b35e9892103ec52fc228dc65bf1a

7 years agoMerge "docs: Add ARC documentation TOC file" into nyc-dev
Joe Fernandez [Wed, 3 Aug 2016 23:43:38 +0000 (23:43 +0000)]
Merge "docs: Add ARC documentation TOC file" into nyc-dev
am: 7eb9f10fec

Change-Id: I1ca98164cf541692cb2b008f181025036b3ee1a3

7 years agodocs: Add ARC documentation TOC file
Joe Fernandez [Wed, 3 Aug 2016 23:43:32 +0000 (23:43 +0000)]
docs: Add ARC documentation TOC file
am: a117b34777

Change-Id: Iba4a71217a0932b13dafc614bf40e479348b099b

7 years agoMerge "cherry-pick from nyc-dev: docs: Add ARC documentation TOC file" into nyc-docs
Joe Fernandez [Wed, 3 Aug 2016 23:42:24 +0000 (23:42 +0000)]
Merge "cherry-pick from nyc-dev: docs: Add ARC documentation TOC file" into nyc-docs

7 years agoMerge "docs: Added page on DAC describing ARC manifest file considerations." into...
Kevin Hufnagle [Wed, 3 Aug 2016 23:42:12 +0000 (23:42 +0000)]
Merge "docs: Added page on DAC describing ARC manifest file considerations." into nyc-dev
am: 4c273d1ffe

Change-Id: I20554bf7a10f13fdb288b9bc3ce3aeb3aa63cacc

7 years agodocs: Added page on DAC describing ARC manifest file considerations.
Kevin Hufnagle [Wed, 3 Aug 2016 23:41:29 +0000 (23:41 +0000)]
docs: Added page on DAC describing ARC manifest file considerations.
am: 97a3d3c3a6

Change-Id: I592b2dc213333f5fe976e64b0f043ad0d2264109

7 years agoMerge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-dev
Kevin Hufnagle [Wed, 3 Aug 2016 23:40:43 +0000 (23:40 +0000)]
Merge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-dev
am: 369246377a

Change-Id: I95265cb968c1325b089a75c2372471472793cb05

7 years agoEnsuring that the dock state is opposite of the nav bar.
Winson [Wed, 3 Aug 2016 23:25:20 +0000 (16:25 -0700)]
Ensuring that the dock state is opposite of the nav bar.

- The nav bar now moves to follow a specific edge of the device, so we
  should always choose the opposite end of the screen to ensure a valid
  drop target is accessible.

Bug: 30548794
Change-Id: Icac8adfb167a4115377d42ddd897ac94e02077a3

7 years agocherry-pick from nyc-dev: docs: Add ARC documentation TOC file
Joe Fernandez [Tue, 2 Aug 2016 00:25:17 +0000 (00:25 +0000)]
cherry-pick from nyc-dev: docs: Add ARC documentation TOC file

Bug: 30114799
Change-Id: I4884bf4a39ae99e661365040d5b34d5b8e2d2ea2
Original-Change-Id: Ib4e3c5b255c9e1e9c2894b3703deb1d38f252fba

7 years agodocs: Migrated "Android Runtime on Chrome" pages to DAC
Kevin Hufnagle [Wed, 3 Aug 2016 23:38:54 +0000 (23:38 +0000)]
docs: Migrated "Android Runtime on Chrome" pages to DAC
am: 9cd48bb447

Change-Id: Ibcde96f750154e16c5bbc795f883aca7d37449d8

7 years agoMerge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-docs
Joe Fernandez [Wed, 3 Aug 2016 23:35:23 +0000 (23:35 +0000)]
Merge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-docs

7 years agoMerge "Eliminate next-alarm-clock broadcast flapping" into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 23:33:52 +0000 (23:33 +0000)]
Merge "Eliminate next-alarm-clock broadcast flapping" into nyc-mr1-dev

7 years agodocs: Migrated "Android Runtime on Chrome" pages to DAC
Kevin Hufnagle [Thu, 28 Jul 2016 17:20:32 +0000 (10:20 -0700)]
docs: Migrated "Android Runtime on Chrome" pages to DAC

Bug: 30204612
Change-Id: I02a325100ee7f24bcd87c6f77a0d9e8799bae9a3
(cherry picked from commit 9cd48bb447eb7dd10dc29ed311ac8efe4f3e4ddf)

7 years agodocs: Added page on DAC describing ARC manifest file considerations.
Kevin Hufnagle [Fri, 29 Jul 2016 20:13:39 +0000 (13:13 -0700)]
docs: Added page on DAC describing ARC manifest file considerations.

Bug: 30114799
Change-Id: I9b8d67d09e4627f22a9fc58421dd52aa3650c235
(cherry picked from commit 97a3d3c3a626656a1b3ae61dcf380ac993ff6ca8)

7 years agoMerge "docs: Add ARC documentation TOC file" into nyc-dev
Joe Fernandez [Wed, 3 Aug 2016 23:25:15 +0000 (23:25 +0000)]
Merge "docs: Add ARC documentation TOC file" into nyc-dev

7 years agoMerge "docs: Added page on DAC describing ARC manifest file considerations." into...
Joe Fernandez [Wed, 3 Aug 2016 23:25:15 +0000 (23:25 +0000)]
Merge "docs: Added page on DAC describing ARC manifest file considerations." into nyc-dev

7 years agoMerge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-dev
Joe Fernandez [Wed, 3 Aug 2016 23:25:15 +0000 (23:25 +0000)]
Merge "docs: Migrated "Android Runtime on Chrome" pages to DAC" into nyc-dev

7 years agodocs: Add ARC documentation TOC file
Joe Fernandez [Mon, 1 Aug 2016 15:19:03 +0000 (08:19 -0700)]
docs: Add ARC documentation TOC file

b/30114799

Change-Id: I397f4712c82628f1b7aa4565fb5ab40381f9f5e2
(cherry picked from commit 129012530ffae6d3d52ba0f093ade0f6a8afce1b)

7 years agoDO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable am: 61038d...
Prashant Malani [Wed, 3 Aug 2016 23:14:34 +0000 (23:14 +0000)]
DO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable am: 61038ddb61  -s ours am: 1353c06d83  -s ours
am: 122ad2f0bc  -s ours

Change-Id: I3351a12b536c95c1046a89215ea89d7f512793dd

7 years agodocs: Migrated "Android Runtime on Chrome" pages to DAC
Kevin Hufnagle [Thu, 28 Jul 2016 17:20:32 +0000 (10:20 -0700)]
docs: Migrated "Android Runtime on Chrome" pages to DAC

Bug: 30204612
Change-Id: I02a325100ee7f24bcd87c6f77a0d9e8799bae9a3

7 years agoDO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable am: 61038d...
Prashant Malani [Wed, 3 Aug 2016 23:07:08 +0000 (23:07 +0000)]
DO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable am: 61038ddb61  -s ours
am: 1353c06d83  -s ours

Change-Id: I95ee4044d8d303a1cecb2a5a1e46ca371db86f3d

7 years agoMerge "Fixed a bug where groups would animate the wrong way" into nyc-mr1-dev
Selim Cinek [Wed, 3 Aug 2016 23:03:03 +0000 (23:03 +0000)]
Merge "Fixed a bug where groups would animate the wrong way" into nyc-mr1-dev

7 years agoMerge "Loading the camera preview correctly with direct boot" into nyc-mr1-dev
Selim Cinek [Wed, 3 Aug 2016 23:02:47 +0000 (23:02 +0000)]
Merge "Loading the camera preview correctly with direct boot" into nyc-mr1-dev

7 years agoDO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable
Prashant Malani [Wed, 3 Aug 2016 23:01:50 +0000 (23:01 +0000)]
DO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable
am: 61038ddb61  -s ours

Change-Id: Id9a09514011ddf7c15106e22e06d24079e3cdb31

7 years agoAdd historical logging to settings provider
Svetoslav Ganov [Wed, 3 Aug 2016 01:24:49 +0000 (18:24 -0700)]
Add historical logging to settings provider

This change adds historical operations to the dump state
of the settings provider. The historica operations are
currently appended only on user-debug and eng builds.

These change is needed to help diagnose the referred
bug and improve the settings provider's maintenance.

bug:30561721

Change-Id: I58a1ba0d598c4d28adcb5e654ebb78cf947e94db

7 years agoDO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable
Prashant Malani [Tue, 29 Mar 2016 23:32:37 +0000 (16:32 -0700)]
DO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable

Add an overlay setting, and keep the default to its existing value of
200.

Bug: 26552257
Change-Id: Ifd29d80e28e57c5cfc640d519a62144ab5e963fa

7 years agoEliminate next-alarm-clock broadcast flapping
Christopher Tate [Wed, 3 Aug 2016 21:57:47 +0000 (14:57 -0700)]
Eliminate next-alarm-clock broadcast flapping

When multiple alarm clocks are scheduled at the same time, we would
flap among the alternatives for considering them the 'next upcoming
alarm clock', which in turn would generate [many] spurious broadcasts
about changes to the upcoming alarm situation.  This is now fixed;
once we have found the soonest upcoming alarm clock, we stick with
that one until it becomes unavailable, eliminating the spurious
broadcast traffic.

Bug 29501073

Change-Id: Ice1892490bb339e05fa8bd9d324fa1c6718b4942

7 years agoMerge "TextureView: destroy layer on destroyHardwareResources event" into nyc-mr1-dev
Sergei Vasilinetc [Wed, 3 Aug 2016 21:54:09 +0000 (21:54 +0000)]
Merge "TextureView: destroy layer on destroyHardwareResources event" into nyc-mr1-dev

7 years agoResourcesManager: Return null on failure to create Resources
Adam Lesinski [Wed, 3 Aug 2016 20:36:39 +0000 (13:36 -0700)]
ResourcesManager: Return null on failure to create Resources

A lot of calling framework code expects a null value on failure,
and didn't catch the previous exception. There were some strange
corner cases where previously a null value was not checked for
in framework code, allowing the null Resources object to be
returned to the caller. Introducing an exception changed the
semantics and can crash certain apps.

Bug:30422475
Change-Id: I51d34ae43c9ec605a8790989c56cf85b815ff5b8

7 years agoFixed a bug where groups would animate the wrong way
Selim Cinek [Wed, 3 Aug 2016 20:38:56 +0000 (13:38 -0700)]
Fixed a bug where groups would animate the wrong way

When updating a child of a group, the group would always
animate, because of the suppression logic. This doesn't
happen anymore.

Change-Id: Ie2b09c1e03f37a12ba8f995e5b7d0e3721e3651a
Fixes: 30608517

7 years agoMerge changes Id60fd5ee,I4c7b68ad into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 19:36:24 +0000 (19:36 +0000)]
Merge changes Id60fd5ee,I4c7b68ad into nyc-mr1-dev

* changes:
  QS Header: post some updates to the header
  QS Header: don't update everything unless we need to

7 years agoMerge "Move brightness handling to a background thread" into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 19:35:53 +0000 (19:35 +0000)]
Merge "Move brightness handling to a background thread" into nyc-mr1-dev

7 years agoAdding support for blacklisting apps from Recents transition.
Winson [Mon, 1 Aug 2016 22:48:34 +0000 (15:48 -0700)]
Adding support for blacklisting apps from Recents transition.

Bug: 30602323

Change-Id: I2a6e75a989264ce72ac552e2c7f82225ccd68adf

7 years agoMerge "Fix RNA crash" into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 18:57:25 +0000 (18:57 +0000)]
Merge "Fix RNA crash" into nyc-mr1-dev

7 years agoLoading the camera preview correctly with direct boot
Selim Cinek [Tue, 2 Aug 2016 23:00:12 +0000 (16:00 -0700)]
Loading the camera preview correctly with direct boot

With direct boot the camera preview could be loaded in a wrong
state when the device was started. This ensures that it's reloaded
more often and should always be up to date and also fixes the
bug that the camera preview couldn't be loaded initially.

Change-Id: Ib43e322a9d6ef05d8519ebc85f4509441829e528
Fixes: 30420861

7 years agoMerge "Revert "Remove coarse location pre-grant for preinstalled VrListenerServices...
Craig Donner [Wed, 3 Aug 2016 17:52:10 +0000 (17:52 +0000)]
Merge "Revert "Remove coarse location pre-grant for preinstalled VrListenerServices."" into nyc-mr1-dev

7 years agoFix RNA crash
John Reck [Wed, 3 Aug 2016 17:28:10 +0000 (10:28 -0700)]
Fix RNA crash

Bug: 30632377
Change-Id: I5d53fba0f469553ae90bebad1482ef28965dd853

7 years agoQS Header: post some updates to the header
Jason Monk [Wed, 3 Aug 2016 14:25:42 +0000 (10:25 -0400)]
QS Header: post some updates to the header

These sometimes trigger binder calls, that can cause jank on the
first frame of expanding the panel.

Bug: 30442298
Change-Id: Id60fd5ee9732515cd6f9645c7ab307c949dfc506

7 years agoQS Header: don't update everything unless we need to
Jason Monk [Tue, 2 Aug 2016 19:39:42 +0000 (15:39 -0400)]
QS Header: don't update everything unless we need to

Because it leads to bad performance.

Bug: 30442298
Change-Id: I4c7b68ad30a1fd4fe8245f27ce2d2b2038583d23

7 years agodocs: Added page on DAC describing ARC manifest file considerations.
Kevin Hufnagle [Fri, 29 Jul 2016 20:13:39 +0000 (13:13 -0700)]
docs: Added page on DAC describing ARC manifest file considerations.

Bug: 30114799
Change-Id: I9b8d67d09e4627f22a9fc58421dd52aa3650c235

7 years agoMerge "Improved vibration feedback completely" into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 00:57:52 +0000 (00:57 +0000)]
Merge "Improved vibration feedback completely" into nyc-mr1-dev

7 years agodocs: Add ARC documentation TOC file
Joe Fernandez [Tue, 2 Aug 2016 00:25:17 +0000 (00:25 +0000)]
docs: Add ARC documentation TOC file

Bug: 30114799
Change-Id: Ib4e3c5b255c9e1e9c2894b3703deb1d38f252fba

7 years agoDisable systemui navigation events while keyguard is showing
Jim Miller [Tue, 2 Aug 2016 23:12:58 +0000 (16:12 -0700)]
Disable systemui navigation events while keyguard is showing

This feature isn't generally useful on this screen and provides
an additional mechanism for falsing, so it should be disabled.

Fixes bug 30443528

Change-Id: Ibdba485917b5e66780ff4915f48ff2014f195eca

7 years agoMerge "Fix component management in VrManagerService." into nyc-mr1-dev
Ruben Brunk [Tue, 2 Aug 2016 23:01:24 +0000 (23:01 +0000)]
Merge "Fix component management in VrManagerService." into nyc-mr1-dev

7 years agoImproved vibration feedback completely
Selim Cinek [Tue, 2 Aug 2016 01:26:23 +0000 (18:26 -0700)]
Improved vibration feedback completely

Certain paths were still vibrating at the wrong time.

Change-Id: I660a84efa798a8c1198d8899584ecec48ff2e9d8
Fixes: 30000347

7 years agoMerge "Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts...
Dianne Hackborn [Tue, 2 Aug 2016 22:41:36 +0000 (22:41 +0000)]
Merge "Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts" into nyc-mr1-dev

7 years agoTextureView: destroy layer on destroyHardwareResources event
sergeyv [Tue, 2 Aug 2016 21:46:12 +0000 (14:46 -0700)]
TextureView: destroy layer on destroyHardwareResources event

bug:30468770
Change-Id: I5174808e3fa6e4a87e3522246522c4e6d7ee2c3c

7 years agoFix component management in VrManagerService.
Ruben Brunk [Tue, 2 Aug 2016 21:21:36 +0000 (14:21 -0700)]
Fix component management in VrManagerService.

- Add null checks to avoid crashing in transient state with no
  enabled packages during user switch.

Bug: 30574163
Change-Id: I316373e900d4be35be7691b50057d0701b7fb4a5

7 years agocherry-pick from nyc-dev: docs: SafeBrowsing API am: 741757f27f
Andrew Solovay [Tue, 2 Aug 2016 21:48:05 +0000 (21:48 +0000)]
cherry-pick from nyc-dev: docs: SafeBrowsing API am: 741757f27f
am: 328a6a12eb

Change-Id: I319b852c941b67d83f6f473b2cd5b61860af687a

7 years agoResolve merge conflicts of ffb4eb1 to nyc-dev
Joe Fernandez [Tue, 2 Aug 2016 21:40:08 +0000 (21:40 +0000)]
Resolve merge conflicts of ffb4eb1 to nyc-dev
am: a5abfee3a5

Change-Id: I7c4265a691636c1de8b47688cfaa15e57907caee

7 years agocherry-pick from nyc-dev: docs: SafeBrowsing API
Joe Fernandez [Tue, 2 Aug 2016 21:36:02 +0000 (21:36 +0000)]
cherry-pick from nyc-dev: docs: SafeBrowsing API
am: 741757f27f

Change-Id: Ice1968509af665160646025e708d3802b39ef4c4

7 years agodocs: Fixing download redirects
Andrew Solovay [Tue, 2 Aug 2016 21:14:08 +0000 (14:14 -0700)]
docs: Fixing download redirects

URLS of the form https://developer.android.com/downloads/… weren't
properly redirecting to
https://commondatastorage.googleapis.com/androiddevelopers/…

bug: 30594087
Change-Id: I18e026c236d081b6bb510900e5928107105b93cd

7 years agoFix issue #30601353: Don't warn of non-protected explicit intent broadcasts
Dianne Hackborn [Tue, 2 Aug 2016 21:08:23 +0000 (14:08 -0700)]
Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts

We still check for security errors of non-system apps trying to send
protected broadcasts at the front.

However, the WTF check for system apps sending non-protected broadcasts
is now moved down to where we actually resolve the receivers, so we
can loosed then check to make it okay as long as you are sending an
explicit intent to only appropriately protected receivers.

Change-Id: I5214c6c26a60de083f1f9578bcc5e95ba19f7001

7 years agoMerge "Target API check for margin params fix" into nyc-mr1-dev
Yigit Boyar [Tue, 2 Aug 2016 20:41:07 +0000 (20:41 +0000)]
Merge "Target API check for margin params fix" into nyc-mr1-dev

7 years agoMerge "Ensure layer update include the dirty rect from AVD" into nyc-mr1-dev
Doris Liu [Tue, 2 Aug 2016 20:36:19 +0000 (20:36 +0000)]
Merge "Ensure layer update include the dirty rect from AVD" into nyc-mr1-dev

7 years agoMerge "ShortcutManager: rescan all apps after next OTA" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 20:19:32 +0000 (20:19 +0000)]
Merge "ShortcutManager: rescan all apps after next OTA" into nyc-mr1-dev

7 years agoMerge "Add metrics logging for fingerprint swipe for notification panel." into nyc...
Doris Ling [Tue, 2 Aug 2016 19:50:06 +0000 (19:50 +0000)]
Merge "Add metrics logging for fingerprint swipe for notification panel." into nyc-mr1-dev

7 years agoMerge "Removed redundant call to updateRulesForRestrictPowerUL()." into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 18:49:05 +0000 (18:49 +0000)]
Merge "Removed redundant call to updateRulesForRestrictPowerUL()." into nyc-mr1-dev

7 years agoShortcutManager: rescan all apps after next OTA
Makoto Onuki [Tue, 2 Aug 2016 18:39:19 +0000 (11:39 -0700)]
ShortcutManager: rescan all apps after next OTA

- Normally when a user is unlocked, SM scans all updated apps
since the last scan to see if their manifest shortcuts have changed.

- There was a known issue that's been fixed already that'd result
in all shortcuts being removed.

- To work around this issue, let's scan all packages after the next
user unlock.

- This can be done by just renaming the XML attribute name to persist
the last app scan time.

Bug 30591723

Change-Id: Ie9f723ef30a1c991990d981193841cb203c094ad

7 years agoMerge "SystemUI: Fix crash from bad notifications" into nyc-mr1-dev
Adrian Roos [Tue, 2 Aug 2016 18:40:41 +0000 (18:40 +0000)]
Merge "SystemUI: Fix crash from bad notifications" into nyc-mr1-dev

7 years agoMerge "DozeLog: Properly initialize" into nyc-mr1-dev
Adrian Roos [Tue, 2 Aug 2016 18:39:24 +0000 (18:39 +0000)]
Merge "DozeLog: Properly initialize" into nyc-mr1-dev

7 years agoMerge changes I03844bce,I8035357c,Ibe7cb6df into nyc-mr1-dev
Jorim Jaggi [Tue, 2 Aug 2016 18:31:07 +0000 (18:31 +0000)]
Merge changes I03844bce,I8035357c,Ibe7cb6df into nyc-mr1-dev

* changes:
  Remove lock contention when unlocking users
  Only get trace name if tracing is enabled
  Fix multi-window drag jank if vsync-app is before vsync-sf

7 years agoMerge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into...
TreeHugger Robot [Tue, 2 Aug 2016 18:29:45 +0000 (18:29 +0000)]
Merge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into nyc-mr1-dev

7 years agoTarget API check for margin params fix
Yigit Boyar [Tue, 2 Aug 2016 00:42:28 +0000 (17:42 -0700)]
Target API check for margin params fix

Prior to N, our widgets were not converting MarginLayoutParams
properly between ViewGroups. The fix intrudced some issues in
older apps as the broken conversion code would hide developer
errors. This CL guards the change with a target API check so
that we don't affect older apps.

Bug: 30378230
Change-Id: I215281d261b553c3b4cedcd29ea0a861df809471

7 years agoResolve merge conflicts of ffb4eb1 to nyc-dev
Kevin Hufnagle [Tue, 2 Aug 2016 18:11:22 +0000 (11:11 -0700)]
Resolve merge conflicts of ffb4eb1 to nyc-dev

Change-Id: I2f096fc31de12fb4e4715343854a5f09049e4221

7 years agoMerge "Put VD animators on paused list when RT stops drawing" into nyc-mr1-dev
Doris Liu [Tue, 2 Aug 2016 18:08:04 +0000 (18:08 +0000)]
Merge "Put VD animators on paused list when RT stops drawing" into nyc-mr1-dev

7 years agoMerge "Fix FrameMetricsObserver crash" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 18:06:07 +0000 (18:06 +0000)]
Merge "Fix FrameMetricsObserver crash" into nyc-mr1-dev

7 years agoMove brightness handling to a background thread
Jorim Jaggi [Tue, 2 Aug 2016 14:11:25 +0000 (16:11 +0200)]
Move brightness handling to a background thread

Bug: 30442298
Change-Id: I6650ffe2373cc68dd5a374a54e107913f2e2e093

7 years agoMerge "LauncherApps should also throw when user is locked" into nyc-mr1-dev
Makoto Onuki [Tue, 2 Aug 2016 17:58:18 +0000 (17:58 +0000)]
Merge "LauncherApps should also throw when user is locked" into nyc-mr1-dev

7 years agoAdd metrics logging for fingerprint swipe for notification panel.
Doris Ling [Wed, 20 Jul 2016 00:04:21 +0000 (17:04 -0700)]
Add metrics logging for fingerprint swipe for notification panel.

Add metrics log when fingerprint swipe to expand/collapse notification
panel is handled, and increment the notification and quick setting open
count correspondingly.

Bug: 29257528
Change-Id: Ic24c6463a4400711874602157e2fcadc7f0f6da6

7 years agoMerge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev
Phil Weaver [Tue, 2 Aug 2016 16:54:42 +0000 (16:54 +0000)]
Merge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev

7 years agoMerge "Fix issue #29506774: Foreground Service Can Avoid Notification Requirement...
Dianne Hackborn [Tue, 2 Aug 2016 16:47:42 +0000 (16:47 +0000)]
Merge "Fix issue #29506774: Foreground Service Can Avoid Notification Requirement" into nyc-mr1-dev

7 years agocherry-pick from nyc-dev: docs: SafeBrowsing API
Joe Fernandez [Tue, 12 Apr 2016 18:35:23 +0000 (11:35 -0700)]
cherry-pick from nyc-dev: docs: SafeBrowsing API

b/27438791

Change-Id: Ib7f93a7e95068c1909a3b104b83681e2d2f35ee6
Original-Change-Id: I14a34bbec51dc33dd4d730d59268690c9bee3992

7 years agoFix FrameMetricsObserver crash
John Reck [Tue, 2 Aug 2016 16:38:26 +0000 (09:38 -0700)]
Fix FrameMetricsObserver crash

Bug: 30587465

Someday maybe the technology will exist to
allow sharing a simple constant between
Java and C++, but today is not that day.

Change-Id: I17694746cb8712058133cd5ea10c47b9909f740b

7 years agoRemove lock contention when unlocking users
Jorim Jaggi [Mon, 1 Aug 2016 12:31:02 +0000 (14:31 +0200)]
Remove lock contention when unlocking users

Bug: 30213213
Change-Id: I03844bce11326bf58788bf0fe71c247c9f2665c4

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 09:50:07 +0000 (09:50 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 09:49:50 +0000 (09:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 09:49:19 +0000 (09:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoOnly get trace name if tracing is enabled
Jorim Jaggi [Mon, 1 Aug 2016 11:31:55 +0000 (13:31 +0200)]
Only get trace name if tracing is enabled

String formatting creates new objects, so only do it if needed.

Bug: 30549756
Change-Id: I8035357c2b9c3066ef7663b938654f698a2321bc

7 years agoFix multi-window drag jank if vsync-app is before vsync-sf
Jorim Jaggi [Fri, 29 Jul 2016 15:16:03 +0000 (17:16 +0200)]
Fix multi-window drag jank if vsync-app is before vsync-sf

If vsync-app is a couple of ms before vsync-sf, we handle the touch
in SystemUI at vsync-app. Then, we have extremely little time to resize
all the stacks in activity manager until vsync-sf, so sometimes this is
done before vsync-sf tick, and sometimes after, which leads to jank.

Figure out the difference of vsync-app and vsync-sf in SystemUI and then
post the updates to be processed at vsync-sf so we have the whole 16ms
to process the change.

Change-Id: Ibe7cb6dfe9fbfe2d3e68e522a95a75138fb0dcf1
Fixes: 30437123

7 years agoReduce duration for pick-up animation
Jorim Jaggi [Mon, 1 Aug 2016 10:16:08 +0000 (12:16 +0200)]
Reduce duration for pick-up animation

Bug: 30316167
Change-Id: I39f34089fab70bfcc6fbf378411f017c67eafe00