OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Properly close fd backing a MemoryIntArray" into nyc-dev am: 84763eb770
Svetoslav Ganov [Wed, 31 Aug 2016 17:35:24 +0000 (17:35 +0000)]
Merge "Properly close fd backing a MemoryIntArray" into nyc-dev am: 84763eb770
am: eb59bf4e5d

Change-Id: If69979ac18d2e4ad7be7934bb06376fca86895c7

7 years agoProperly close fd backing a MemoryIntArray am: e257d6e167
Svetoslav Ganov [Wed, 31 Aug 2016 17:35:22 +0000 (17:35 +0000)]
Properly close fd backing a MemoryIntArray am: e257d6e167
am: 916f703b90

Change-Id: I2159849e86b073eaa5f787ff6d8f10dbf6790568

7 years agoMerge "Properly close fd backing a MemoryIntArray" into nyc-dev
Svetoslav Ganov [Wed, 31 Aug 2016 17:29:16 +0000 (17:29 +0000)]
Merge "Properly close fd backing a MemoryIntArray" into nyc-dev
am: 84763eb770

Change-Id: I8731aba97e11c4f0143aafd77764dcbaeeb1b1d2

7 years agoProperly close fd backing a MemoryIntArray
Svetoslav Ganov [Wed, 31 Aug 2016 17:29:13 +0000 (17:29 +0000)]
Properly close fd backing a MemoryIntArray
am: e257d6e167

Change-Id: I8b8dd8470eba5ad71b7356f1ad44ef49a2c61bff

7 years agoMerge "Properly close fd backing a MemoryIntArray" into nyc-dev
Svetoslav Ganov [Wed, 31 Aug 2016 17:25:28 +0000 (17:25 +0000)]
Merge "Properly close fd backing a MemoryIntArray" into nyc-dev

7 years agoMerge "Call Debug.getPss without a lock held" into nyc-mr1-dev
Amith Yamasani [Wed, 31 Aug 2016 17:09:15 +0000 (17:09 +0000)]
Merge "Call Debug.getPss without a lock held" into nyc-mr1-dev

7 years agoProperly close fd backing a MemoryIntArray
Svetoslav Ganov [Mon, 29 Aug 2016 18:14:05 +0000 (11:14 -0700)]
Properly close fd backing a MemoryIntArray

Use ParcelFileDescriptor only as an IPC transport
to make sure MemoryIntArray manges its backing fd.

Bug:30310689

Change-Id: Ib3cc13ef4ae2a744e5f7a96099570e0431847bce
(cherry picked from commit fe2462f3a60b34ee6b7d8764d92ae58fc0cd7dfd)

7 years agoMerge "Add a whitelist of sockets on fork." into nyc-mr1-dev
Narayan Kamath [Wed, 31 Aug 2016 08:16:29 +0000 (08:16 +0000)]
Merge "Add a whitelist of sockets on fork." into nyc-mr1-dev

7 years agoMerge "replace the N Preview landing page with the redirect to the package index...
Scott Main [Wed, 31 Aug 2016 03:48:32 +0000 (03:48 +0000)]
Merge "replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0)" into nyc-dev am: a06f40bd05
am: 1c30ff407e

Change-Id: I9645152198f31e22d560ec0dbd4c4b2fff67c4e1

7 years agoreplace the N Preview landing page with the redirect to the package index also update...
smain@google.com [Wed, 31 Aug 2016 03:48:28 +0000 (03:48 +0000)]
replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0) am: dde8deb950
am: c9ec419c9c

Change-Id: If44d4e5bfb6141b0ea7e4a6c8b1a4cad5aa95547

7 years agoMerge "replace the N Preview landing page with the redirect to the package index...
Scott Main [Wed, 31 Aug 2016 03:40:39 +0000 (03:40 +0000)]
Merge "replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0)" into nyc-dev
am: a06f40bd05

Change-Id: I7397fe1ec81cc6ed594df221b88ee77cbdd4f2e4

7 years agoreplace the N Preview landing page with the redirect to the package index also update...
smain@google.com [Wed, 31 Aug 2016 03:40:37 +0000 (03:40 +0000)]
replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0)
am: dde8deb950

Change-Id: Ide293756b6b7a75a434ff9ed3cf15cd40fbd3452

