OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix parsing of kernel wakelocks" into nyc-dev
Adam Lesinski [Fri, 20 May 2016 17:23:07 +0000 (17:23 +0000)]
Merge "Fix parsing of kernel wakelocks" into nyc-dev

8 years agoMerge "Put launch adjacent activity in a new task if the activity does exist" into...
TreeHugger Robot [Fri, 20 May 2016 17:15:58 +0000 (17:15 +0000)]
Merge "Put launch adjacent activity in a new task if the activity does exist" into nyc-dev

8 years agoMerge "Back up / restore the 'mono audio' setting" into nyc-dev
Chris Tate [Fri, 20 May 2016 17:05:37 +0000 (17:05 +0000)]
Merge "Back up / restore the 'mono audio' setting" into nyc-dev

8 years agoMerge "Nav bar: fix tablet density change issues" into nyc-dev
TreeHugger Robot [Fri, 20 May 2016 16:52:19 +0000 (16:52 +0000)]
Merge "Nav bar: fix tablet density change issues" into nyc-dev

8 years agoOnly broadcast screenshot error to the current user.
Winson [Thu, 19 May 2016 17:06:18 +0000 (10:06 -0700)]
Only broadcast screenshot error to the current user.

Bug: 28807226
Change-Id: I428ecc5572d7522580cdf38bded2fff9cf07abc2

8 years agoMerge "rate limit notification enqueues" into nyc-dev
TreeHugger Robot [Fri, 20 May 2016 16:04:48 +0000 (16:04 +0000)]
Merge "rate limit notification enqueues" into nyc-dev

8 years agoPut launch adjacent activity in a new task if the activity does exist
Wale Ogunwale [Fri, 20 May 2016 15:50:15 +0000 (08:50 -0700)]
Put launch adjacent activity in a new task if the activity does exist

For the launch adjacent case we only want to put the activity in
an existing task if the activity already exists in the history.

Bug: 28828326
Change-Id: I1a6fdd6779cb20f8c0d9b7d94635b21718f4ac1b

8 years agoRename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review
Tony Mak [Thu, 19 May 2016 12:40:38 +0000 (13:40 +0100)]
Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review

TODO: After updating all places that use the SDK, remove/hide the old API

Bug: 28842878

Change-Id: I131be644439080dd0507cd10d8bd6618246ee7ad

8 years agoNav bar: fix tablet density change issues
Jason Monk [Fri, 20 May 2016 15:21:59 +0000 (11:21 -0400)]
Nav bar: fix tablet density change issues

 - Re-inflate the contents of the NavigationBarInflaterView
 - Call up to parent to notify the contents has been reinflated
 - Fix how default tunable is handled, so that the resource is
   reloaded on density change

Change-Id: If25f68d01eedd3319b0c270e1cf80ac382eea637
Fixes: 27227522

8 years agorate limit notification enqueues
Chris Wren [Tue, 17 May 2016 21:11:29 +0000 (17:11 -0400)]
rate limit notification enqueues

This is distinct from and in addition to the limit on the number of
distinct notifications. This includes many updates to a single
notification.

Bug: 28693065
Change-Id: I5ec0911716cace91d3ad85435a5c6123b290b3a2

8 years agoMerge "QS Edit: Better handling if drags" into nyc-dev
Jason Monk [Fri, 20 May 2016 13:42:56 +0000 (13:42 +0000)]
Merge "QS Edit: Better handling if drags" into nyc-dev

8 years agoMerge "Add support for ICU data pinning in the Zygote" into nyc-dev
Neil Fuller [Fri, 20 May 2016 12:53:46 +0000 (12:53 +0000)]
Merge "Add support for ICU data pinning in the Zygote" into nyc-dev

8 years agoMerge "Enable boost-locked-region-priority" into nyc-dev
Alan Leung [Fri, 20 May 2016 06:09:13 +0000 (06:09 +0000)]
Merge "Enable boost-locked-region-priority" into nyc-dev

8 years agoMerge "Hide VoicemailContract.setQuota()" into nyc-dev
Ta-wei Yen [Fri, 20 May 2016 01:00:29 +0000 (01:00 +0000)]
Merge "Hide VoicemailContract.setQuota()" into nyc-dev

8 years agoMerge "Rename visual voicemail sync intent value" into nyc-dev
Ta-wei Yen [Fri, 20 May 2016 01:00:02 +0000 (01:00 +0000)]
Merge "Rename visual voicemail sync intent value" into nyc-dev

8 years agoMerge "Docs: Fixed a wrong file name" into mnc-io-docs am: 06a9fbcdd6
Hemal Patel [Fri, 20 May 2016 00:25:49 +0000 (00:25 +0000)]
Merge "Docs: Fixed a wrong file name" into mnc-io-docs am: 06a9fbcdd6
am: a18a3d3211

* commit 'a18a3d32118872907e0979856f5906752360b058':
  Docs: Fixed a wrong file name

