243262 Commits

Author SHA1 Message Date
sreevanis
6fb95bcaf1 Added Support and Release Notes Nav link and IMF Nav link.
Bug:28768632
Change-Id: I553001c8876ae498472dd64e0948876ba5ca7d2c
2016-05-13 16:41:51 -07:00
Jae Seo
7ac2689239 Fix regression from "PIP: Fix NPE when onboarding is shown"
Removed the second "continue" to allow isFirstValidTask to be set to
false.
This is a follow-up fix from commit 91c5066c0036b5322f53c35fcc48bbad75ef4305.

Bug: 28754669
Change-Id: Ic852afaa78fc79bcd85b04e888975cd3bfc72094
2016-05-13 16:33:43 -07:00
Dianne Hackborn
7dedfd0c04 Merge "Fix issue #28728838 java.lang.ClassCastException: android.os.BinderProxy..." into nyc-dev 2016-05-13 23:22:12 +00:00
Chong Zhang
9386a40edf Merge "Set final crop on wallpaper instead of intersect clip with stack bounds" into nyc-dev 2016-05-13 23:21:04 +00:00
Jorim Jaggi
7f303bced8 Merge "Also freeze configuration when freezing bounds" into nyc-dev 2016-05-13 23:16:13 +00:00
Sreevani Sreejith
c1fdf55118 Merge "Wear 2.0 preview input method documentaation." into mnc-io-docs am: 9c105c50a9
am: a9486c041f

* commit 'a9486c041f177f11d5f61dc7fb92a10447c836a3':
  Wear 2.0 preview  input method documentaation.

Change-Id: Ideb177a06ba57134e535dcd67a8c01ca9bb8216d
2016-05-13 23:14:59 +00:00
sreevanis
a9486c041f Merge "Wear 2.0 preview input method documentaation." into mnc-io-docs
am: 9c105c50a9

* commit '9c105c50a9a7c3a020103287a4d207291b8ab711':
  Wear 2.0 preview  input method documentaation.

Change-Id: I2913fb11624046751bc9097cf9c216d02edae971
2016-05-13 23:12:28 +00:00
Chris Craik
0c5bd7dffe Merge "Fix Skia filter behavior test" into nyc-dev 2016-05-13 23:12:18 +00:00
Sreevani Sreejith
9c105c50a9 Merge "Wear 2.0 preview input method documentaation." into mnc-io-docs 2016-05-13 23:04:51 +00:00
Jorim Jaggi
26c8c42bbb Also freeze configuration when freezing bounds
We also need to freeze the override configuration so we don't report
the new configuration too early, which leads to bugs.

Bug: 27915587
Change-Id: Idffadbb02ab0311796caa760ae1f467fd2d17768
2016-05-13 16:00:50 -07:00
sreevanis
011bd6962c Wear 2.0 preview input method documentaation.
Bug:28472831
Change-Id: Ic2143ec8087d084609e3c6e8c125c37e1a5849da
2016-05-13 15:55:24 -07:00
Chong Zhang
dcf0183cea Set final crop on wallpaper instead of intersect clip with stack bounds
Wallpaper's clip rect is offset by its window offsets, it can't be
intersect directly with stack bounds.

bug: 28763785
Change-Id: Id87d668c9e59832498c9c62730617d0a5a9207c2
2016-05-13 15:42:58 -07:00
Ruchi Kandoi
fa97fcf7b9 network: Adds the functionality to parse uid in netlink messages.
Netlink notifications about the state of the modem contains uid too.
This patch adds the functionality to add that. It also fixes the bug to
parse the timestamp in the message even in cases where the length is
greater than expected.

Bug: 28527904
Change-Id: I4643bff3eb5b1ffa2dc0b78f1c6947d60487e0d8
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-05-13 15:36:23 -07:00
Svetoslav Ganov
b35301e421 Merge "Make settings cahches generation mechanism robust." into nyc-dev 2016-05-13 22:22:32 +00:00
Svetoslav Ganov
04df738bcb Make settings cahches generation mechanism robust.
Settings is using a MemoryIntArray to communicate the settings table
version enabling apps to have up-to-date local caches. However, ashmem
allows an arbitrary process with a handle to the fd (even in read only
mode) to unpin the memory which can then be garbage collected. Here we
make this mechanism fault tolerant against bad apps unpinning the ashmem
region. First, we no longer unpin the ashmem on the client side and if
the ashmem region is purged and cannot be pinned we recreate it and
hook up again with the local app caches. The change also adds a test
that clients can only read while owner can read/write.