7 years agoMerge "replace the N Preview landing page with the redirect to the package index...
Scott Main [Wed, 31 Aug 2016 03:06:08 +0000 (03:06 +0000)]
Merge "replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0)" into nyc-dev

7 years agoMerge "Adds a section for unaccounted data." into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 03:04:44 +0000 (03:04 +0000)]
Merge "Adds a section for unaccounted data." into nyc-mr1-dev

7 years agoMerge "Fix QS CTS failure caused by tile backup" into nyc-dr1-dev
Mike Tsao [Wed, 31 Aug 2016 01:36:57 +0000 (01:36 +0000)]
Merge "Fix QS CTS failure caused by tile backup" into nyc-dr1-dev
am: 59b5c1030c

Change-Id: I515842522195d9b57a89532615157343d462cf78

7 years agoFix QS CTS failure caused by tile backup
Jason Monk [Wed, 31 Aug 2016 01:36:54 +0000 (01:36 +0000)]
Fix QS CTS failure caused by tile backup
am: 34f6cbc288

Change-Id: Ic82ccc386b8ab81797e748893b831601c34c12ce

7 years agoMerge "Fix QS CTS failure caused by tile backup" into nyc-dr1-dev
Mike Tsao [Wed, 31 Aug 2016 01:30:01 +0000 (01:30 +0000)]
Merge "Fix QS CTS failure caused by tile backup" into nyc-dr1-dev

7 years agoMerge "Properly close fd backing a MemoryIntArray" into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 00:49:40 +0000 (00:49 +0000)]
Merge "Properly close fd backing a MemoryIntArray" into nyc-mr1-dev

7 years agoMerge "TextureView: clean up displaylists" into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 00:26:43 +0000 (00:26 +0000)]
Merge "TextureView: clean up displaylists" into nyc-mr1-dev

7 years agoMerge "Fix bug that apps are not unminimizing if recent tasks are empty" into nyc...
TreeHugger Robot [Wed, 31 Aug 2016 00:08:43 +0000 (00:08 +0000)]
Merge "Fix bug that apps are not unminimizing if recent tasks are empty" into nyc-mr1-dev

7 years agoRevert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failur...
Adam Seaton [Tue, 30 Aug 2016 23:40:29 +0000 (23:40 +0000)]
Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit 8abcfed8a42a1ca517ee3c8d0448fda669ff9ded. am: b57e6560d0 am: e245037327
am: 1ceb0fcf3a

Change-Id: I2d5d6f564142878b13eed937289d0890a66ec065

7 years agoCall Debug.getPss without a lock held
Amith Yamasani [Tue, 30 Aug 2016 23:39:03 +0000 (16:39 -0700)]
Call Debug.getPss without a lock held

Attempt to reduce the chances of watchdog killing the system
server if process pss gathering takes too long during heavy load.

Bug: 30896716
Change-Id: I4ed1a15c0c512a8c82842cde74e733d99d887ee0

7 years agoRevert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failur...
Adam Seaton [Tue, 30 Aug 2016 23:28:44 +0000 (23:28 +0000)]
Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit 8abcfed8a42a1ca517ee3c8d0448fda669ff9ded. am: b57e6560d0
am: e245037327

Change-Id: I477f3e1c5e685df2ef2a335790ab49aac6c13eef

7 years agoRevert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failur...
Adam Seaton [Tue, 30 Aug 2016 23:15:49 +0000 (23:15 +0000)]
Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit 8abcfed8a42a1ca517ee3c8d0448fda669ff9ded.
am: b57e6560d0

Change-Id: Idaafcb7c835aa7b7b83bb7382900ef3d18fa551f

7 years agoMerge "Backup system QS tiles DO NOT MERGE" into nyc-dev am: a845535045
Jason Monk [Tue, 30 Aug 2016 23:10:01 +0000 (23:10 +0000)]
Merge "Backup system QS tiles DO NOT MERGE" into nyc-dev am: a845535045
am: 697551f1cc

Change-Id: I1bb49c48f446658df13ee80d5a3a8890aabc78f6

7 years agoBackup system QS tiles DO NOT MERGE am: 37bd2be160 -s ours
Jason Monk [Tue, 30 Aug 2016 23:09:58 +0000 (23:09 +0000)]
Backup system QS tiles DO NOT MERGE am: 37bd2be160  -s ours
am: f6a168f728

Change-Id: I71f6dd48711ac364df92600bca6fc827318a5ce0