Change-Id: I93ac53610c9c1b0aad68e525eed3d8703bfde613

8 years agoFix parsing of kernel wakelocks
Adam Lesinski [Wed, 18 May 2016 01:31:02 +0000 (18:31 -0700)]
Fix parsing of kernel wakelocks

We handled stale wakelocks (wakelocks that disappear from /d/wakeup_sources)
differently in previous version of Android. They would be set stale, but still be
updated with their previous counts (they would never disappear).

The method setStale has been replaced with endSample(), which is semantically different.
Once a SamplingTimer has endSample() called, it expects any future calls to update() to
be a new sample, meaning the entire amount passed to update() is included in the kernel
wakelock's total. Since stale wakelocks were never removed from the list, this would
increase by large amounts when nothing had actually changed.

This was exacerbated by the fact that there was a bug where the last wakelock in
/d/wakeup_sources was never parsed, so if the order ever changed, this "stale" wakelock
would suddenly re-appear and the entire amount reported would be charged to the wakelock,
instead of just the difference since the last update.

All this was exposed when we added support to handle wakelocks that would disappear and
reappear with smaller values, meaning the kernel had pruned them from its accounting and
reset them.

Bug:28601080
Change-Id: Ic96027f7d580dac5e20aa73d67e5cedac4ccabeb

8 years agoMerge "Docs: Fixed a wrong file name" into mnc-io-docs
Hemal Patel [Fri, 20 May 2016 00:19:35 +0000 (00:19 +0000)]
Merge "Docs: Fixed a wrong file name" into mnc-io-docs
am: 06a9fbcdd6

* commit '06a9fbcdd68a3d48697e6e88c04fcdb6040673c5':
  Docs: Fixed a wrong file name

Change-Id: I7f672848dfc1f77a2559494c34de6d5cc70df130

8 years agoMerge "Docs: Fixed a wrong file name" into mnc-io-docs
Hemal Patel [Fri, 20 May 2016 00:15:08 +0000 (00:15 +0000)]
Merge "Docs: Fixed a wrong file name" into mnc-io-docs

8 years agoMerge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into...
Cheryl Potter [Fri, 20 May 2016 00:14:07 +0000 (00:14 +0000)]
Merge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into mnc-mr-docs am: d382293118 am: f2fa5cd702
am: 0793d19267

* commit '0793d1926729cdfd6cd023e89e45b21c63c1d91d':
  docs: Fix card descriptions in Android Monitor Overview page b/2885829

Change-Id: I183e31bdf55e6e691785430d65d4cf2934a2f7ef

8 years agoMerge "fix dashboards page. the src attributes were being modified by the devsite...
smain@google.com [Fri, 20 May 2016 00:14:02 +0000 (00:14 +0000)]
Merge "fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246" into mnc-mr-docs am: 486f792d44 am: 9ad92619dc
am: ccf143ea10

* commit 'ccf143ea106de35de35d4829ade55ba78b7a3fee':
  fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246

Change-Id: I42306e09cb173642840ee29130bb80e9da347a81

8 years agoMerge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into...
Cheryl Potter [Fri, 20 May 2016 00:11:13 +0000 (00:11 +0000)]
Merge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into mnc-mr-docs am: d382293118
am: f2fa5cd702

* commit 'f2fa5cd7022d450d4e0faa4c81db5207d1ec00d3':
  docs: Fix card descriptions in Android Monitor Overview page b/2885829

Change-Id: Iacbf1fca2c1d3189a39122e893ece5fcf033246a

8 years agoMerge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into...
Cheryl Potter [Fri, 20 May 2016 00:08:47 +0000 (00:08 +0000)]
Merge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into mnc-mr-docs
am: d382293118

* commit 'd382293118dad1337726986c1f2465d2ec25171b':
  docs: Fix card descriptions in Android Monitor Overview page b/2885829

Change-Id: Ieadb04df863e4f50db2b1b6168cc31f6501fa242

8 years agoMerge "fix dashboards page. the src attributes were being modified by the devsite...
Scott Main [Fri, 20 May 2016 00:08:46 +0000 (00:08 +0000)]
Merge "fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246" into mnc-mr-docs am: 486f792d44
am: 9ad92619dc

* commit '9ad92619dc455a42c40e5b102e2fdf65c2787549':
  fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246

Change-Id: I52fc62f8f233682a6707a4c1e5ef67f42844551b

8 years agoMerge "fix dashboards page. the src attributes were being modified by the devsite...
smain@google.com [Fri, 20 May 2016 00:05:01 +0000 (00:05 +0000)]
Merge "fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246" into mnc-mr-docs
am: 486f792d44

* commit '486f792d4448819c47c7e18dfd4ccb40133df528':
  fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246

Change-Id: Iffb768397f425b34c1e297d40c9b1077d1e7ad5d

8 years agoMerge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into...
Cheryl Potter [Fri, 20 May 2016 00:03:06 +0000 (00:03 +0000)]
Merge "docs: Fix card descriptions in Android Monitor Overview page b/2885829" into mnc-mr-docs

