OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Make RemoteView margins density-change safe" into nyc-dev
Adrian Roos [Tue, 14 Jun 2016 19:31:12 +0000 (19:31 +0000)]
Merge "Make RemoteView margins density-change safe" into nyc-dev

8 years agoMerge "Update SyncManager min period to match JobScheduler" into nyc-dev
Shreyas Basarge [Tue, 14 Jun 2016 18:54:43 +0000 (18:54 +0000)]
Merge "Update SyncManager min period to match JobScheduler" into nyc-dev

8 years agoMerge "MediaPlayer: fix java doc for setSurface and setDisplay." into nyc-dev
Wei Jia [Tue, 14 Jun 2016 18:50:00 +0000 (18:50 +0000)]
Merge "MediaPlayer: fix java doc for setSurface and setDisplay." into nyc-dev

8 years agoMerge "docs: Updating N download pages for DP4" into nyc-dev
TreeHugger Robot [Tue, 14 Jun 2016 18:20:48 +0000 (18:20 +0000)]
Merge "docs: Updating N download pages for DP4" into nyc-dev

8 years agoMerge "Don't take the DPMS lock in DPMI.createPackageSuspendedDialogIntent" into...
Makoto Onuki [Tue, 14 Jun 2016 18:17:00 +0000 (18:17 +0000)]
Merge "Don't take the DPMS lock in DPMI.createPackageSuspendedDialogIntent" into nyc-dev

8 years agoMerge "Docs: Changed a command in Keyboard Shortcuts" into nyc-dev
Hemal Patel [Tue, 14 Jun 2016 18:11:09 +0000 (18:11 +0000)]
Merge "Docs: Changed a command in Keyboard Shortcuts" into nyc-dev

8 years agoMediaPlayer: fix java doc for setSurface and setDisplay.
Wei Jia [Tue, 14 Jun 2016 17:53:40 +0000 (10:53 -0700)]
MediaPlayer: fix java doc for setSurface and setDisplay.

Bug: 29149415
Change-Id: I281b6328c068255387ca01a987ff136c3be5e25b

8 years agoMerge \\"Fix broken {@docRoot} links\\" into mnc-io-docs am: a0fa50e40b
Aurimas Liutikas [Tue, 14 Jun 2016 17:37:38 +0000 (17:37 +0000)]
Merge \\"Fix broken {@docRoot} links\\" into mnc-io-docs am: a0fa50e40b
am: 423fe7db6a

Change-Id: I192297bc254d199e25249952591b3b2a1fc2b617

8 years agoMerge \"Fix broken {@docRoot} links\" into mnc-io-docs
Aurimas Liutikas [Tue, 14 Jun 2016 17:27:57 +0000 (17:27 +0000)]
Merge \"Fix broken {@docRoot} links\" into mnc-io-docs
am: a0fa50e40b

Change-Id: I7dd53f31f44262e09624d23d820723893aaba5c7

8 years agoMerge "Fix broken {@docRoot} links" into mnc-io-docs
Aurimas Liutikas [Tue, 14 Jun 2016 17:14:57 +0000 (17:14 +0000)]
Merge "Fix broken {@docRoot} links" into mnc-io-docs

8 years agoMerge "Add a key for setting carrier's CDMA roaming mode" into nyc-dev
Qingxi Li [Tue, 14 Jun 2016 17:02:51 +0000 (17:02 +0000)]
Merge "Add a key for setting carrier's CDMA roaming mode" into nyc-dev

8 years agoMerge "Fixed a bug with a legacy notification API" into nyc-dev
Selim Cinek [Tue, 14 Jun 2016 16:54:20 +0000 (16:54 +0000)]
Merge "Fixed a bug with a legacy notification API" into nyc-dev

8 years agoDon't take the DPMS lock in DPMI.createPackageSuspendedDialogIntent
Makoto Onuki [Mon, 13 Jun 2016 21:50:11 +0000 (14:50 -0700)]
Don't take the DPMS lock in DPMI.createPackageSuspendedDialogIntent

This method is called by AM with the lock held, so can't take the
DPMS lock.

It still takes a different lock, but we don't call into the external
world while holding this lock, so this is fine.

Bug 29242568

Change-Id: Idbecdd7d97385ca66c693903443471fdbae833e6