bug:28764789

Change-Id: I1ef79b4b21e976124b268c9126a55d614157059b
2016-05-13 15:14:14 -07:00
Andrew Solovay
f975b74c0c docs: Updates to multi-window and related docs. am: 4d93a21980 am: 8263d6c0a3 am: c88130c572
am: d29c26073e

* commit 'd29c26073e97e4c6e7825641cf6e76720df395e3':
  docs: Updates to multi-window and related docs.

Change-Id: Ic4be60debb41d074d717bfb0989125299428831a
2016-05-13 22:08:17 +00:00
Andrew Solovay
d29c26073e docs: Updates to multi-window and related docs. am: 4d93a21980 am: 8263d6c0a3
am: c88130c572

* commit 'c88130c5724227b3ba7ef0b5ef4476fedabca650':
  docs: Updates to multi-window and related docs.

Change-Id: I308c988e3a93737a478f9f2445b512e86f218643
2016-05-13 22:03:15 +00:00
Andrew Solovay
c88130c572 docs: Updates to multi-window and related docs. am: 4d93a21980
am: 8263d6c0a3

* commit '8263d6c0a35a5467764ed12d6586ab176fdc15ff':
  docs: Updates to multi-window and related docs.

Change-Id: Ia571cf3a38f1cd621bba6bc35d9b2b836361d7b5
2016-05-13 22:00:39 +00:00
Andrew Solovay
8263d6c0a3 docs: Updates to multi-window and related docs.
am: 4d93a21980

* commit '4d93a21980f7e82bd346ad9c3a18c0c932d09253':
  docs: Updates to multi-window and related docs.

Change-Id: Ie12e3c25417943582aa1db1bf476e53a41838745
2016-05-13 21:57:51 +00:00
TreeHugger Robot
a6c0cc0992 Merge "Add Fragment#onAttachFragment for parent fragments" into nyc-dev 2016-05-13 21:53:42 +00:00
Andrew Solovay
29c8607739 docs: Quick Tile update to DP3 release notes
Continuing work from CL http://ag/1010439 , addressing comments on
that CL that were left after it was submitted.

See first comment for doc stage location.

bug: 28588696
Change-Id: I9d92008ed30582657d97f162958b8efd5c317999
2016-05-13 14:51:20 -07:00
Dianne Hackborn
4502ce2d49 Fix issue #28728838 java.lang.ClassCastException: android.os.BinderProxy...
...cannot be cast to LocalBinder after a crash

Turns out, if you called removeProcessLocked() with an old ProcessRecord,
we could get in to a bad state -- if we had a new process with that same
name already running, we would kind-of blow it away as a process name,
but not as much else.  So the next time we wanted to run a new thing
in the process, we would start a new second process and the two could
get mixed together.

Change-Id: I05e0463bd55f57f5e07f0b804ed9fd8c4f98a5a5
2016-05-13 14:50:23 -07:00
Bert McMeen
1778b7cf07 Merge "docs: Bridger feature page for Wear preview" into mnc-io-docs am: 1334929863
am: 2288757582

* commit '2288757582bd8b572f009aee68a0fe1599507060':
  docs: Bridger feature page for Wear preview

Change-Id: Ica0f66a85c0b5c9d3db6eee71338b7a7956cb827
2016-05-13 21:43:01 +00:00
Bert McMeen
2288757582 Merge "docs: Bridger feature page for Wear preview" into mnc-io-docs
am: 1334929863

* commit '133492986389a63e34cb9066e515864eadeeb485':
  docs: Bridger feature page for Wear preview

Change-Id: If629e5ff1d0a90661fc69287f9e669625f8ce5a2
2016-05-13 21:40:22 +00:00
Bert McMeen
689826fba9 Merge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into mnc-io-docs am: e8d7012fba
am: 97158b85ec

