OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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

8 years agoMerge "Fix build breakage caused by redefining attrs" into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 07:06:49 +0000 (07:06 +0000)]
Merge "Fix build breakage caused by redefining attrs" into nyc-dev

8 years agoFix build breakage caused by redefining attrs
Andrii Kulian [Thu, 19 May 2016 02:37:03 +0000 (19:37 -0700)]
Fix build breakage caused by redefining attrs

minWidth and minHeight were already defined without format specified
and we need to have definition without format also. Otherwise they conflict.

Bug: 28775586
Change-Id: I0602bd70d03bdacfc604d884951a60871159ed92

8 years agoMerge "DHCPv4: lease expiration is fatal, renew failures are not" into nyc-dev
Erik Kline [Thu, 19 May 2016 04:12:38 +0000 (04:12 +0000)]
Merge "DHCPv4: lease expiration is fatal, renew failures are not" into nyc-dev

8 years agoMerge "Frameworks/base: Optimize LoadedApk" into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 03:43:07 +0000 (03:43 +0000)]
Merge "Frameworks/base: Optimize LoadedApk" into nyc-dev

8 years agoMerge "Update docs for minWidth/minHeight attributes" into nyc-dev
Andrii Kulian [Thu, 19 May 2016 01:42:13 +0000 (01:42 +0000)]
Merge "Update docs for minWidth/minHeight attributes" into nyc-dev

8 years agoMerge "Rename minWidth/Height attributes" into nyc-dev
Andrii Kulian [Thu, 19 May 2016 01:42:13 +0000 (01:42 +0000)]
Merge "Rename minWidth/Height attributes" into nyc-dev

8 years agoMerge "docs: Add video to Instant Apps landing page" into mnc-io-docs am: 99ffb30302
Joe Fernandez [Thu, 19 May 2016 01:25:19 +0000 (01:25 +0000)]
Merge "docs: Add video to Instant Apps landing page" into mnc-io-docs am: 99ffb30302
am: ac9135e737

* commit 'ac9135e737ff53b6e680d9f81dd32012365041b4':
  docs: Add video to Instant Apps landing page

Change-Id: I3c97783703ce80079636f18d4708796b34b351e9

8 years agoMerge "docs: Add video to Instant Apps landing page" into mnc-io-docs
Joe Fernandez [Thu, 19 May 2016 01:20:21 +0000 (01:20 +0000)]
Merge "docs: Add video to Instant Apps landing page" into mnc-io-docs
am: 99ffb30302

* commit '99ffb30302017f00b349369181cbda72c3276170':
  docs: Add video to Instant Apps landing page

Change-Id: Icd8bc9c7d8bbd432889e880eec512c1213baf9af

8 years agoMerge "docs: Add video to Instant Apps landing page" into mnc-io-docs
Joe Fernandez [Thu, 19 May 2016 01:13:22 +0000 (01:13 +0000)]
Merge "docs: Add video to Instant Apps landing page" into mnc-io-docs

8 years agodoc: Updates to release notes post-DP3 am: fd30a43337
Andrew Solovay [Thu, 19 May 2016 01:09:38 +0000 (01:09 +0000)]
doc: Updates to release notes post-DP3 am: fd30a43337
am: 788edcb7ec

* commit '788edcb7ecf03bdabfc8c82cd9949a130c7d2dcc':
  doc: Updates to release notes post-DP3

Change-Id: I656981ca1a6b16e4a429b84abfdc6efad20216cf

8 years agodocs: Add video to Instant Apps landing page
Joe Fernandez [Thu, 19 May 2016 01:07:17 +0000 (18:07 -0700)]
docs: Add video to Instant Apps landing page

b/28842359

Change-Id: Idb097501425ca0a50f547a22f54217878075376a

8 years agodoc: Updates to release notes post-DP3
Andrew Solovay [Thu, 19 May 2016 01:06:20 +0000 (01:06 +0000)]
doc: Updates to release notes post-DP3
am: fd30a43337