8 years agoMerge \\"Docs: Watch face performance update\\" into mnc-io-docs am: 99677fb42d
Bert McMeen [Tue, 14 Jun 2016 15:15:59 +0000 (15:15 +0000)]
Merge \\"Docs: Watch face performance update\\" into mnc-io-docs am: 99677fb42d
am: 106af82850

Change-Id: Ia9fa224a4ebb6e51a3c6141751036504d202e137

8 years agoMerge \"Docs: Watch face performance update\" into mnc-io-docs
Bert McMeen [Tue, 14 Jun 2016 15:07:53 +0000 (15:07 +0000)]
Merge \"Docs: Watch face performance update\" into mnc-io-docs
am: 99677fb42d

Change-Id: I41b6ee0628e561cfb7f711d07ac1e41ff71fcb60

8 years agoMerge "Docs: Watch face performance update" into mnc-io-docs
Bert McMeen [Tue, 14 Jun 2016 15:01:59 +0000 (15:01 +0000)]
Merge "Docs: Watch face performance update" into mnc-io-docs

8 years agoUpdate SyncManager min period to match JobScheduler
Shreyas Basarge [Tue, 14 Jun 2016 14:32:02 +0000 (15:32 +0100)]
Update SyncManager min period to match JobScheduler

Use JobScheduler's minimum period in SyncManager.
Syncs will respect JobScheduler's min period anyway,
this change ensures that dumpsys of both services
show the same period.

Bug: 29253834
Change-Id: I0cd7f85da56af967963573a048c3a71436ed9c5b