7 years agoMerge "Backup system QS tiles DO NOT MERGE" into nyc-dev
Jason Monk [Tue, 30 Aug 2016 23:03:16 +0000 (23:03 +0000)]
Merge "Backup system QS tiles DO NOT MERGE" into nyc-dev
am: a845535045

Change-Id: I138faa4899fac332af6f2297c898beb187fa7483

7 years agoBackup system QS tiles DO NOT MERGE
Jason Monk [Tue, 30 Aug 2016 23:03:11 +0000 (23:03 +0000)]
Backup system QS tiles DO NOT MERGE
am: 37bd2be160  -s ours

Change-Id: Iec5455c466d2c92103666f24d1eee750061bebca

7 years agoMerge "Revert "Fix flicker while booting"" into nyc-mr1-dev
Jorim Jaggi [Tue, 30 Aug 2016 22:59:14 +0000 (22:59 +0000)]
Merge "Revert "Fix flicker while booting"" into nyc-mr1-dev

7 years agoMerge "add dri device to zygote whitelisted FDs" into nyc-mr1-dev
Adrian Salido [Tue, 30 Aug 2016 22:50:03 +0000 (22:50 +0000)]
Merge "add dri device to zygote whitelisted FDs" into nyc-mr1-dev

7 years agoMerge "Update CP2 javadoc" into nyc-mr1-dev
Makoto Onuki [Tue, 30 Aug 2016 22:31:20 +0000 (22:31 +0000)]
Merge "Update CP2 javadoc" into nyc-mr1-dev

7 years agoMerge "Backup system QS tiles DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 30 Aug 2016 22:30:15 +0000 (22:30 +0000)]
Merge "Backup system QS tiles DO NOT MERGE" into nyc-dev

7 years agoRevert "Bump up the uncrypt timeout to 30 min."
Adam Seaton [Tue, 30 Aug 2016 22:14:47 +0000 (22:14 +0000)]
Revert "Bump up the uncrypt timeout to 30 min."
Creates Null Build to test OTA failure fix.
This reverts commit 8abcfed8a42a1ca517ee3c8d0448fda669ff9ded.

Change-Id: I64474dad467ce8d8e379e0e2c47814d76ac0ee0d

7 years agoAdds a section for unaccounted data.
Felipe Leme [Tue, 30 Aug 2016 17:52:37 +0000 (10:52 -0700)]
Adds a section for unaccounted data.

Often sub-directories of /data are populated with data framework has no
control of (for example, by the device's specific dumpstate_board()
function), and that data is now available through
MeasurementDetails.getUnaccountedSize().

BUG: 30952263

Change-Id: I8d3fda6668f2a57ee025fb135b33a244167d1e4b

7 years agoRevert "Fix flicker while booting"
Jorim Jaggi [Tue, 30 Aug 2016 21:26:37 +0000 (14:26 -0700)]
Revert "Fix flicker while booting"

This reverts commit 77cbe79b74a65d34c1a0b85f9d46c690b9441b88.

KeyguardScrim is not hiding for some reason. Need more time to investigate.

Change-Id: I7624138dded386a7310386bc78b3b496af55b2b9
Fixes: 31174702
Bug: 29643498

7 years agoTextureView: clean up displaylists
sergeyv [Tue, 30 Aug 2016 21:03:32 +0000 (14:03 -0700)]
TextureView: clean up displaylists

bug:31066756
Change-Id: Ibc61825ad1ed12479e9de18cc06be7401d3fc93a

7 years agoreplace the N Preview landing page with the redirect to the package index
smain@google.com [Tue, 30 Aug 2016 01:36:50 +0000 (18:36 -0700)]
replace the N Preview landing page with the redirect to the package index
also update version metadata (no longer preview, now 7.0)

Change-Id: I84af003daa9bae3bc932c8b87921ed82f813e1cf

7 years agoadd dri device to zygote whitelisted FDs
Adrian Salido [Tue, 30 Aug 2016 19:51:55 +0000 (12:51 -0700)]
add dri device to zygote whitelisted FDs

The driver can be used just like /dev/ion for graphic buffers.

Bug: 31172436
Change-Id: I4f76e398b58a684f614f72ce7ef6bdd049ea7655

7 years agoFix QS CTS failure caused by tile backup
Jason Monk [Tue, 30 Aug 2016 20:33:48 +0000 (16:33 -0400)]
Fix QS CTS failure caused by tile backup