* commit 'fd30a43337d31ddcb6925fe275cf0d5cc7a9ed63':
  doc: Updates to release notes post-DP3

Change-Id: If45ef33e3b718649c1c717a9d14613a94f30a839

8 years agoMerge "Fixed a bug where autobundling could lead to bugs" into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 00:58:24 +0000 (00:58 +0000)]
Merge "Fixed a bug where autobundling could lead to bugs" into nyc-dev

8 years agoWorkaround for ignored resizeableActivity param
Andrii Kulian [Wed, 18 May 2016 02:07:24 +0000 (19:07 -0700)]
Workaround for ignored resizeableActivity param

If <uses-sdk> tag is below <application> in AndroidManifest.xml then,
when activity is parsed, targetSdkVersion param is not yet set correctly.
Because of that we're defaulting to RESIZE_MODE_FORCE_RESIZEABLE and the
param resizeableActivity will be ignored.
This CL checks if resizeableActivity was set explicitly when targetSdkVersion
is less than N (or not set).

Bug: 28020462
Change-Id: I099f6c00dd50547ddea873e47dbb447869d0be6f

8 years agodoc: Updates to release notes post-DP3
Andrew Solovay [Thu, 19 May 2016 00:22:00 +0000 (17:22 -0700)]
doc: Updates to release notes post-DP3

Fixed a mistake (duplicated known-issue) and changed the AfW section
title.

Also added a new adb-related bug in a new "Developer Tools" section.

See first comment for doc stage location.

bug: 28844418
bug: 28347842

Change-Id: I10138a66d596b8aeb5a35a9366950af9f4c7cc51

8 years agoMerge "Frameworks/base: Add more systrace points" into nyc-dev
TreeHugger Robot [Thu, 19 May 2016 00:09:07 +0000 (00:09 +0000)]
Merge "Frameworks/base: Add more systrace points" into nyc-dev

8 years agoAdd default lock wallpaper capability and API
Christopher Tate [Sat, 7 May 2016 00:59:27 +0000 (17:59 -0700)]
Add default lock wallpaper capability and API

If present, the system property "ro.config.lock_wallpaper" provides a
filesystem path to a decodeable image file to use as the system's
out-of-the-box lock wallpaper imagery.  In the absence of this
system property, or if the indicated file is absent or unreadable,
then the new framework resource
com.android.internal.R.drawable.default_lock_wallpaper is consulted to
locate a usable asset.  This mechanism parallels the existing one for
the default system wallpaper.

By default there is no specific lock wallpaper asset; the resource is
defined to be @null in the standard config.xml file.  A product that
wants to define such a factory-default lock-only wallpaper image
will provide the asset as part of its framework resource overlay.

Bug 27828056

Change-Id: Iebf3706222370d0a0a4baf88d71a59ead07a25c7

8 years agoMerge "API feedback: rename JobInfo methods for clarity" into nyc-dev
Chris Tate [Wed, 18 May 2016 23:50:13 +0000 (23:50 +0000)]
Merge "API feedback: rename JobInfo methods for clarity" into nyc-dev

8 years agoMerge "Lock down networking when waiting for always-on" into nyc-dev
Robin Lee [Wed, 18 May 2016 23:37:23 +0000 (23:37 +0000)]
Merge "Lock down networking when waiting for always-on" into nyc-dev

8 years agoFixed a bug where autobundling could lead to bugs
Selim Cinek [Wed, 18 May 2016 22:16:58 +0000 (15:16 -0700)]
Fixed a bug where autobundling could lead to bugs

Notifications could appear twice if a notification with an app
group became bundled and one could not be swiped away anymore.
This is because we were unconditionally copying over the override
key even if the notification just became a group.

This also fixes a nullpointer that could happen with a racecondition
when a notification was cancelled and it tried to be used for autobundling.