8 years agoBack up / restore the 'mono audio' setting
Christopher Tate [Thu, 19 May 2016 23:55:49 +0000 (16:55 -0700)]
Back up / restore the 'mono audio' setting

Bug 28437565

Change-Id: I6028886eb1aa424edabca65ad9d11d984b82d198

8 years agodocs: Fix card descriptions in Android Monitor Overview page
Cheryl Potter [Thu, 19 May 2016 23:55:49 +0000 (16:55 -0700)]
docs: Fix card descriptions in Android Monitor Overview page
b/2885829

Change-Id: I2c36d9889f685ea6f18859f5859d876da55ba034

8 years agoMerge "fix dashboards page. the src attributes were being modified by the devsite...
Scott Main [Thu, 19 May 2016 23:54:19 +0000 (23:54 +0000)]
Merge "fix dashboards page. the src attributes were being modified by the devsite parser, so i renamed those attributes then rename them again at runtime. bug: 28801246" into mnc-mr-docs

8 years agoupdate links to studio docs am: 73cf8224cb
smain@google.com [Thu, 19 May 2016 23:47:54 +0000 (23:47 +0000)]
update links to studio docs am: 73cf8224cb
am: f7304c8cc8

* commit 'f7304c8cc8aa947558be355fd0c547f418e44931':
  update links to studio docs

Change-Id: I9886a9618513c63f02add34b12761f8d35afb1da

8 years agoupdate links to studio docs
smain@google.com [Thu, 19 May 2016 23:43:17 +0000 (23:43 +0000)]
update links to studio docs
am: 73cf8224cb

* commit '73cf8224cbd97918d6407aac79a97c6ef70b9a30':
  update links to studio docs

Change-Id: I79a52f27e9107b63c377e8783d129b93c2013c78

8 years agoupdate links to studio docs
smain@google.com [Thu, 19 May 2016 23:30:43 +0000 (16:30 -0700)]
update links to studio docs

Change-Id: Ie4eccfcb19e690fff935e3a6064332d2e5a3323c

8 years agoMerge "Remove outdated google services links." into mnc-mr-docs am: dc40b80ae9 am...
Dirk Dougherty [Thu, 19 May 2016 23:19:12 +0000 (23:19 +0000)]
Merge "Remove outdated google services links." into mnc-mr-docs am: dc40b80ae9 am: 5fb577e6bc
am: 8053c79246

* commit '8053c79246f14a78158b6476169299999299d6d8':
  Remove outdated google services links.

Change-Id: I4c85952e4962381261e42d3ecf1c3408a57ab55e

8 years agoMerge "Remove outdated google services links." into mnc-mr-docs am: dc40b80ae9
Dirk Dougherty [Thu, 19 May 2016 23:13:57 +0000 (23:13 +0000)]
Merge "Remove outdated google services links." into mnc-mr-docs am: dc40b80ae9
am: 5fb577e6bc

* commit '5fb577e6bc96cf38cc2395abe54ecb65a4e06936':
  Remove outdated google services links.

Change-Id: I439141d79ed51128e66533656095b3f70ff7a88b

8 years agoMerge "Remove outdated google services links." into mnc-mr-docs
Dirk Dougherty [Thu, 19 May 2016 23:07:10 +0000 (23:07 +0000)]
Merge "Remove outdated google services links." into mnc-mr-docs
am: dc40b80ae9

* commit 'dc40b80ae930ac80fd7067e7e9ecc78454e847c5':
  Remove outdated google services links.

Change-Id: I534cae19e16547cac3f34436f38f86ababcbeaca

8 years agoMerge "Remove outdated google services links." into mnc-mr-docs
Dirk Dougherty [Thu, 19 May 2016 23:01:53 +0000 (23:01 +0000)]
Merge "Remove outdated google services links." into mnc-mr-docs

8 years agoRemove outdated google services links.
Dirk Dougherty [Thu, 19 May 2016 22:57:40 +0000 (15:57 -0700)]
Remove outdated google services links.