The CTS tests weren't receiving the onTileAdded callbacks since the
shade was not in the listening state when tiles were added. This is
not possible for users (since tiles are added while the UI is
listening), but add a flushMessagesAndUnbind call to make sure the
tiles always receive onTileAdded.

Since now flushMessagesAndUnbind can be called before a real call
to setBindService(true), add a clause that will clear out its
immediate unbind state.

Change-Id: Idd13c432a4af5741813da9a9b1b292a47fd9443b
Fixes: 31147742

7 years agoMerge changes Iccb6d089,I9c50a59f into nyc-dr1-dev
Pankaj Kanwar [Tue, 30 Aug 2016 20:17:39 +0000 (20:17 +0000)]
Merge changes Iccb6d089,I9c50a59f into nyc-dr1-dev
am: aa8263d85d

Change-Id: I366a23a1040fc88ecbb4cd7206cb95e992bb1fc7

7 years agoNetwork switch notifications: rate & daily limits
Lorenzo Colitti [Tue, 30 Aug 2016 20:17:33 +0000 (20:17 +0000)]
Network switch notifications: rate & daily limits
am: 84e6f1232c

Change-Id: Ibf6fa695c5f8ef11c99fe075b59a36f52c5c177b

7 years agoNetwork Switching Notifications: add unit tests
Hugo Benichi [Tue, 30 Aug 2016 20:16:57 +0000 (20:16 +0000)]
Network Switching Notifications: add unit tests
am: a43a095106

Change-Id: I940870a6df6a8f57966a52535ed22ec8123fb27d

7 years agoMerge changes Iccb6d089,I9c50a59f into nyc-dr1-dev
Pankaj Kanwar [Tue, 30 Aug 2016 20:11:06 +0000 (20:11 +0000)]
Merge changes Iccb6d089,I9c50a59f into nyc-dr1-dev

* changes:
  Network switch notifications: rate & daily limits
  Network Switching Notifications: add unit tests

7 years agoMerge "Backport shortcut manager test utilities to DR" into nyc-dr1-dev
Makoto Onuki [Tue, 30 Aug 2016 20:01:35 +0000 (20:01 +0000)]
Merge "Backport shortcut manager test utilities to DR" into nyc-dr1-dev
am: 9480c98ddf

Change-Id: If0820595b9695f1771c5c6b9ad52689d428447f5

7 years agoBackport shortcut manager test utilities to DR
Makoto Onuki [Tue, 30 Aug 2016 20:01:32 +0000 (20:01 +0000)]
Backport shortcut manager test utilities to DR
am: 0a15cd4ba0

Change-Id: I6e9f7a0399b3fe5a9e340770ec9a28df001f084f

7 years agoMerge "Shortcut: Improve backup & restore" into nyc-mr1-dev
Makoto Onuki [Tue, 30 Aug 2016 19:57:34 +0000 (19:57 +0000)]
Merge "Shortcut: Improve backup & restore" into nyc-mr1-dev

7 years agoMerge "Backport shortcut manager test utilities to DR" into nyc-dr1-dev
Makoto Onuki [Tue, 30 Aug 2016 19:54:55 +0000 (19:54 +0000)]
Merge "Backport shortcut manager test utilities to DR" into nyc-dr1-dev

7 years agoBackup system QS tiles DO NOT MERGE
Jason Monk [Thu, 25 Aug 2016 19:57:14 +0000 (15:57 -0400)]
Backup system QS tiles DO NOT MERGE

Add QS tiles to the backup list.  Non-system tiles will get removed
since they won't be installed when restore happens.

Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug: 28782938

7 years agoMerge "docs: Fix broken camera example" into nyc-dev am: 36f4638fe7
Mark Goldstein [Tue, 30 Aug 2016 18:45:23 +0000 (18:45 +0000)]
Merge "docs: Fix broken camera example" into nyc-dev am: 36f4638fe7
am: 92028aeb79

Change-Id: I5753e2e34f7f1250e4b115f3e9d15b0e19c1f1e6

7 years agodocs: Fix broken camera example am: 3f97bc25d4
Mark Goldstein [Tue, 30 Aug 2016 18:45:20 +0000 (18:45 +0000)]
docs: Fix broken camera example am: 3f97bc25d4
am: 3dbf596090

Change-Id: Ice0817f1e83268a3d2877de380e1185b9255654c