* commit '97158b85ec07c22b0aca39ffaf0c8172751c0a65':
  docs: Wear preview docs: Get Started, Download/Test, Program Overview

Change-Id: I549ab462afb03184118a00aa3bcfdb45284b4288
2016-05-13 21:35:03 +00:00
Bert McMeen
ccbf8c5dde docs: Complications guide for Wear Preview am: c0780f1d52
am: 194fbc0da4

* commit '194fbc0da4272b1c957c1e69d363f2c566a30716':
  docs: Complications guide for Wear Preview

Change-Id: Ie3850f9647ec2fa2d0e43560e27ac1947a486375
2016-05-13 21:34:58 +00:00
Bert McMeen
97158b85ec Merge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into mnc-io-docs
am: e8d7012fba

* commit 'e8d7012fbafb64e71fe2d94b4ef1cb466f63bfc9':
  docs: Wear preview docs: Get Started, Download/Test, Program Overview

Change-Id: Icc722c4d00fc6862e28fc246cd376e90901c0092
2016-05-13 21:32:10 +00:00
Bert McMeen
194fbc0da4 docs: Complications guide for Wear Preview
am: c0780f1d52

* commit 'c0780f1d52c8e4d78e750fb0f16eec8280ddf5f4':
  docs: Complications guide for Wear Preview

Change-Id: I71999d68698c336c354cc11d042775685b77da8d
2016-05-13 21:32:07 +00:00
Bert McMeen
1334929863 Merge "docs: Bridger feature page for Wear preview" into mnc-io-docs 2016-05-13 21:30:19 +00:00
Bert McMeen
e8d7012fba Merge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into mnc-io-docs 2016-05-13 21:29:27 +00:00
Jorim Jaggi
6cb8a2cfd2 Merge "Fix transition for forced resizable exit" into nyc-dev 2016-05-13 21:22:02 +00:00
Sid Soundararajan
e1293b7d07 Merge "Remove task based on object rather than position" into nyc-dev 2016-05-13 21:19:24 +00:00
Jorim Jaggi
e6d157b936 Fix transition for forced resizable exit
Since the transition is picked from layout params from the activity
below, we need to manually override it.

Bug: 28750938
Change-Id: I7351c7d8bd14a393cba51d6afb1e644204217440
2016-05-13 21:18:52 +00:00
Jorim Jaggi
0f6a6c4bc1 Don't allow any app to specify rotation unless in home task
The previous logic was racy/buggy in a sense so that the non-home app
could still force the orientation when the divider was still minimized.
The logic is cleaned up so only the home task can force the orientation
in multi-window.

Change-Id: I9eccf86d9fa442375d6eca400cb6ac0815c9fa10
Fixes: 28675152
2016-05-13 21:17:53 +00:00
Chong Zhang
918084e9ae Merge "Update stack bounds for fullscreen if rotated after updateDisplayInfo" into nyc-dev 2016-05-13 20:48:32 +00:00
TreeHugger Robot
e208bd4cbe Merge "Fixed some issues with fullscreen dimming" into nyc-dev 2016-05-13 20:42:21 +00:00
Adam Powell
e30299f990 Add Fragment#onAttachFragment for parent fragments
Framework edition

Add a matching onAttachFragment method to Fragment to match the
fragment host version.

Bug 28760393

Change-Id: I5f50b3446449cae7110da6b4e468ee80f413e1e5
2016-05-13 13:38:45 -07:00
Andrew Solovay
4d93a21980 docs: Updates to multi-window and related docs.
Clarified behavior when activity is resized or put in fullscreen
mode, per b/28580007 . Also (per email from o-o) removed misleading
statement about when onStop() might or might not be called.

Both changes can go live now (multiwindow update applies to DP1 & 2,
and onStop() clarification applies to all versions of API), so I'll
submit as soon as this is approved.

See first comment for doc stage location.