This also fixes an issue that the autobundling wasn't working correctly
when a notification didn't have a group set but was set to be a
group summary.

Change-Id: Icd971f16ae0804ce162fd3171fcdd99bd04f3885
Fixes: 28706404
Fixes: 28628237

8 years agoLock down networking when waiting for always-on
Robin Lee [Mon, 9 May 2016 12:46:28 +0000 (13:46 +0100)]
Lock down networking when waiting for always-on

Fix: 26694104
Fix: 27042309
Fix: 28335277
Change-Id: I47a4c9d2b98235195b1356af3dabf7235870e4fa

8 years agoupdate sdk/ link to studio/ am: 04de2d285e am: 2e28ebfc1d
smain@google.com [Wed, 18 May 2016 22:59:45 +0000 (22:59 +0000)]
update sdk/ link to studio/ am: 04de2d285e am: 2e28ebfc1d
am: 9de1d192af

* commit '9de1d192af5761dec4e58837690febc6385874b4':
  update sdk/ link to studio/

Change-Id: I3184c8b697fe96162cb87c17bcf85fc6375127d9

8 years agoMerge "docs: Update to md5 and sha-1 values for Javadoc download" into mnc-io-docs...
Bert McMeen [Wed, 18 May 2016 22:59:36 +0000 (22:59 +0000)]
Merge "docs: Update to md5 and sha-1 values for Javadoc download" into mnc-io-docs am: 58fdf82ab9
am: 3fb62d859f

* commit '3fb62d859f2c3ed0b06dd3d6f7183c838c829c2b':
  docs: Update to md5 and sha-1 values for Javadoc download

Change-Id: I3ad08bb522e3c1ab2fefd2cf7884d69d82f5d394

8 years agoupdate sdk/ link to studio/ am: 04de2d285e
smain@google.com [Wed, 18 May 2016 22:54:47 +0000 (22:54 +0000)]
update sdk/ link to studio/ am: 04de2d285e
am: 2e28ebfc1d

* commit '2e28ebfc1d4ef357968923fc763d1f87ea389ef6':
  update sdk/ link to studio/

Change-Id: I2180d895901a935aa0ebf46cdbfc7b7ab8d2b23e

8 years agoMerge "docs: Update to md5 and sha-1 values for Javadoc download" into mnc-io-docs
Bert McMeen [Wed, 18 May 2016 22:54:43 +0000 (22:54 +0000)]
Merge "docs: Update to md5 and sha-1 values for Javadoc download" into mnc-io-docs
am: 58fdf82ab9

* commit '58fdf82ab9c21fb6fd3d1d64e1d2c13abb670ba1':
  docs: Update to md5 and sha-1 values for Javadoc download

Change-Id: I0a158cce412a6973b607c2002a490ffa37e72f59

8 years agoupdate sdk/ link to studio/
smain@google.com [Wed, 18 May 2016 22:50:05 +0000 (22:50 +0000)]
update sdk/ link to studio/
am: 04de2d285e

* commit '04de2d285e6e264f5a7a84de205a30571fcc1c9e':
  update sdk/ link to studio/

Change-Id: I9fbf52b2802c4ae33bfef289c6fceb8484dd8014

8 years agoFrameworks/base: Optimize LoadedApk
Andreas Gampe [Wed, 18 May 2016 18:58:39 +0000 (11:58 -0700)]
Frameworks/base: Optimize LoadedApk

Preallocate storage lists and avoid TextUtils and its string
builder for a common code path.

Optimize list join helper to not have a check in the loop.

Bug: 28801010
Change-Id: Iafc582031f973d718252b34bcda6405a77425628

8 years agoMerge "docs: Update to md5 and sha-1 values for Javadoc download" into mnc-io-docs
Bert McMeen [Wed, 18 May 2016 22:44:53 +0000 (22:44 +0000)]
Merge "docs: Update to md5 and sha-1 values for Javadoc download" into mnc-io-docs