Change-Id: Ie30c18940c2fd7fbbbfa737145cda36b8a2fc26e

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1...
John Reck [Thu, 19 May 2016 22:59:26 +0000 (22:59 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1323  -s ours am: bfa719f448  -s ours am: 1fae3b370d am: 1da8c9baa2 am: 8238207ce6  -s ours am: a7895725f8 am: 0f59d9b80c am: 08a4808197
am: 7298186769  -s ours

* commit '7298186769395978045ed2d35252cdf7f644d85b':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: I93f337a4e85a4e20e91fbbf7bd7aeb48bd0df735

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1...
John Reck [Thu, 19 May 2016 22:54:05 +0000 (22:54 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1323  -s ours am: bfa719f448  -s ours am: 1fae3b370d am: 1da8c9baa2 am: 8238207ce6  -s ours am: a7895725f8 am: 0f59d9b80c
am: 08a4808197

* commit '08a480819763dd632fd8006a0ea57b8220ee121a':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: Ia434422652e624aa5afc871857e7d8dac168912e

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1...
John Reck [Thu, 19 May 2016 22:50:55 +0000 (22:50 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1323  -s ours am: bfa719f448  -s ours am: 1fae3b370d am: 1da8c9baa2 am: 8238207ce6  -s ours am: a7895725f8
am: 0f59d9b80c

* commit '0f59d9b80c9f5daa321b683525ba8732add007c2':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: Ieab233f8cc5b9a0c3468c551b4cd023532c5eff6

8 years agodocs: Update to column widths for Complications table am: 76372f02fe
Bert McMeen [Thu, 19 May 2016 22:50:53 +0000 (22:50 +0000)]
docs: Update to column widths for Complications table am: 76372f02fe
am: 4cdad3212e

* commit '4cdad3212e67fabbfe4ba68f7b214be5ff5c10af':
  docs: Update to column widths for Complications table

Change-Id: I22f82c2ca729b9d679fc077dbc9b54c85a70d6fc

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1...
John Reck [Thu, 19 May 2016 22:47:05 +0000 (22:47 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1323  -s ours am: bfa719f448  -s ours am: 1fae3b370d am: 1da8c9baa2 am: 8238207ce6  -s ours
am: a7895725f8

* commit 'a7895725f8858465a404cbe4f6d5091e39423529':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: Icc562bb47467e7d2d352b6c03498a471ec464e63

8 years agodocs: Update to column widths for Complications table
Bert McMeen [Thu, 19 May 2016 22:44:13 +0000 (22:44 +0000)]
docs: Update to column widths for Complications table
am: 76372f02fe

* commit '76372f02fe149aefccea502bf1ac0dca2693e84b':
  docs: Update to column widths for Complications table

Change-Id: I67578fd73f26af6ef2187e4e9823fb71e89f990e

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1...
John Reck [Thu, 19 May 2016 22:43:14 +0000 (22:43 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1323  -s ours am: bfa719f448  -s ours am: 1fae3b370d am: 1da8c9baa2
am: 8238207ce6  -s ours

* commit '8238207ce6268422bcdb50d44f03e6a220081294':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: Ia73f713a2c6f52357877e00e71f511044bb9ca58

8 years agoMerge "Update BlockedNumberContract javadocs." into nyc-dev
Abhijith Shastry [Thu, 19 May 2016 22:43:11 +0000 (22:43 +0000)]
Merge "Update BlockedNumberContract javadocs." into nyc-dev

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1...
John Reck [Thu, 19 May 2016 22:37:04 +0000 (22:37 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1323  -s ours am: bfa719f448  -s ours am: 1fae3b370d
am: 1da8c9baa2

* commit '1da8c9baa2d2da49e14224d34995337c4709b1ad':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: Ibff7c25c48909cb77ee498f0fb3030d22a3eb381

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1...
John Reck [Thu, 19 May 2016 22:32:47 +0000 (22:32 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1323  -s ours am: bfa719f448  -s ours
am: 1fae3b370d

* commit '1fae3b370dfd9536da166ef561df630cdff02b83':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: I5015ea3a7926caf4cf2cf27feff0653507063ac3

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1...
John Reck [Thu, 19 May 2016 22:28:23 +0000 (22:28 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5 am: 5527fd1323  -s ours
am: bfa719f448  -s ours

* commit 'bfa719f448ab4d90368a3cdc556e515253528e17':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: I6597a3a69b8037af401000ab0123ea6d050f58ed

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5
John Reck [Thu, 19 May 2016 22:21:46 +0000 (22:21 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2 am: 1b1fcbaab5
am: 5527fd1323  -s ours

* commit '5527fd1323cc1d6470576386c8298f45c3895d75':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: I14fe8c28299ba6bb94cd51d1bc9c637be7766cbd

8 years agoMerge "[RenderScript] Fix ScriptIntrinsicBlur documentation." into nyc-dev
Miao Wang [Thu, 19 May 2016 22:16:54 +0000 (22:16 +0000)]
Merge "[RenderScript] Fix ScriptIntrinsicBlur documentation." into nyc-dev

8 years agoDO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2
John Reck [Thu, 19 May 2016 22:16:42 +0000 (22:16 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes am: 7c9f2b8aa2
am: 1b1fcbaab5

* commit '1b1fcbaab5169f824e803bcd97aa848e27dbcafb':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: I40b173cbfd5fbec21a2b194b573a246af534c315

8 years agoMerge "Update documentation about copyTo and copyFrom." into nyc-dev
Miao Wang [Thu, 19 May 2016 22:16:37 +0000 (22:16 +0000)]
Merge "Update documentation about copyTo and copyFrom." into nyc-dev

8 years agofix dashboards page.
smain@google.com [Thu, 19 May 2016 22:08:51 +0000 (15:08 -0700)]
fix dashboards page.
the src attributes were being modified by the devsite parser,
so i renamed those attributes then rename them again at runtime.
bug: 28801246

Change-Id: I34d0dff8fa7f430226dd1d12fccb2cdbeda365db

8 years agodocs: Update to column widths for Complications table
Bert McMeen [Thu, 19 May 2016 22:01:38 +0000 (15:01 -0700)]
docs: Update to column widths for Complications table

Bug: 28864917
Change-Id: Ie02b5dd82789055b2a0994438065fc373ddf70b6

8 years agoMerge "Fix a11y crash when window layer isn't unique." into nyc-dev
Phil Weaver [Thu, 19 May 2016 21:50:28 +0000 (21:50 +0000)]
Merge "Fix a11y crash when window layer isn't unique." into nyc-dev

8 years agoMerge "Never set resized while not drag resizing for pinned stack." into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 21:42:20 +0000 (21:42 +0000)]
Merge "Never set resized while not drag resizing for pinned stack." into nyc-dev

8 years agoDocs: Fixed a wrong file name
Hemal Patel [Thu, 19 May 2016 21:13:29 +0000 (14:13 -0700)]
Docs: Fixed a wrong file name

Bug: 26897599
Change-Id: I4a0bb6149e6a88bb9eda90b8bcc44909633f8399

8 years agoMerge "Fixed a bug where the chronometer was invisible" into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 20:40:25 +0000 (20:40 +0000)]
Merge "Fixed a bug where the chronometer was invisible" into nyc-dev

8 years agoMerge "Fixed a bug where the chronometer wasn't updating the time" into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 20:39:33 +0000 (20:39 +0000)]
Merge "Fixed a bug where the chronometer wasn't updating the time" into nyc-dev

8 years agoFix a11y crash when window layer isn't unique.
Phil Weaver [Thu, 19 May 2016 17:32:52 +0000 (10:32 -0700)]
Fix a11y crash when window layer isn't unique.

TalkBack is seeing crashes that I can only explain by our assumption
that window layer is unique in all cases. TalkBack reports that it
happens during animation, so I assume that the layer may repeat
transiently.

Reducing our dependence on this assumption by traversing the list of
windows sorted by layer without assuming that the list has the same
length as the list of unsorted windows.

Also documenting the undefined behavior of SparseArray when indexing
beyond its bounds. The undefined behavior itself is intentional for
performance reasons.

Bug: 28679528
Bug: 28815817
Change-Id: I0c9f90b0b458b4cde465f603ba204fe6691e5c2c

8 years agoMerge "Fix RTL issue in delete dialog." into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 20:24:34 +0000 (20:24 +0000)]
Merge "Fix RTL issue in delete dialog." into nyc-dev

8 years agoNever set resized while not drag resizing for pinned stack.
Robert Carr [Wed, 18 May 2016 21:53:16 +0000 (14:53 -0700)]
Never set resized while not drag resizing for pinned stack.

It's not necessary in the pinned stack and interferes with the
animation. It's not enough to just check getBoundsAnimating, as
we turn that off prior to the final resize so that we unmute
notifications to the client.

Bug: 28559097
Change-Id: Iae180c8a8ca0585184efcf24e7677557a33678eb

8 years agoMerge "Fix GATT autoConnect race condition" into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 19:38:55 +0000 (19:38 +0000)]
Merge "Fix GATT autoConnect race condition" into nyc-dev

8 years agoMerge "Incorporate feedback on new wallpaper-related APIs" into nyc-dev
Chris Tate [Thu, 19 May 2016 19:34:07 +0000 (19:34 +0000)]
Merge "Incorporate feedback on new wallpaper-related APIs" into nyc-dev

8 years agoDO NOT MERGE Cherry pick libpng usage fixes
John Reck [Thu, 19 May 2016 19:26:24 +0000 (19:26 +0000)]
DO NOT MERGE Cherry pick libpng usage fixes
am: 7c9f2b8aa2

* commit '7c9f2b8aa2bdbbd5ee9fc6ff52161d994a10b865':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: If3b1a86798e4f8064fc1ad912d91b1106b24739a

8 years agoHide VoicemailContract.setQuota()
Ta-wei Yen [Thu, 19 May 2016 19:02:25 +0000 (12:02 -0700)]
Hide VoicemailContract.setQuota()

This method is a helper for internal use only.

+ Updated docs for QUOTA_OCCUPIED, QUOTA_TOTAL, and QUOTA_UNAVAILABLE.

Change-Id: Ib146926cd2bff50affe970a0123bcbec62ac3e70
Fixes:28842445

8 years agoMerge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table...
Chris Craik [Thu, 19 May 2016 18:45:25 +0000 (18:45 +0000)]
Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53 am: f7688a4f29
am: 6badb0fb54

* commit '6badb0fb54a72026dfe5d04e2556637b116a9c91':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: Ie324dd06265e48abe229c101f638e98e906bb199

8 years agoMerge "Mapping up/down of legacy Gps vs. Gnss Status" into nyc-dev
Wyatt Riley [Thu, 19 May 2016 18:37:53 +0000 (18:37 +0000)]
Merge "Mapping up/down of legacy Gps vs. Gnss Status" into nyc-dev

8 years agoMerge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table...
Chris Craik [Thu, 19 May 2016 18:35:30 +0000 (18:35 +0000)]
Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53
am: f7688a4f29

* commit 'f7688a4f297fcab18ffdbd0ed10405ba862e8ec9':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I7f3c0af53759216af85351d950631af81cdf1316

8 years agoMerge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table...
Chris Craik [Thu, 19 May 2016 18:31:33 +0000 (18:31 +0000)]
Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1
am: c387613d53

* commit 'c387613d53284816ebb00ebeb41633f6179fc972':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I648ee1970cae83a816e9462dcbdd2208b7c205d4

8 years agoWhile turning OFF do not honor ON requests.
Sanket Agarwal [Thu, 21 Apr 2016 21:10:55 +0000 (14:10 -0700)]
While turning OFF do not honor ON requests.

Native stack does not handle being put from OFF -> ON state without
doing a complete cleanup. Hence instead of going from start -> ON -> OFF
-> cleanup it goes start -> ON -> OFF ->ON -> ... usually leads to race
conditions down the road in native.

This patch is a workaround so that we can throw away the requests if we
are in currently "turning off" phase. The side-effect would be that user
will need to turn it ON again. The race happens when the turn OFF time
is longer but usually it is found to be close to order of seconds hence
the wait should be bounded.

Bug: b/28318203
Change-Id: I14f6633f31311e5b561e1dcbc8a9d6d2a5dd6fdc

8 years agoFix GATT autoConnect race condition
Sungki Kim [Thu, 19 May 2016 17:18:07 +0000 (10:18 -0700)]
Fix GATT autoConnect race condition

As pointed out here:
https://code.google.com/p/android/issues/detail?id=69834

registerApp() causes onClientRegistered() to happen before autoConnect
is set. This patch fixes that.

Bug: 28861330
Change-Id: Ie1174c0f224f5084178439420b383164d22d542c

8 years agoFix RTL issue in delete dialog.
Steve McKay [Wed, 18 May 2016 23:25:41 +0000 (16:25 -0700)]
Fix RTL issue in delete dialog.

Bug:28772371
Change-Id: Ia5d3e074ac40b73f21cc83f507735d0918799966

8 years agoMerge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table...
Chris Craik [Thu, 19 May 2016 18:21:26 +0000 (18:21 +0000)]
Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c
am: 8fc4c789f1

* commit '8fc4c789f1a356d765e98b0c3f1569fabbfb0890':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I42b9e0c852a685bd0ae1d5dd1145769b9dfd095d

8 years agoMerge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table...
Chris Craik [Thu, 19 May 2016 18:10:27 +0000 (18:10 +0000)]
Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8
am: f6987bc94c

* commit 'f6987bc94c00fa1390aee6f665a560dcb94d7942':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: Ice3af646ca302dea7797a2ff65ed83da7beaaa90

8 years agoMerge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table...
Chris Craik [Thu, 19 May 2016 17:59:55 +0000 (17:59 +0000)]
Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd
am: b6f51341e8

* commit 'b6f51341e8bb34de8dfdc2694599c7090971fdf8':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I323752b6f1f51a659af0aa84e7305c75ccbf0552

8 years agoQS Edit: Better handling if drags
Jason Monk [Thu, 19 May 2016 17:59:41 +0000 (13:59 -0400)]
QS Edit: Better handling if drags

 - don't add/remove divider, hide/show it
 - don't break drag sequence by returning false
 - clean up some logic

Change-Id: I3236b1bc8a1a810e6e696c21af747bd6369c5050
Fixes: 28067638

8 years agoMerge "ZygoteInit: install AndroidKeyStoreProvider in the Zygote" into nyc-dev
Sergio Giro [Thu, 19 May 2016 17:52:59 +0000 (17:52 +0000)]
Merge "ZygoteInit: install AndroidKeyStoreProvider in the Zygote" into nyc-dev

8 years agoMerge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table...
Chris Craik [Thu, 19 May 2016 17:49:59 +0000 (17:49 +0000)]
Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs
am: 36785ff4bd

* commit '36785ff4bda29f8055864e081012e12077509889':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I9f50650cb3d52ba76aa61a28b9bf3aef36682d83

8 years agoIncorporate feedback on new wallpaper-related APIs
Christopher Tate [Thu, 19 May 2016 00:31:58 +0000 (17:31 -0700)]
Incorporate feedback on new wallpaper-related APIs

- Documentation
- Method naming
- Throwing exceptions rather than returning zero/null/false on input failures

Bug 28773334

Change-Id: Ia41c1e31c76b7114f3ffeb16033384cac5a1031d

8 years agoMerge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table...
Chris Craik [Thu, 19 May 2016 17:22:56 +0000 (17:22 +0000)]
Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs

8 years agoMerge "Merge "docs: Restored references to "Know Your User" resource cards." into...
Android Build Merger (Role) [Thu, 19 May 2016 17:13:47 +0000 (17:13 +0000)]
Merge "Merge "docs: Restored references to "Know Your User" resource cards." into mnc-docs am: dbfd7dd16a am: 940de083a3 am: 8dc9a826d5 am: 6b077de7d7" into nyc-dev

8 years agoMerge "Merge "docs: Added Sony Xperia Z3 as a testing device for Android N." into...
Android Build Merger (Role) [Thu, 19 May 2016 17:13:37 +0000 (17:13 +0000)]
Merge "Merge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs am: 8262d9c00d am: 4af01c1aec am: 2c98879a27 am: 2ebb73e557" into nyc-dev

8 years agoMerge "docs: Restored references to "Know Your User" resource cards." into mnc-docs...
Kevin Hufnagle [Thu, 19 May 2016 17:13:05 +0000 (17:13 +0000)]
Merge "docs: Restored references to "Know Your User" resource cards." into mnc-docs am: dbfd7dd16a am: 940de083a3 am: 8dc9a826d5
am: 6b077de7d7

* commit '6b077de7d7c02f46c3a74430fa1b739d23d8c1c2':
  docs: Restored references to "Know Your User" resource cards.

Change-Id: I7f263ab12836c7f8cf734425dbe10fea3444572e

8 years agoMerge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs...
Kevin Hufnagle [Thu, 19 May 2016 17:12:51 +0000 (17:12 +0000)]
Merge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs am: 8262d9c00d am: 4af01c1aec am: 2c98879a27
am: 2ebb73e557

* commit '2ebb73e5572eb400d6202c9a0e3d365e1fde9d7e':
  docs: Added Sony Xperia Z3 as a testing device for Android N.

Change-Id: I43a8431d48244a6807924239eac4c5211ce380b3

8 years agoMerge "Clear mResizedWhileNotDragResizing flag after reporting" into nyc-dev
Andrii Kulian [Thu, 19 May 2016 17:11:34 +0000 (17:11 +0000)]
Merge "Clear mResizedWhileNotDragResizing flag after reporting" into nyc-dev

8 years agoMerge "docs: Restored references to "Know Your User" resource cards." into mnc-docs...
Kevin Hufnagle [Thu, 19 May 2016 17:05:53 +0000 (17:05 +0000)]
Merge "docs: Restored references to "Know Your User" resource cards." into mnc-docs am: dbfd7dd16a am: 940de083a3
am: 8dc9a826d5

* commit '8dc9a826d5b7d5a9e4e83374430f95a38a7775e3':
  docs: Restored references to "Know Your User" resource cards.

Change-Id: I5e24c5f0cb5d1434dd924e2706d1a26a47b528f8

8 years agoMerge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs...
Kevin Hufnagle [Thu, 19 May 2016 17:05:50 +0000 (17:05 +0000)]
Merge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs am: 8262d9c00d am: 4af01c1aec
am: 2c98879a27

* commit '2c98879a2793b8607eb4539925e9d1fb38d78610':
  docs: Added Sony Xperia Z3 as a testing device for Android N.

Change-Id: I9f254da6427cea0ad4f4edc2fde8e17d679c4017

8 years agoMerge "docs: Restored references to "Know Your User" resource cards." into mnc-docs...
Kevin Hufnagle [Thu, 19 May 2016 16:57:10 +0000 (16:57 +0000)]
Merge "docs: Restored references to "Know Your User" resource cards." into mnc-docs am: dbfd7dd16a
am: 940de083a3

* commit '940de083a3e2ac5176f36d5b8bd6f88f5d1813dd':
  docs: Restored references to "Know Your User" resource cards.

Change-Id: I8f0f13d2b3099d41d9ae31de75728fd9f46283ce

8 years agoMerge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs...
Kevin Hufnagle [Thu, 19 May 2016 16:57:08 +0000 (16:57 +0000)]
Merge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs am: 8262d9c00d
am: 4af01c1aec

* commit '4af01c1aecc8db2fd084822294ad193a72a34fa7':
  docs: Added Sony Xperia Z3 as a testing device for Android N.

Change-Id: I455575a25350b7a0c66b5f8d698d6d0fc51076a5

8 years agoMapping up/down of legacy Gps vs. Gnss Status
Wyatt Riley [Tue, 17 May 2016 23:14:48 +0000 (16:14 -0700)]
Mapping up/down of legacy Gps vs. Gnss Status

- Maps incoming (from HAL) GpsSvStatus for Glonass, Beidou, SBAS, and QZSS
  from defacto (NMEA-like) numbers to internal platform with detected constellation.
- Maps outgoing (to Java API) GpsStatus getSatellite info back into the de-facto
  overloaded (beyond 32) "GPS" ID numbers.
- Simplifies Glonass ID definition for N (comments only.)
- This enables GPS/GNSS Test apps a non-degrading upgrade path.

Bug: 28623392
Change-Id: I9a19db1f11267032c6927daed767df5afa51c770

8 years agoMerge "docs: Restored references to "Know Your User" resource cards." into mnc-docs
Kevin Hufnagle [Thu, 19 May 2016 16:48:54 +0000 (16:48 +0000)]
Merge "docs: Restored references to "Know Your User" resource cards." into mnc-docs
am: dbfd7dd16a

* commit 'dbfd7dd16a383e41f5a59c2b63231e0848563770':
  docs: Restored references to "Know Your User" resource cards.

Change-Id: I7d350d7574396e0216b2b72ed9e1725242c3fb88

8 years agoMerge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs
Kevin Hufnagle [Thu, 19 May 2016 16:48:51 +0000 (16:48 +0000)]
Merge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs
am: 8262d9c00d

* commit '8262d9c00d7332e7f013ef1af6ea818a5d248ec5':
  docs: Added Sony Xperia Z3 as a testing device for Android N.

Change-Id: I56f21d12417b7157f749b02e9f3949bdbace5751

8 years agoMerge "docs: Restored references to "Know Your User" resource cards." into mnc-docs
Kevin Hufnagle [Thu, 19 May 2016 16:43:40 +0000 (16:43 +0000)]
Merge "docs: Restored references to "Know Your User" resource cards." into mnc-docs

8 years agoMerge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs
Kevin Hufnagle [Thu, 19 May 2016 16:43:30 +0000 (16:43 +0000)]
Merge "docs: Added Sony Xperia Z3 as a testing device for Android N." into mnc-docs

8 years agoZygoteInit: install AndroidKeyStoreProvider in the Zygote
Sergio Giro [Tue, 17 May 2016 15:52:33 +0000 (16:52 +0100)]
ZygoteInit: install AndroidKeyStoreProvider in the Zygote

Instead of in activity thread. That way, we can warm up (ie,
precompute cached values) this provider and AndroidBCWorkaroundProvider
(which are installed together) so that the computation doesn't
happen in the app. As a result, the time spent in the first call to
SSLSocketFactory.getDefault() decreases by ~5ms in angler userdebug.
Measured with an app calling SSLSocketFactory.getDefault in onCreate
and timed it with System.currentTimeMillis() .

Bug: 28545496

Change-Id: I73284eccdf6d51dbf55206335d759ccf795c5f41

8 years agoAdd support for ICU data pinning in the Zygote
Neil Fuller [Mon, 9 May 2016 15:55:36 +0000 (16:55 +0100)]
Add support for ICU data pinning in the Zygote

Upstream ICU caches use SoftReferences. On Android this means
that useful cached data initialized in the Zygote are "lost" when
the Zygote GCs and cannot be shared with apps. This change makes use
of an Android patch to ICU to ensure References created during
Zygote initialization are "strong". i.e. they are never collected.
This prevents them being GCd and ensures they can be shared between
applications.

After switching ICU to use strong references, this change
also creates DecimalFormatSymbols objects for common ULocales
(ROOT, US and the user's default, if different). DecimalFormatSymbols
makes use of an ICU Reference cache and this alone has been shown to
improve the construction time of java.text.DecimalFormat by 1-1.5
milliseconds on a Seed device. This saving applies the first time one
is created in each app for each locale, and again if SoftReferences
have been cleared.

The cost to the heap size of the Zygote has been measured at ~107k.
This value will change as more caches are switched to use the new
CacheValue class.

Formatting is typically performed on the UI thread and the intention
of this change is to reduce app start up time and jank in apps like
the Dialer which do a lot of formatting when scrolling lists. The
change may also enable more virtual memory page-sharing between
apps, though this is not the specific goal.

Bug: 28326526
(cherry picked from commit 41c9dc3b6938c5674c88ef4bc27b3d95f56efebe)

Change-Id: I48e4d57ecbb207b9a5e17b6caf5e7b282e4a40e3

8 years agoMerge "DO NOT MERGE Rename PointerIcon and Pointer Capture APIs" into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 15:03:33 +0000 (15:03 +0000)]
Merge "DO NOT MERGE Rename PointerIcon and Pointer Capture APIs" into nyc-dev

8 years agoEnable boost-locked-region-priority
Alan Leung [Tue, 17 May 2016 04:12:33 +0000 (21:12 -0700)]
Enable boost-locked-region-priority

Enable jack.transformations.boost-locked-region-priority compiler pass
that had shown to increase performance in AmSlam by 10% or so.

bug: 28610549
Change-Id: If1b76787acd272882647ede7e831cb1ba376e578

8 years agoMerge "Workaround for ignored resizeableActivity param" into nyc-dev
Andrii Kulian [Thu, 19 May 2016 07:57:19 +0000 (07:57 +0000)]
Merge "Workaround for ignored resizeableActivity param" into nyc-dev