7 years agoMerge "docs: Fix broken camera example" into nyc-dev
Mark Goldstein [Tue, 30 Aug 2016 18:39:27 +0000 (18:39 +0000)]
Merge "docs: Fix broken camera example" into nyc-dev
am: 36f4638fe7

Change-Id: Id8a885af6c0f9887e6aaa82f662c264c86ba9791

7 years agodocs: Fix broken camera example
Mark Goldstein [Tue, 30 Aug 2016 18:39:24 +0000 (18:39 +0000)]
docs: Fix broken camera example
am: 3f97bc25d4

Change-Id: I80f79eab0f11185f671bad1b57766f6fcf874464

7 years agoMerge "docs: Fix broken camera example" into nyc-dev
Mark Goldstein [Tue, 30 Aug 2016 18:34:21 +0000 (18:34 +0000)]
Merge "docs: Fix broken camera example" into nyc-dev

7 years agoAdd a whitelist of sockets on fork.
Narayan Kamath [Tue, 30 Aug 2016 14:36:19 +0000 (15:36 +0100)]
Add a whitelist of sockets on fork.

Maintain a whitelist of AF_UNIX sockets that are permitted
to exist at the time of forking. If an open socket does not belong
to the whitelist (or is not AF_UNIX), the process will abort. If an
open socket is whitelisted, it will be redirected to /dev/null after
a sucessful fork. This allows us to unify our handling of the special
zygote sockets (/dev/socket/zygote[_secondary]) with the existing
whitelist of non socket file descriptors.

This change also removes non-fatal ALOGW messages since they have the
side effect of reopening the logging socket.

bug: 30963384
Change-Id: Ie04dac62d0e0f29354df9ac15af217ad652ffbbe

7 years agoMerge "add a notice that Work profiles are not compatible with Instant Run Also inclu...
Scott Main [Tue, 30 Aug 2016 18:19:21 +0000 (18:19 +0000)]
Merge "add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug: 31098748" into nyc-dev am: 4d1f3047e3
am: 254890a98c

Change-Id: Idd33d16101bcfea96a4be0ee1ac131aef2df9065

7 years agoadd a notice that Work profiles are not compatible with Instant Run Also includes...
smain@google.com [Tue, 30 Aug 2016 18:19:19 +0000 (18:19 +0000)]
add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug: 31098748 am: 99e44c903c
am: 939c23d05a

Change-Id: I084cb46d63ebdab7ee2286024bfc3b1962b3bad5

7 years agoMerge "add a notice that Work profiles are not compatible with Instant Run Also inclu...
Scott Main [Tue, 30 Aug 2016 18:14:17 +0000 (18:14 +0000)]
Merge "add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug: 31098748" into nyc-dev
am: 4d1f3047e3

Change-Id: Ia0ba032f2035d2fcd326c658e348cf2d0fbdeed9

7 years agoadd a notice that Work profiles are not compatible with Instant Run Also includes...
smain@google.com [Tue, 30 Aug 2016 18:14:12 +0000 (18:14 +0000)]
add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug: 31098748
am: 99e44c903c

Change-Id: I6f407f90b8e53849a6d1c0ed70adb1ca8c90234f

7 years agoMerge "add a notice that Work profiles are not compatible with Instant Run Also inclu...
Scott Main [Tue, 30 Aug 2016 18:09:03 +0000 (18:09 +0000)]
Merge "add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug: 31098748" into nyc-dev

7 years agoMerge "Allow apps with CREATE_USERS permission to create demo users." into nyc-mr1-dev
Sudheer Shanka [Tue, 30 Aug 2016 17:46:12 +0000 (17:46 +0000)]
Merge "Allow apps with CREATE_USERS permission to create demo users." into nyc-mr1-dev

7 years agoMerge "Merge "Enforce consistent sizes for arrays in SpannableStringInternal" into...
Android Build Merger (Role) [Tue, 30 Aug 2016 17:44:48 +0000 (17:44 +0000)]
Merge "Merge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev am: 5d628b1e45 am: 3a25ff9402" into nyc-mr1-dev

7 years agoMerge "Enforce consistent sizes for arrays in SpannableStringInternal am: 9cde7244b6...
Android Build Merger (Role) [Tue, 30 Aug 2016 17:44:35 +0000 (17:44 +0000)]
Merge "Enforce consistent sizes for arrays in SpannableStringInternal am: 9cde7244b6 am: 75152d61b0" into nyc-mr1-dev