bug: 28580007
Change-Id: Ib008f24e5796ec7810b67c91e512e679680d4afd
2016-05-13 13:33:55 -07:00
Bert McMeen
c0780f1d52 docs: Complications guide for Wear Preview
Bug: 28425614
Change-Id: Ic1d5ce1a962b39a395c447c1f4d3bfadd6114246
2016-05-13 12:30:17 -07:00
Alan Viverette
fdb54bda75 Give the AM/PM buttons slightly more content area
Bug: 28506707
Change-Id: I7dbe472dfa6a5122ca4b80c55a6a3bcf729988f4
2016-05-13 14:42:41 -04:00
Wei Wang
02bc008607 Properly handle registration timeout in BLE.
Bug:25384098
Change-Id: I7877f6368c4982fcd91e68810c4da0ab7b5fc6b7
2016-05-13 18:32:15 +00:00
Abodunrinwa Toki
cb66406d33 Ensure that ViewGroup.getChildVisibleRect(...) is recursive.
This change fixes the issue where
getChildVisibleRect(View, Rect, Point, boolean) call isn't recursive.
The method was introduced in I49550ed4082bcbdcfe4643b962b50f3308092525

Bug: 28514727
Change-Id: Ib6b0fb67ca6c700b44f645319c23b1213a2742d4
2016-05-13 19:26:03 +01:00
Dirk Dougherty
b72bf5cfdd Merge "Correct the DP2 status beta -> alpha." into mnc-mr-docs am: 3a263cec30 am: 6d3ca9aaa9
am: 0e4b51ebc6

* commit '0e4b51ebc6b86a535a9f7757e8b64f70a10aaa30':
  Correct the DP2 status beta -> alpha.

Change-Id: I9fded988b946d669f9560716563771f8e6b82351
2016-05-13 18:16:15 +00:00
Joe Fernandez
cfe2e7e1a9 Merge "docs: change preview landing page top ribbon color" into mnc-io-docs am: a138ad92b2
am: 3357a67905

* commit '3357a67905453d64846079e560bbe893c4c733b6':
  docs: change preview landing page top ribbon color

Change-Id: I7eede6be5a8960e7f2360656c66b136f519fb1bb
2016-05-13 18:13:46 +00:00
Dirk Dougherty
0e4b51ebc6 Merge "Correct the DP2 status beta -> alpha." into mnc-mr-docs am: 3a263cec30
am: 6d3ca9aaa9

* commit '6d3ca9aaa91328d3664a217fee8a49c9ee46858e':
  Correct the DP2 status beta -> alpha.

Change-Id: Iecc460e2b5399bff284f8d2479d475325fc8a1df
2016-05-13 18:13:40 +00:00
Joe Fernandez
3357a67905 Merge "docs: change preview landing page top ribbon color" into mnc-io-docs
am: a138ad92b2

* commit 'a138ad92b299bf32a59ee5f4ba5a9e34e6998cb4':
  docs: change preview landing page top ribbon color

Change-Id: Ib7d5c3fc9a133ceb0a97f801218481a94fb15a47
2016-05-13 18:11:15 +00:00
Dirk Dougherty
6d3ca9aaa9 Merge "Correct the DP2 status beta -> alpha." into mnc-mr-docs
am: 3a263cec30

* commit '3a263cec302b3d1883e3cc48b068c05240506d31':
  Correct the DP2 status beta -> alpha.

Change-Id: I925a0c044e1b7b6186f348c4c8e216b8f53a13f4
2016-05-13 18:11:11 +00:00
Chong Zhang
ccc335cfc7 Update stack bounds for fullscreen if rotated after updateDisplayInfo
Rotation could change again after updateDisplayInfo is called. We
need to set stack bounds even for fullscreen stacks in this case.
Otherwise the bounds will be incorrect until it's rotated again.

bug: 28611814
Change-Id: I31289524a9ceacaaaa66924e9bf6cbe88fd83f99
2016-05-13 11:07:22 -07:00
Joe Fernandez
a138ad92b2 Merge "docs: change preview landing page top ribbon color" into mnc-io-docs 2016-05-13 18:06:42 +00:00
Dirk Dougherty
3a263cec30 Merge "Correct the DP2 status beta -> alpha." into mnc-mr-docs 2016-05-13 18:03:24 +00:00