8 years agoMerge "Redraw if dirty during stopped when resumed" into nyc-dev
John Reck [Tue, 14 Jun 2016 14:43:19 +0000 (14:43 +0000)]
Merge "Redraw if dirty during stopped when resumed" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 14 Jun 2016 11:47:53 +0000 (11:47 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 14 Jun 2016 11:46:42 +0000 (11:46 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Show sign-in to network notification to all users, not just owner." into nyc-dev
Paul Jensen [Tue, 14 Jun 2016 11:05:31 +0000 (11:05 +0000)]
Merge "Show sign-in to network notification to all users, not just owner." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 14 Jun 2016 06:26:51 +0000 (23:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4aafe42447a82d42a1b3c013f046a4a264dafcc4
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 14 Jun 2016 05:58:21 +0000 (22:58 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ied2403cbd3d46b70771f137bd4b5aab6fb7150b5
Auto-generated-cl: translation import

8 years agoMerge "Make CotentResolver#openInputStream handle errors from reliable pipes." into...
Tomasz Mikolajewski [Tue, 14 Jun 2016 04:15:25 +0000 (04:15 +0000)]
Merge "Make CotentResolver#openInputStream handle errors from reliable pipes." into nyc-dev

8 years agoMerge "docs: Expanded description of "Key Attestation" N Preview feature." into nyc-dev
Kevin Hufnagle [Tue, 14 Jun 2016 02:53:29 +0000 (02:53 +0000)]
Merge "docs: Expanded description of "Key Attestation" N Preview feature." into nyc-dev

8 years agoDocs: Changed a command in Keyboard Shortcuts
Hemal Patel [Wed, 8 Jun 2016 01:22:21 +0000 (18:22 -0700)]
Docs: Changed a command in Keyboard Shortcuts

In the Keyboard Shortcuts Helper section, changed the command to read 'Meta + /' and added information related to Meta key.

Bug: 28240770

Change-Id: Id7317999ea9acb4aa904d440af63b7d02c39184f

8 years agoMerge "docs: Add Videos section to N Preview landing page" into nyc-dev
Joe Fernandez [Tue, 14 Jun 2016 01:13:25 +0000 (01:13 +0000)]
Merge "docs: Add Videos section to N Preview landing page" into nyc-dev

8 years agodocs: Add Videos section to N Preview landing page
Joe Fernandez [Mon, 13 Jun 2016 17:11:13 +0000 (10:11 -0700)]
docs: Add Videos section to N Preview landing page

b/29215717

Change-Id: I0bcd995a0a458e7624d1e8a689cb3eb249f9397d

8 years agodocs: Updating N download pages for DP4
Andrew Solovay [Mon, 13 Jun 2016 21:54:01 +0000 (14:54 -0700)]
docs: Updating N download pages for DP4

Verified the checksums against the image files before uploading
them to cloud share. For OTA versions, only the SHA256 checksums were
provided; I verified those checksums against the original image files,
then generated the MD5 and SHA1 checksums myself.

Once all files were staged to cloudshare, I re-downloaded them and
verified them against the checksums I'd added to the preview HTML
page; everything checks out.

See first comment for doc stage location.

bug: 28981896
Change-Id: I10165d402c4f7f07cad267f460b289a7bbf6b858

8 years agoMerge \\"Fix a spelling error in Supporting Languages page.\\" into mnc-io-docs am...
Aurimas Liutikas [Tue, 14 Jun 2016 00:57:28 +0000 (00:57 +0000)]
Merge \\"Fix a spelling error in Supporting Languages page.\\" into mnc-io-docs am: ab239a0c1a
am: 5699312627

Change-Id: I7e7e4777b0475a7c2dd242370a6900cfd4457f90

8 years agoMerge \\"Swap fill_parent with match_parent in best practices doc.\\" into mnc-io...
Aurimas Liutikas [Tue, 14 Jun 2016 00:57:24 +0000 (00:57 +0000)]
Merge \\"Swap fill_parent with match_parent in best practices doc.\\" into mnc-io-docs am: df4528fbe8
am: 1729c75f73

Change-Id: I074f24ee54e2ec7005e31a6528f54068c6e1eb3c

8 years agoMerge \\"Correct parentActivity example in Activity Element docs.\\" into mnc-io...
Aurimas Liutikas [Tue, 14 Jun 2016 00:57:18 +0000 (00:57 +0000)]
Merge \\"Correct parentActivity example in Activity Element docs.\\" into mnc-io-docs am: 893413e50c
am: ce2e9d8716

Change-Id: I90462329a4fbdd264714c653b0df30cbc9f4f866

8 years agoMerge \"Fix a spelling error in Supporting Languages page.\" into mnc-io-docs
Aurimas Liutikas [Tue, 14 Jun 2016 00:48:55 +0000 (00:48 +0000)]
Merge \"Fix a spelling error in Supporting Languages page.\" into mnc-io-docs
am: ab239a0c1a

Change-Id: I2de3485349f22c1eae990808c81320c8a995430d

8 years agoMerge \"Swap fill_parent with match_parent in best practices doc.\" into mnc-io-docs
Aurimas Liutikas [Tue, 14 Jun 2016 00:48:50 +0000 (00:48 +0000)]
Merge \"Swap fill_parent with match_parent in best practices doc.\" into mnc-io-docs
am: df4528fbe8

Change-Id: Ie2039cf96c3591b6fc2c0cb8ec1097707edcc76b

8 years agoMerge \"Correct parentActivity example in Activity Element docs.\" into mnc-io-docs
Aurimas Liutikas [Tue, 14 Jun 2016 00:48:43 +0000 (00:48 +0000)]
Merge \"Correct parentActivity example in Activity Element docs.\" into mnc-io-docs
am: 893413e50c

Change-Id: I845619909443f9d56bfc7d9f5284b15c2587c5d6

8 years agoMerge "Use NoPreloadHolder for certificate sources" into nyc-dev
TreeHugger Robot [Tue, 14 Jun 2016 00:35:48 +0000 (00:35 +0000)]
Merge "Use NoPreloadHolder for certificate sources" into nyc-dev

8 years agoMerge "Fix a spelling error in Supporting Languages page." into mnc-io-docs
Aurimas Liutikas [Tue, 14 Jun 2016 00:33:52 +0000 (00:33 +0000)]
Merge "Fix a spelling error in Supporting Languages page." into mnc-io-docs

8 years agoMerge "Swap fill_parent with match_parent in best practices doc." into mnc-io-docs
Aurimas Liutikas [Tue, 14 Jun 2016 00:33:19 +0000 (00:33 +0000)]
Merge "Swap fill_parent with match_parent in best practices doc." into mnc-io-docs

8 years agoFix broken {@docRoot} links
Aurimas Liutikas [Wed, 8 Jun 2016 18:20:03 +0000 (11:20 -0700)]
Fix broken {@docRoot} links

Some {@docRoot} links were followed by a "/" causing links to break.

Bug:
https://code.google.com/p/android/issues/detail?id=174753

Change-Id: Ic5923ee447c55ac2aa95af365ae63425041e4fcf
(cherry picked from commit e0af48d190114afcd0c7a615187fd524aecda512)

8 years agoMerge "Correct parentActivity example in Activity Element docs." into mnc-io-docs
Aurimas Liutikas [Tue, 14 Jun 2016 00:31:46 +0000 (00:31 +0000)]
Merge "Correct parentActivity example in Activity Element docs." into mnc-io-docs

8 years agodocs: Expanded description of "Key Attestation" N Preview feature.
Kevin Hufnagle [Thu, 9 Jun 2016 23:02:31 +0000 (16:02 -0700)]
docs: Expanded description of "Key Attestation" N Preview feature.

The Key Attestation section within the Android N Preview "API
Overview" page now links to a separate page, which contains a
procedure for completing the attestation process, as well as the
certificate schema and its elements' associated descriptions.

Bug: 28851641
Change-Id: If96af7f5e7e6ba9297f48f20c669591b1a9ee9ce

8 years agoUpdate validation-layer.jd for NDK-R12: use packed layer binaries punt building...
ggfan [Mon, 13 Jun 2016 23:21:33 +0000 (23:21 +0000)]
Update validation-layer.jd for NDK-R12:    use packed layer binaries    punt building layers to Khronos github repo am: c1755d345d
am: 999b7afac8

Change-Id: I7f3c8d7c65373570193fe5fde940698c1eb3f3e9

8 years agoUpdate validation-layer.jd for NDK-R12: use packed layer binaries punt building...
ggfan [Mon, 13 Jun 2016 23:12:49 +0000 (23:12 +0000)]
Update validation-layer.jd for NDK-R12:    use packed layer binaries    punt building layers to Khronos github repo
am: c1755d345d

Change-Id: I881cd1e70e422267dbe345be525330f18bae4126

8 years agoMerge "CtsShim: Support building with tapas" into nyc-dev
Dan Willemsen [Mon, 13 Jun 2016 23:07:05 +0000 (23:07 +0000)]
Merge "CtsShim: Support building with tapas" into nyc-dev

8 years agoMerge "docs: Noted that N Preview doc is available online as of DP4" into nyc-dev
TreeHugger Robot [Mon, 13 Jun 2016 22:56:09 +0000 (22:56 +0000)]
Merge "docs: Noted that N Preview doc is available online as of DP4" into nyc-dev

8 years agoUpdate validation-layer.jd for NDK-R12:
ggfan [Thu, 9 Jun 2016 19:44:01 +0000 (12:44 -0700)]
Update validation-layer.jd for NDK-R12:
   use packed layer binaries
   punt building layers to Khronos github repo

Change-Id: Icf840de42856d2488a87174b2cd6c604ef8d8770
(cherry picked from commit f22d094a30c9446abe074b82bb84f6daf51e0534)

8 years agoUse NoPreloadHolder for certificate sources
Chad Brubaker [Mon, 13 Jun 2016 22:51:40 +0000 (15:51 -0700)]
Use NoPreloadHolder for certificate sources

The static instances of SystemCertificateSource and
UserCertificateSource depend on the current user, avoid triggering their
static initializer when preloaded.

Bug: 29258379
Change-Id: I5088366ae67145b8bc928d6c04118529c82a7fc3

8 years agoFixed a bug with a legacy notification API
Selim Cinek [Mon, 13 Jun 2016 22:47:03 +0000 (15:47 -0700)]
Fixed a bug with a legacy notification API

When using setLatestEventInfo the icons would not be shown
at all anymore, leading to a crash if they were grouped.
This CL makes sure the smallIcon is always set even for those
legacy apps.
It also fixes the usage of setShow when, as legacy apps wouldn't
have the time anymore.

Change-Id: I2645175b2adabcedbbfec7a502b89d143d2b9bd3
Fixes: 29255365
Fixes: 27430676

8 years agoMerge "Correclty capitalize Date in status bar panel" into nyc-dev
Adrian Roos [Mon, 13 Jun 2016 22:39:50 +0000 (22:39 +0000)]
Merge "Correclty capitalize Date in status bar panel" into nyc-dev

8 years agoMake RemoteView margins density-change safe
Adrian Roos [Thu, 9 Jun 2016 00:11:53 +0000 (17:11 -0700)]
Make RemoteView margins density-change safe

Bug: 28935363
Change-Id: I279da8da84f794c512a66cb46c76ae9e746a6387

8 years agoMerge "Prevent crash from null ApplicationInfo after package is removed." into nyc-dev
Chong Zhang [Mon, 13 Jun 2016 22:16:35 +0000 (22:16 +0000)]
Merge "Prevent crash from null ApplicationInfo after package is removed." into nyc-dev

8 years agoPrevent crash from null ApplicationInfo after package is removed.
Chong Zhang [Mon, 13 Jun 2016 21:41:41 +0000 (14:41 -0700)]
Prevent crash from null ApplicationInfo after package is removed.

Bug: 29234926
Change-Id: I8c2fed7c7e862e1f6798d5ed535d1937f9a74c1a

8 years agoMerge "Don't update task to return to type for last task over home" into nyc-dev
Andrii Kulian [Mon, 13 Jun 2016 21:55:46 +0000 (21:55 +0000)]
Merge "Don't update task to return to type for last task over home" into nyc-dev

8 years agoMerge "Add MessagingStyle transitions" into nyc-dev
Adrian Roos [Mon, 13 Jun 2016 21:45:07 +0000 (21:45 +0000)]
Merge "Add MessagingStyle transitions" into nyc-dev

8 years agoDocs: Watch face performance update
Bert McMeen [Tue, 31 May 2016 23:29:28 +0000 (16:29 -0700)]
Docs: Watch face performance update

Bug: 28923320
Change-Id: Ie1e8f0670bda1a4c975de829a6f27d6d95138ac7

8 years agoAdd MessagingStyle transitions
Adrian Roos [Thu, 2 Jun 2016 00:09:45 +0000 (17:09 -0700)]
Add MessagingStyle transitions

Fixes a particularly bad transition in the case where there
is one incoming message to a group.

Change-Id: Ieddece4a496292a69e14cdcd74d94986938d8223
Fixes: 29043489

8 years agoMerge \\"docs: Corrected method name in multi-window docs\\" into mnc-io-docs am...
Andrew Solovay [Mon, 13 Jun 2016 21:24:19 +0000 (21:24 +0000)]
Merge \\"docs: Corrected method name in multi-window docs\\" into mnc-io-docs am: 0e68b6b5fc
am: 2c0261224a

Change-Id: I52a482a04b5a8789d48a5347c9a5fc63010462b6

8 years agoMerge \"docs: Corrected method name in multi-window docs\" into mnc-io-docs
Andrew Solovay [Mon, 13 Jun 2016 21:17:09 +0000 (21:17 +0000)]
Merge \"docs: Corrected method name in multi-window docs\" into mnc-io-docs
am: 0e68b6b5fc

Change-Id: I93b8a2788eadbfeac3b2d293e42d2cef0a42eae4

8 years agoMerge "Push DO/PO package names from DPMS to PM" into nyc-dev
Makoto Onuki [Mon, 13 Jun 2016 21:16:28 +0000 (21:16 +0000)]
Merge "Push DO/PO package names from DPMS to PM" into nyc-dev

8 years agoMerge "Make sure we don't accidentally allow the night mode tile" into nyc-dev
TreeHugger Robot [Mon, 13 Jun 2016 21:13:35 +0000 (21:13 +0000)]
Merge "Make sure we don't accidentally allow the night mode tile" into nyc-dev

8 years agoMerge "docs: Corrected method name in multi-window docs" into mnc-io-docs
TreeHugger Robot [Mon, 13 Jun 2016 21:12:46 +0000 (21:12 +0000)]
Merge "docs: Corrected method name in multi-window docs" into mnc-io-docs

8 years agoMerge "Ensuring we don't try and dismiss task views that are already removed." into...
Winson Chung [Mon, 13 Jun 2016 21:06:37 +0000 (21:06 +0000)]
Merge "Ensuring we don't try and dismiss task views that are already removed." into nyc-dev

8 years agoDocs: Fixed one of the addListener() links am: 33a1ea297d
Bert McMeen [Mon, 13 Jun 2016 20:36:12 +0000 (20:36 +0000)]
Docs: Fixed one of the addListener() links am: 33a1ea297d
am: ba86350c63

Change-Id: I505bc79896257c07dbeee8ed60496350f1d2668a

8 years agoDocs: Fixed one of the addListener() links
Bert McMeen [Mon, 13 Jun 2016 20:31:28 +0000 (20:31 +0000)]
Docs: Fixed one of the addListener() links
am: 33a1ea297d

Change-Id: Ia54cdf5de78ad7357cab5617753f5bf28ea89487

8 years agoAdd a key for setting carrier's CDMA roaming mode
qingxi [Fri, 3 Jun 2016 22:24:33 +0000 (15:24 -0700)]
Add a key for setting carrier's CDMA roaming mode

Change-Id: If092f0b23dc7e320c27e4231605756e990949d15
bug: 28836467

8 years agoMerge "Fix setCurrentPlayTime for started but not yet pulsed animations" into nyc-dev
Doris Liu [Mon, 13 Jun 2016 20:24:44 +0000 (20:24 +0000)]
Merge "Fix setCurrentPlayTime for started but not yet pulsed animations" into nyc-dev

8 years agoMerge "Check for detached view in drag-related APIs" into nyc-dev
TreeHugger Robot [Mon, 13 Jun 2016 20:09:42 +0000 (20:09 +0000)]
Merge "Check for detached view in drag-related APIs" into nyc-dev

8 years agoMerge "Fix permissions update for VrListenerService on user changes." into nyc-dev
Ruben Brunk [Mon, 13 Jun 2016 19:58:30 +0000 (19:58 +0000)]
Merge "Fix permissions update for VrListenerService on user changes." into nyc-dev

8 years agoMake sure we don't accidentally allow the night mode tile
Jason Monk [Mon, 13 Jun 2016 19:39:11 +0000 (15:39 -0400)]
Make sure we don't accidentally allow the night mode tile

Bug: 28887927
Change-Id: I7cf9ae3f0c853d70172b2af3e75cd8d0106afde1

8 years agoEnsuring we don't try and dismiss task views that are already removed.
Winson [Mon, 13 Jun 2016 19:14:45 +0000 (12:14 -0700)]
Ensuring we don't try and dismiss task views that are already removed.

Bug: 29240786
Change-Id: I724e7c366b2fb835fd81fa966689f999953ef4c8

8 years agoDocs: Fixed one of the addListener() links
Bert McMeen [Fri, 10 Jun 2016 22:50:54 +0000 (15:50 -0700)]
Docs: Fixed one of the addListener() links

Bug: 28454953
Change-Id: I00002c8bba42e972331d5d80193094606243e252

8 years agoCheck for detached view in drag-related APIs
Yorke Lee [Mon, 13 Jun 2016 18:31:03 +0000 (11:31 -0700)]
Check for detached view in drag-related APIs

Bug: 29253539
Change-Id: I26285404ee15bb17e87ac23c67f7c3c6aaa2d968

8 years agoMerge "Update validation-layer.jd for NDK-R12: use packed layer binaries punt...
Gerry Fan [Mon, 13 Jun 2016 18:27:08 +0000 (18:27 +0000)]
Merge "Update validation-layer.jd for NDK-R12:    use packed layer binaries    punt building layers to Khronos github repo" into nyc-dev

8 years agoMerge "Fix QS edit view accessibility classes" into nyc-dev
TreeHugger Robot [Mon, 13 Jun 2016 18:24:46 +0000 (18:24 +0000)]
Merge "Fix QS edit view accessibility classes" into nyc-dev

8 years agoUpdate validation-layer.jd for NDK-R12:
ggfan [Thu, 9 Jun 2016 19:44:01 +0000 (12:44 -0700)]
Update validation-layer.jd for NDK-R12:
   use packed layer binaries
   punt building layers to Khronos github repo

Change-Id: Icf840de42856d2488a87174b2cd6c604ef8d8770

8 years agoMerge "Delete simple reduction implementation." into nyc-dev
David Gross [Mon, 13 Jun 2016 17:58:30 +0000 (17:58 +0000)]
Merge "Delete simple reduction implementation." into nyc-dev

8 years agoFix setCurrentPlayTime for started but not yet pulsed animations
Doris Liu [Fri, 10 Jun 2016 21:46:43 +0000 (14:46 -0700)]
Fix setCurrentPlayTime for started but not yet pulsed animations

Also fix the behavior for calling reverse() immediately after
start(). Such case now triggers end() right away, which is
consistent with what the animation would do in M.

Bug: 29271714
Change-Id: I045e36e039179a3c462f22bc6a3a765437de4074

8 years agoPrevent trimming recent tasks belonging in different stacks.
Winson [Wed, 8 Jun 2016 19:49:54 +0000 (12:49 -0700)]
Prevent trimming recent tasks belonging in different stacks.

- When launching an adjacent task, we usually have the same activity
  not necessarily launched with MULTIPLE_TASK, so the old recent task
  is incorrectly found removed.

Bug: 29121819
Change-Id: Id3bbafe0d3c535fd1a05bb373e521345c18f43d5

8 years agoFix QS edit view accessibility classes
Jason Monk [Mon, 13 Jun 2016 16:43:47 +0000 (12:43 -0400)]
Fix QS edit view accessibility classes

Change-Id: I6aecd900ac6123e3499ab65db8896d51b70e2f89
Fixes: 29126464

8 years agoShow sign-in to network notification to all users, not just owner.
Paul Jensen [Mon, 13 Jun 2016 13:39:28 +0000 (09:39 -0400)]
Show sign-in to network notification to all users, not just owner.

All users should be made aware a captive portal is in place and be
given the opportunity to sign into the network.  Without this fix
other users are not notified and given a chance to sign-in.

Change-Id: I1bf823d5f6a36f391dca4be5f6a584e8562a72a7
Fixes: 23079964

8 years agoMerge "Disable quiet mode after UserManager.trySetQuietModeDisabled() is unlocked...
Ricky Wai [Mon, 13 Jun 2016 13:12:47 +0000 (13:12 +0000)]
Merge "Disable quiet mode after UserManager.trySetQuietModeDisabled() is unlocked" into nyc-dev

8 years agoMerge "Use startActivityDismissingKeyguard to show vpn setting page in keyguard"...
Tony Mak [Mon, 13 Jun 2016 12:22:45 +0000 (12:22 +0000)]
Merge "Use startActivityDismissingKeyguard to show vpn setting page in keyguard" into nyc-dev

8 years agoDon't update task to return to type for last task over home
Andrii Kulian [Sat, 11 Jun 2016 00:48:52 +0000 (17:48 -0700)]
Don't update task to return to type for last task over home

Resizing docked stack to fullscreen size results in dismissal
of docked stack and moving of tasks to fullscreen stack.
When tasks, which were originally launched from home or recents,
are inserted on top of fullscreen stack, their mTaskToReturnTo
value was overwritten.
This CL doesn't allow to overwrite this field of task if there
is no next task in stack and it was launched from home or recents.

Bug: 29237751
Change-Id: If56cd3f68b6b400c2d5c945431371acfe6269682

8 years agoMerge "Reinflate primary action mode view after detach" into nyc-dev
TreeHugger Robot [Sat, 11 Jun 2016 01:31:14 +0000 (01:31 +0000)]
Merge "Reinflate primary action mode view after detach" into nyc-dev

8 years agoMerge "Restore setCropInTransaction HiddenForCrop behavior." into nyc-dev
TreeHugger Robot [Sat, 11 Jun 2016 01:21:20 +0000 (01:21 +0000)]
Merge "Restore setCropInTransaction HiddenForCrop behavior." into nyc-dev

8 years agoMerge "Place a black layer behind SurfaceView." into nyc-dev
TreeHugger Robot [Sat, 11 Jun 2016 00:51:47 +0000 (00:51 +0000)]
Merge "Place a black layer behind SurfaceView." into nyc-dev

8 years agoRedraw if dirty during stopped when resumed
John Reck [Fri, 10 Jun 2016 23:01:55 +0000 (16:01 -0700)]
Redraw if dirty during stopped when resumed

Change-Id: I0034d1da7704de53c4ba3da3e8ef3109445f9e6a
Fixes: 28283031

8 years agoMerge "Solve the infinite loop on clearExternalStorageDataSync" into nyc-dev
TreeHugger Robot [Fri, 10 Jun 2016 23:13:51 +0000 (23:13 +0000)]
Merge "Solve the infinite loop on clearExternalStorageDataSync" into nyc-dev

8 years agoReinflate primary action mode view after detach
Andrii Kulian [Wed, 8 Jun 2016 20:14:19 +0000 (13:14 -0700)]
Reinflate primary action mode view after detach

When app is resized in multi-window mode we preserve the window along
with the decor view. If action mode view was shown before such config
change, its view is detached, but the mPrimaryActionModeView variable
is not cleared. So when action mode view is shown again after that it
thinks that its view is still alive.
This CL adds additional check to inflate new mPrimaryActionModeView
if it is not attached to any window.

Bug: 28971666
Change-Id: Ia8c24d4322be32e8b2c8967301beb3a4d889d501

8 years agoPlace a black layer behind SurfaceView.
Robert Carr [Thu, 9 Jun 2016 17:22:38 +0000 (10:22 -0700)]
Place a black layer behind SurfaceView.

For SurfaceView's which do not implement
SurfaceRedrawNeeded we can see holes through to the
background in various scenarios. We prevent this by
placing a DimLayer behind opaque SurfaceViews. SurfaceFlinger
will remove it from the visible layers when the SurfaceView
totally obscures it.

Bug: 28763785
Change-Id: I9b4d1ba8be786f30432a6a3b42e5616662cdc090

8 years agoRestore setCropInTransaction HiddenForCrop behavior.
Robert Carr [Fri, 10 Jun 2016 22:13:32 +0000 (15:13 -0700)]
Restore setCropInTransaction HiddenForCrop behavior.

Prior to c/1106850 setCropInTransaction hid the surface
for crop width and height <= 0. That CL allowed
setting -1 for crop width and height which SF
determines as clearing the crop. Other portions of the code
depend on the old behavior though for negative values, so restore
the behavior of setCropInTransaction and use a new clearCrop
method for the new code.

Bug: 29276588
Change-Id: I728666009c362ff635c7ebfb3ef2e83428fb03fe

8 years agoMerge "BatteryStats: Fix read/write parcel order" into nyc-dev
Adam Lesinski [Fri, 10 Jun 2016 22:29:14 +0000 (22:29 +0000)]
Merge "BatteryStats: Fix read/write parcel order" into nyc-dev

8 years agoBatteryStats: Fix read/write parcel order
Adam Lesinski [Fri, 10 Jun 2016 22:15:08 +0000 (15:15 -0700)]
BatteryStats: Fix read/write parcel order

Also moves discharge coulomb data to BATTERY_DISCHARGE_DATA checkin line.

Bug:29264326
Bug:28743761
Change-Id: I78881e166c11f40b2397e04d2cab8d5200c71eea

8 years agoMerge "Fixed check for visible volume." into nyc-dev
TreeHugger Robot [Fri, 10 Jun 2016 21:48:10 +0000 (21:48 +0000)]
Merge "Fixed check for visible volume." into nyc-dev

8 years agoMerge "Reduce shell power over user management." into nyc-dev
TreeHugger Robot [Fri, 10 Jun 2016 21:33:27 +0000 (21:33 +0000)]
Merge "Reduce shell power over user management." into nyc-dev

8 years agoSolve the infinite loop on clearExternalStorageDataSync
Tetsutoki Shiozawa [Wed, 8 Jun 2016 04:45:47 +0000 (13:45 +0900)]
Solve the infinite loop on clearExternalStorageDataSync

5000 msec timeout is set for waiting DefaultContainerService, but
it's not working. It's not possible to exit a wait loop even if it
takes over 5000 msec.

Bug: 29232999

Change-Id: I74a45637e0a3fa5a7b151e6b3dc0b3aaece96d53

8 years agoMerge "Provide default fallback in theme" into nyc-dev
TreeHugger Robot [Fri, 10 Jun 2016 21:20:48 +0000 (21:20 +0000)]
Merge "Provide default fallback in theme" into nyc-dev

8 years agoFix permissions update for VrListenerService on user changes.
Svetoslav Ganov [Wed, 1 Jun 2016 23:25:31 +0000 (16:25 -0700)]
Fix permissions update for VrListenerService on user changes.

- Fixes a bug where we would not update the
overlay restrictions if the VR listener we are bound to
changes bug the VR enabled state doesn't.
- Also fixed a case where the notification listener access
and location permission were not granted/revoked for the
correct user. For example, if a vr activity in one user calls
a VR activity in another (possible for cross profiles) we end
up not revoking the special access for the vr service in the
first user. The notification listener setting was also updated
for the system user instead of the user for which we grant/revoke
specal access.
- Properly remove the overlay restrictions for the old user
if we transition from a vr actiivty in one user to a vr activity
in a profile of this user.

Bug: 29273985
Change-Id: Ib1de6f2f5445001ac61edca5c77ea3a066544307

8 years agoMerge "Recents TV: Add a check for touch enabled mode for starting dismiss animation...
Sid Soundararajan [Fri, 10 Jun 2016 20:37:59 +0000 (20:37 +0000)]
Merge "Recents TV: Add a check for touch enabled mode for starting dismiss animation" into nyc-dev

8 years agoMerge "Fixed check for volume name." into nyc-dev
TreeHugger Robot [Fri, 10 Jun 2016 20:17:32 +0000 (20:17 +0000)]
Merge "Fixed check for volume name." into nyc-dev