7 years agoMerge "android.view.Surface: Add parceling warning" into nyc-mr1-dev
Eino-Ville Talvala [Tue, 30 Aug 2016 17:44:08 +0000 (17:44 +0000)]
Merge "android.view.Surface: Add parceling warning" into nyc-mr1-dev

7 years agoMerge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev...
Raph Levien [Tue, 30 Aug 2016 17:44:09 +0000 (17:44 +0000)]
Merge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev am: 5d628b1e45
am: 3a25ff9402

Change-Id: I8d4783f155334b5c681765b12b0f59c3e30a8bd5

7 years agoEnforce consistent sizes for arrays in SpannableStringInternal am: 9cde7244b6
Raph Levien [Tue, 30 Aug 2016 17:44:04 +0000 (17:44 +0000)]
Enforce consistent sizes for arrays in SpannableStringInternal am: 9cde7244b6
am: 75152d61b0

Change-Id: I7b82b8367671de55fb0e1000869704dbbec843e4

7 years agoMerge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev
Raph Levien [Tue, 30 Aug 2016 17:33:35 +0000 (17:33 +0000)]
Merge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev
am: 5d628b1e45

Change-Id: I4a2b24becdda847b7cf301d7224c218a1fab7dc7

7 years agoEnforce consistent sizes for arrays in SpannableStringInternal
Raph Levien [Tue, 30 Aug 2016 17:33:33 +0000 (17:33 +0000)]
Enforce consistent sizes for arrays in SpannableStringInternal
am: 9cde7244b6

Change-Id: I461863c5a4dad8f050b14f55d14020ab1a0874f7

7 years agoMerge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev
Raph Levien [Tue, 30 Aug 2016 17:25:55 +0000 (17:25 +0000)]
Merge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev

7 years agoNetwork switch notifications: rate & daily limits
Lorenzo Colitti [Mon, 29 Aug 2016 05:03:11 +0000 (14:03 +0900)]
Network switch notifications: rate & daily limits

This patch adds a daily limit to the maximum number of notifications
shown when switching networks.

It also adds a rate limit to prevent rapid successive notifications in
flapping scenarios.

Bug: 31132499
Change-Id: Iccb6d0899646ea6df3cfad32a421922263e0eb85

7 years agoNetwork Switching Notifications: add unit tests
Hugo Benichi [Tue, 30 Aug 2016 01:01:15 +0000 (10:01 +0900)]
Network Switching Notifications: add unit tests

BUG: 31132499
Change-Id: I9c50a59fe48efdcb51d2517f0a756691700c3ebe

7 years agoMerge "Don't notify on network switch if source network is validated." into nyc-dr1-dev
Lorenzo Colitti [Tue, 30 Aug 2016 10:51:21 +0000 (10:51 +0000)]
Merge "Don't notify on network switch if source network is validated." into nyc-dr1-dev
am: f45f9d31d3

Change-Id: Ic6ab6d1048a89c12b44c6c33e77c8ead7f641575

7 years agoDon't notify on network switch if source network is validated.
Lorenzo Colitti [Tue, 30 Aug 2016 10:51:19 +0000 (10:51 +0000)]
Don't notify on network switch if source network is validated.
am: c2e10bb074

Change-Id: I85fdb0faf48a54ab63b5b23f1e992bc5e9116194

7 years agoMerge "Don't notify on network switch if source network is validated." into nyc-dr1-dev
TreeHugger Robot [Tue, 30 Aug 2016 10:46:30 +0000 (10:46 +0000)]
Merge "Don't notify on network switch if source network is validated." into nyc-dr1-dev

7 years agoMerge "Remove INetd AIDL reference" into nyc-mr1-dev
TreeHugger Robot [Tue, 30 Aug 2016 07:09:28 +0000 (07:09 +0000)]
Merge "Remove INetd AIDL reference" into nyc-mr1-dev

7 years agoMerge "Sanity check ICMP6 router advertisement packets" into nyc-dev am: b9d4f91630
Paul Jensen [Tue, 30 Aug 2016 05:47:36 +0000 (05:47 +0000)]
Merge "Sanity check ICMP6 router advertisement packets" into nyc-dev am: b9d4f91630
am: 79ecffe719

Change-Id: I0a347072ac9dc32013b41209ba6966d6ff4d26a2