8 years agoFrameworks/base: Add more systrace points
Andreas Gampe [Wed, 18 May 2016 18:58:47 +0000 (11:58 -0700)]
Frameworks/base: Add more systrace points

Add more systrace points for application startup.

Bug: 28625993
Change-Id: I76dca9e842fb43f1b85981ef94582074d31528c8

8 years agoMerge "Two phases to set the password for disk encryption" into nyc-dev
Paul Crowley [Wed, 18 May 2016 22:40:08 +0000 (22:40 +0000)]
Merge "Two phases to set the password for disk encryption" into nyc-dev

8 years agoupdate sdk/ link to studio/
smain@google.com [Wed, 18 May 2016 22:28:59 +0000 (15:28 -0700)]
update sdk/ link to studio/

Change-Id: I960fed90fc2c44d5c3405d330bc5a474ce9a13c5

8 years agoUpdate app context in code snippet bug: 28842396 am: 056df25179 am: 0fc19538cf
smain@google.com [Wed, 18 May 2016 22:00:21 +0000 (22:00 +0000)]
Update app context in code snippet bug: 28842396 am: 056df25179 am: 0fc19538cf
am: cca8eba82d

* commit 'cca8eba82d48888656d36aed8020fd3ecd738fdd':
  Update app context in code snippet bug: 28842396

Change-Id: I04ef5aeac32a526028e71ed71bcdf39920cc0c4f

8 years agoMerge "Fixes for ending PiP animation." into nyc-dev
TreeHugger Robot [Wed, 18 May 2016 21:57:21 +0000 (21:57 +0000)]
Merge "Fixes for ending PiP animation." into nyc-dev

8 years agoMerge "Correct PiP inset adjustment." into nyc-dev
TreeHugger Robot [Wed, 18 May 2016 21:57:03 +0000 (21:57 +0000)]
Merge "Correct PiP inset adjustment." into nyc-dev

8 years agoUpdate app context in code snippet bug: 28842396 am: 056df25179
smain@google.com [Wed, 18 May 2016 21:55:11 +0000 (21:55 +0000)]
Update app context in code snippet bug: 28842396 am: 056df25179
am: 0fc19538cf

* commit '0fc19538cf9e166fe0ccf511c3f6d18b23b9fd90':
  Update app context in code snippet bug: 28842396

Change-Id: I9212c98b926568f2516fd34fb3ba376029bb366b

8 years agoUpdate app context in code snippet bug: 28842396
smain@google.com [Wed, 18 May 2016 21:51:50 +0000 (21:51 +0000)]
Update app context in code snippet bug: 28842396
am: 056df25179

* commit '056df25179e2a6621f9abeb5cdf749387a489751':
  Update app context in code snippet bug: 28842396

Change-Id: I302124bb72a8162dbc0c7b1fa96c14657a86c97c

8 years agoMerge "Mark occluded home stack as invisible." into nyc-dev
Winson Chung [Wed, 18 May 2016 21:42:56 +0000 (21:42 +0000)]
Merge "Mark occluded home stack as invisible." into nyc-dev

8 years agoUpdate app context in code snippet
smain@google.com [Wed, 18 May 2016 21:35:51 +0000 (14:35 -0700)]
Update app context in code snippet
bug: 28842396

Change-Id: I306ba2d3f7ccb1f547caa46e038c1d3faaccab26

8 years agoAPI feedback: rename JobInfo methods for clarity
Christopher Tate [Wed, 18 May 2016 20:57:37 +0000 (13:57 -0700)]
API feedback: rename JobInfo methods for clarity

Bug 28773330

Change-Id: I081fa225380a1966010d41020200fb3b9549a195

8 years agoMerge "Request a traversal when a saved surface gets redrawn" into nyc-dev
Chong Zhang [Wed, 18 May 2016 20:57:29 +0000 (20:57 +0000)]
Merge "Request a traversal when a saved surface gets redrawn" into nyc-dev

8 years agoAdd null pointer check in removeConnection am: e370b538eb
Chenjie Luo [Wed, 18 May 2016 20:35:51 +0000 (20:35 +0000)]
Add null pointer check in removeConnection am: e370b538eb
am: 58642e6545

* commit '58642e65455ee9456993a2f6386402fbcec68ab8':
  Add null pointer check in removeConnection

Change-Id: Ia4d14a664c9869d1065313db6795ac4e72dee59d

8 years agoAdd null pointer check in removeConnection
Chenjie Luo [Wed, 18 May 2016 20:29:17 +0000 (20:29 +0000)]
Add null pointer check in removeConnection
am: e370b538eb

* commit 'e370b538ebb6ca1072f270aee3003faaa0d1deb2':
  Add null pointer check in removeConnection

Change-Id: I7b615a8f7c7a89617c4f748ad74007ec73db6784

8 years agoFixes for ending PiP animation.
Robert Carr [Fri, 13 May 2016 18:32:05 +0000 (11:32 -0700)]
Fixes for ending PiP animation.

During the PiP animation, we have two basic requirements:
   1. We need to scale windows to the pinned stack bounds.
   2. We need to halt resize and movement notifications to the client.
As we end the animation, we need to disable these states at differing
times. First we need to deliver a final resize and movement notification
to the client for it's new position. However, Surfaces may not
immediately resize (in particular in the case of child windows,
it may be some time!), furthermore Surfaces may resize at different
times so we need to persist scaling on a Surface by Surface
basis after reenabling resize notifications.

Bug: 28559097
Change-Id: I6d52a3e213e08a34f4c0eea892b2a84cd4c20e18

8 years agoCorrect PiP inset adjustment.
Robert Carr [Thu, 12 May 2016 21:04:38 +0000 (14:04 -0700)]
Correct PiP inset adjustment.

We want to calculate the scaling factor we need to have
the content area of the surface (not including insets) to reach
our desired size, otherwise we will seem to scale the insets
up or down over time.

Bug: 28559097
Change-Id: I86dbd5fc902b5d380d33dba626c6694b3c57ff25

8 years agoMerge "Fix a deadlock in system server" into nyc-dev
TreeHugger Robot [Wed, 18 May 2016 20:12:26 +0000 (20:12 +0000)]
Merge "Fix a deadlock in system server" into nyc-dev

8 years agoMerge "Hide ephemeral API" into nyc-dev
Svetoslav Ganov [Wed, 18 May 2016 20:10:27 +0000 (20:10 +0000)]
Merge "Hide ephemeral API" into nyc-dev

8 years agodocs: Update to md5 and sha-1 values for Javadoc download
Bert McMeen [Wed, 18 May 2016 19:58:21 +0000 (12:58 -0700)]
docs: Update to md5 and sha-1 values for Javadoc download

Bug: 28839338
Change-Id: Iabcefc4595aff3ace354ace4cc98a07c9d855695

8 years agoMerge "Updated link to material design page." into mnc-io-docs am: 26aea1383a
Joe Fernandez [Wed, 18 May 2016 19:50:39 +0000 (19:50 +0000)]
Merge "Updated link to material design page." into mnc-io-docs am: 26aea1383a
am: 890101ccb3

* commit '890101ccb338fe0633b07f0197fe5c9957a4870d':
  Updated link to material design page.

Change-Id: I6d88350c3f4681fa998c514e88532fe117c304dd

8 years agodocs: Fix to nav, added _book.yaml am: 584c09929e
Eric Schmidt [Wed, 18 May 2016 19:50:34 +0000 (19:50 +0000)]
docs: Fix to nav, added _book.yaml am: 584c09929e
am: 6856d6f0b7

* commit '6856d6f0b76527c75c5147c392f1bb10d5f121fb':
  docs: Fix to nav, added _book.yaml