7 years agoSanity check ICMP6 router advertisement packets am: a36213867a -s ours
Paul Jensen [Tue, 30 Aug 2016 05:47:33 +0000 (05:47 +0000)]
Sanity check ICMP6 router advertisement packets am: a36213867a  -s ours
am: e39980689e

Change-Id: I2a18188cb1b8a1c3fe26c41eea72f4c3cc03a369

7 years agoMerge "Sanity check ICMP6 router advertisement packets" into nyc-dev
Paul Jensen [Tue, 30 Aug 2016 05:44:34 +0000 (05:44 +0000)]
Merge "Sanity check ICMP6 router advertisement packets" into nyc-dev
am: b9d4f91630

Change-Id: Ibea7e0328b1f7c74bf2edcc054cad2a54def905b

7 years agoSanity check ICMP6 router advertisement packets
Paul Jensen [Tue, 30 Aug 2016 05:42:04 +0000 (05:42 +0000)]
Sanity check ICMP6 router advertisement packets
am: a36213867a  -s ours

Change-Id: I8371809758391158effb378fae4b6fc9aaca553c

7 years agoMerge "Sanity check ICMP6 router advertisement packets" into nyc-dev
TreeHugger Robot [Tue, 30 Aug 2016 05:20:10 +0000 (05:20 +0000)]
Merge "Sanity check ICMP6 router advertisement packets" into nyc-dev

7 years agoMerge "BootReceiver: Report correct headers for last messages" into nyc-mr1-dev
Pat Tjin [Tue, 30 Aug 2016 05:18:33 +0000 (05:18 +0000)]
Merge "BootReceiver: Report correct headers for last messages" into nyc-mr1-dev

7 years agoRemove INetd AIDL reference
Erik Kline [Tue, 30 Aug 2016 02:40:20 +0000 (11:40 +0900)]
Remove INetd AIDL reference

Change-Id: I29dfee480a4706213b36766724b6211dbc74dbac

7 years agoProperly close fd backing a MemoryIntArray
Svetoslav Ganov [Mon, 29 Aug 2016 18:14:05 +0000 (11:14 -0700)]
Properly close fd backing a MemoryIntArray

Use ParcelFileDescriptor only as an IPC transport
to make sure MemoryIntArray manges its backing fd.

Bug:30310689

Change-Id: Ib3cc13ef4ae2a744e5f7a96099570e0431847bce

7 years agoMerge "update shared libraries for system apps" into nyc-dev am: 689c92db9d
Todd Kennedy [Tue, 30 Aug 2016 01:57:48 +0000 (01:57 +0000)]
Merge "update shared libraries for system apps" into nyc-dev am: 689c92db9d
am: 69b47a2010

Change-Id: I73da3e3a7ffe88f69e9af28d65e5d695ffc1a1bb

7 years agoupdate shared libraries for system apps am: 85a91def5c
Todd Kennedy [Tue, 30 Aug 2016 01:57:46 +0000 (01:57 +0000)]
update shared libraries for system apps am: 85a91def5c
am: 7c23d3f837

Change-Id: Idcd5040fbabafb79a7f847514d7d808a336109a9

7 years agoSanity check ICMP6 router advertisement packets
Paul Jensen [Wed, 20 Jul 2016 19:01:17 +0000 (15:01 -0400)]
Sanity check ICMP6 router advertisement packets

There is a chance a packet can slip by before we install the filter
on our socket listening for RAs, so add some basic sanity checking
to make sure we've recieved an RA.

Change-Id: I14cf84a0814896a41e00f50af376dfc4988d36cb
Fixes: 29586253

7 years agoMerge "update shared libraries for system apps" into nyc-dev
Todd Kennedy [Tue, 30 Aug 2016 01:48:47 +0000 (01:48 +0000)]
Merge "update shared libraries for system apps" into nyc-dev
am: 689c92db9d

Change-Id: Iea85964ca4ee5557599858572864b51ea7dd53f3

7 years agoupdate shared libraries for system apps
Todd Kennedy [Tue, 30 Aug 2016 01:48:45 +0000 (01:48 +0000)]
update shared libraries for system apps
am: 85a91def5c

Change-Id: Iea6f0e3809bc5e4c77a1d5d83be67d6c285bea65