Change-Id: Ib3843b9ab63076cac75aea6517027de634a361a8

8 years agoMerge "Declare no print services if 0 print services are enabled." into nyc-dev
Philip P. Moltmann [Wed, 18 May 2016 19:45:04 +0000 (19:45 +0000)]
Merge "Declare no print services if 0 print services are enabled." into nyc-dev

8 years agoMerge "Updated link to material design page." into mnc-io-docs
sreevanis [Wed, 18 May 2016 19:43:01 +0000 (19:43 +0000)]
Merge "Updated link to material design page." into mnc-io-docs
am: 26aea1383a

* commit '26aea1383afcaef13cedd5792088d3a3d6859f44':
  Updated link to material design page.

Change-Id: Ia3e66198caff48e12fa03f471ecf80cb9bb4901e

8 years agodocs: Fix to nav, added _book.yaml
Eric Schmidt [Wed, 18 May 2016 19:42:58 +0000 (19:42 +0000)]
docs: Fix to nav, added _book.yaml
am: 584c09929e

* commit '584c09929e9536cdcafe44a7ea62c83c2b32ad31':
  docs: Fix to nav, added _book.yaml

Change-Id: I917c4324aa10a6e471990db9c364a6f3f42d9d66

8 years agoMerge "Updated link to material design page." into mnc-io-docs
Joe Fernandez [Wed, 18 May 2016 19:38:17 +0000 (19:38 +0000)]
Merge "Updated link to material design page." into mnc-io-docs

8 years agodocs: Fix to nav, added _book.yaml
Eric Schmidt [Wed, 18 May 2016 19:30:34 +0000 (12:30 -0700)]
docs: Fix to nav, added _book.yaml

Bug: 28317418
Change-Id: I7f05376348ffec14d0173d4d0477f8571527297d

8 years agoMerge "Fix a few issues with ime adjust/minimized dock stack" into nyc-dev
Jorim Jaggi [Wed, 18 May 2016 19:30:15 +0000 (19:30 +0000)]
Merge "Fix a few issues with ime adjust/minimized dock stack" into nyc-dev

8 years agoUpdated link to material design page.
sreevanis [Wed, 18 May 2016 19:28:18 +0000 (12:28 -0700)]
Updated link to material design page.

Bug:28839753
Change-Id: Ib35d2cd097057db2b83e57d9cae35427f831f727

8 years agoMerge "docs: Updates to GIFs on WH home page" into mnc-io-docs am: 5ca058d38e
Eric Schmidt [Wed, 18 May 2016 19:28:52 +0000 (19:28 +0000)]
Merge "docs: Updates to GIFs on WH home page" into mnc-io-docs am: 5ca058d38e
am: ef033cd807

* commit 'ef033cd807e23643b160bcb2152ba36eb3b8a2ed':
  docs: Updates to GIFs on WH home page

Change-Id: I13a20a619f9adf79901306585e2e17e28f6ebe84

8 years agoFix a few issues with ime adjust/minimized dock stack
Jorim Jaggi [Tue, 17 May 2016 23:41:32 +0000 (16:41 -0700)]
Fix a few issues with ime adjust/minimized dock stack

- Do not override minimized state in SysUI when IME adjust change
comes in.
- Do not animate IME adjust if we are already animating for minimized.
This lead to problems that we animated the minimized state with the IME
adjust values.
- Make sure to update state after checking whether the IME adjust is
animating. This is to fix an issue where sometimes the IME adjust
animation didn't run because the old target was wrong.

Change-Id: Ie35e2f943a4cda99ffdc6f14663d892863759e46
Fixes: 28819201

8 years agoExplicitly close pipe end when we cease operations...
Christopher Tate [Mon, 16 May 2016 18:52:41 +0000 (11:52 -0700)]
Explicitly close pipe end when we cease operations...