7 years agoMerge "update shared libraries for system apps" into nyc-dev
TreeHugger Robot [Tue, 30 Aug 2016 01:44:29 +0000 (01:44 +0000)]
Merge "update shared libraries for system apps" into nyc-dev

7 years agoandroid.view.Surface: Add parceling warning
Eino-Ville Talvala [Tue, 30 Aug 2016 00:51:23 +0000 (17:51 -0700)]
android.view.Surface: Add parceling warning

Surface is parcelled partly in java, partly in native, and any fields
added in java have to be accounted for in the native side as well.

Add a warning to avoid issues in the future

Bug: 31162160
Change-Id: I48ca1bc3eea29f1ac3d3065f6defb6ed2be4052a

7 years agoMerge "Add animation when unoccluding windows (1/2)" into nyc-mr1-dev
TreeHugger Robot [Tue, 30 Aug 2016 00:20:36 +0000 (00:20 +0000)]
Merge "Add animation when unoccluding windows (1/2)" into nyc-mr1-dev

7 years agoMerge "Cherry pick TextureView fixes" into nyc-dev am: 8eaa65b867
John Reck [Mon, 29 Aug 2016 23:53:24 +0000 (23:53 +0000)]
Merge "Cherry pick TextureView fixes" into nyc-dev am: 8eaa65b867
am: 25c6b37613

Change-Id: I36308a0b1beb391a31fdad836ec6194cb048de4e

7 years agoCherry pick TextureView fixes am: 2e8a8a2432
Chris Craik [Mon, 29 Aug 2016 23:53:22 +0000 (23:53 +0000)]
Cherry pick TextureView fixes am: 2e8a8a2432
am: 05cb60846c

Change-Id: I63d23f6b28b40154952cee408e42115657e6a3e3

7 years agoMerge "Cherry pick TextureView fixes" into nyc-dev
John Reck [Mon, 29 Aug 2016 23:41:44 +0000 (23:41 +0000)]
Merge "Cherry pick TextureView fixes" into nyc-dev
am: 8eaa65b867

Change-Id: Iaf8ab16f6a1421ff6a19bf81a54b82111f6747f4

7 years agoCherry pick TextureView fixes
Chris Craik [Mon, 29 Aug 2016 23:41:42 +0000 (23:41 +0000)]
Cherry pick TextureView fixes
am: 2e8a8a2432

Change-Id: I1ae3cdc7181e9bef40e38204ede002de973dee98

7 years agoMerge "Allow getResponseCode to block if response hasn't been received from remote...
Pankaj Kanwar [Mon, 29 Aug 2016 23:35:10 +0000 (23:35 +0000)]
Merge "Allow getResponseCode to block if response hasn't been received from remote" into nyc-mr1-dev

7 years agoMerge "Cherry pick TextureView fixes" into nyc-dev
John Reck [Mon, 29 Aug 2016 23:33:55 +0000 (23:33 +0000)]
Merge "Cherry pick TextureView fixes" into nyc-dev

7 years agoMerge "Hold no locks when calling RemotePrintSpooler" into nyc-mr1-dev
TreeHugger Robot [Mon, 29 Aug 2016 23:14:24 +0000 (23:14 +0000)]
Merge "Hold no locks when calling RemotePrintSpooler" into nyc-mr1-dev

7 years agoMerge "Make sure IME focus is synced to View focus" into nyc-dev am: b7efddfc41
Yohei Yukawa [Mon, 29 Aug 2016 23:00:05 +0000 (23:00 +0000)]
Merge "Make sure IME focus is synced to View focus" into nyc-dev am: b7efddfc41
am: 15946bd93c

Change-Id: I79f4308a0f41ce510b63b439772b882110440d0f

7 years agoMake sure IME focus is synced to View focus am: 8eb07090a4 -s ours
Yohei Yukawa [Mon, 29 Aug 2016 23:00:02 +0000 (23:00 +0000)]
Make sure IME focus is synced to View focus am: 8eb07090a4  -s ours
am: ef53c0f5ec

Change-Id: I32ffddff7dd3b82c735911c1f4de6830c783e830

7 years agodocs: Fix broken camera example
Mark Goldstein [Fri, 26 Aug 2016 18:29:25 +0000 (11:29 -0700)]
docs: Fix broken camera example

Removed bad out of date instructions and link to better
training pages instead.

Bug: 15562334
Change-Id: I77fe558e665de509eb11a2c668ba7bdcdbab3c6f