...because the other in-VM reference to that FD means that it won't
get GC'd after we release our local reference to the containing object,
and we wind up with the feeder end blocking on write to a still-fully-
open pipe rather than being made aware that the read end has needed
to shut down.

Bug 28756668

Change-Id: I90b6aaeaabe7d912d96d7ef57c24f68d87d9d0ab

8 years agoMerge "docs: Updates to GIFs on WH home page" into mnc-io-docs
Eric Schmidt [Wed, 18 May 2016 19:23:31 +0000 (19:23 +0000)]
Merge "docs: Updates to GIFs on WH home page" into mnc-io-docs
am: 5ca058d38e

* commit '5ca058d38ec22e0a160859aee8d774dc59bf759c':
  docs: Updates to GIFs on WH home page

Change-Id: I280afb495fb816376e368ca16c2a401adfeeb3a2

8 years agoMerge "docs: Updates to GIFs on WH home page" into mnc-io-docs
Eric Schmidt [Wed, 18 May 2016 19:18:50 +0000 (19:18 +0000)]
Merge "docs: Updates to GIFs on WH home page" into mnc-io-docs

8 years agoMerge "docs: Voice transcription - addition of known issue" into mnc-io-docs am:...
Bert McMeen [Wed, 18 May 2016 19:07:28 +0000 (19:07 +0000)]
Merge "docs: Voice transcription - addition of known issue" into mnc-io-docs am: 6c5d5320e4
am: df502ca47d

* commit 'df502ca47d3a169bd7959fb3dc6c1da4aba76f53':
  docs: Voice transcription - addition of known issue

Change-Id: I3322e6fa5125f51cc0ea1684b2b49258836e50e1

8 years agoMerge "docs: Voice transcription - addition of known issue" into mnc-io-docs
Bert McMeen [Wed, 18 May 2016 19:01:16 +0000 (19:01 +0000)]
Merge "docs: Voice transcription - addition of known issue" into mnc-io-docs
am: 6c5d5320e4

* commit '6c5d5320e47bb7b52072e39e928a80573c27abd5':
  docs: Voice transcription - addition of known issue

Change-Id: If9787e5acd50dd451b015305aa3ba7d3f82b5dc3

8 years agoMerge "Update VrListener location permission." into nyc-dev
Ruben Brunk [Wed, 18 May 2016 18:57:08 +0000 (18:57 +0000)]
Merge "Update VrListener location permission." into nyc-dev

8 years agoMerge "docs: Voice transcription - addition of known issue" into mnc-io-docs
Bert McMeen [Wed, 18 May 2016 18:57:02 +0000 (18:57 +0000)]
Merge "docs: Voice transcription - addition of known issue" into mnc-io-docs

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Wed, 18 May 2016 18:56:43 +0000 (18:56 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Check processName when starting providers." into nyc-dev
Jeff Sharkey [Wed, 18 May 2016 18:52:02 +0000 (18:52 +0000)]
Merge "Check processName when starting providers." into nyc-dev

8 years agoFix a deadlock in system server
Amith Yamasani [Wed, 18 May 2016 17:54:04 +0000 (10:54 -0700)]
Fix a deadlock in system server

Don't call into DPMS with PackageManager lock held. Doh!

Bug: 28828415
Change-Id: I08437d849236374acc0d804fe31aba703af385ba

8 years agodocs: Updates to GIFs on WH home page
Eric Schmidt [Wed, 18 May 2016 17:16:14 +0000 (10:16 -0700)]
docs: Updates to GIFs on WH home page

Bug: 28317418
Change-Id: I848dd7fa8c9c17681c514dc4ef10ccb9133e4200

8 years agodocs: Voice transcription - addition of known issue
Bert McMeen [Wed, 18 May 2016 18:43:36 +0000 (11:43 -0700)]
docs: Voice transcription - addition of known issue

Bug: 28836448
Change-Id: Ie5df3860d85ab357ec133142c5a4a58eba02d9fa