243702 Commits

Author SHA1 Message Date
Robert Carr
c7294607fc 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
2016-05-18 13:24:41 -07:00
Robert Carr
bc13376449 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
2016-05-18 13:24:10 -07:00
TreeHugger Robot
ab0744344d Merge "Fix a deadlock in system server" into nyc-dev 2016-05-18 20:12:27 +00:00
Svetoslav Ganov
68c2919f70 Merge "Hide ephemeral API" into nyc-dev 2016-05-18 20:10:28 +00:00
Bert McMeen
9f7bb48b58 docs: Update to md5 and sha-1 values for Javadoc download
Bug: 28839338
Change-Id: Iabcefc4595aff3ace354ace4cc98a07c9d855695
2016-05-18 12:58:21 -07:00
Joe Fernandez
625f97ba3b 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
2016-05-18 19:50:39 +00:00
Eric Schmidt
adcb712154 docs: Fix to nav, added _book.yaml am: 584c09929e
am: 6856d6f0b7

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

Change-Id: Ib3843b9ab63076cac75aea6517027de634a361a8
2016-05-18 19:50:34 +00:00
Philip P. Moltmann
b852d0138a Merge "Declare no print services if 0 print services are enabled." into nyc-dev 2016-05-18 19:45:05 +00:00
sreevanis
890101ccb3 Merge "Updated link to material design page." into mnc-io-docs
am: 26aea1383a

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

Change-Id: Ia3e66198caff48e12fa03f471ecf80cb9bb4901e
2016-05-18 19:43:01 +00:00
Eric Schmidt
6856d6f0b7 docs: Fix to nav, added _book.yaml
am: 584c09929e

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

Change-Id: I917c4324aa10a6e471990db9c364a6f3f42d9d66
2016-05-18 19:42:58 +00:00
Joe Fernandez
26aea1383a Merge "Updated link to material design page." into mnc-io-docs 2016-05-18 19:38:18 +00:00
Eric Schmidt
584c09929e docs: Fix to nav, added _book.yaml
Bug: 28317418
Change-Id: I7f05376348ffec14d0173d4d0477f8571527297d
2016-05-18 12:30:34 -07:00
Jorim Jaggi
96b2fe6a4e Merge "Fix a few issues with ime adjust/minimized dock stack" into nyc-dev 2016-05-18 19:30:16 +00:00
sreevanis
dae29469d1 Updated link to material design page.
Bug:28839753
Change-Id: Ib35d2cd097057db2b83e57d9cae35427f831f727
2016-05-18 12:30:14 -07:00
Eric Schmidt
ea65985513 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
2016-05-18 19:28:52 +00:00
Jorim Jaggi
3070e77f91 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
2016-05-18 19:27:24 +00:00
Christopher Tate
3bed1c0ef8 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
2016-05-18 19:24:32 +00:00
Eric Schmidt
ef033cd807 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
2016-05-18 19:23:31 +00:00
Eric Schmidt
5ca058d38e Merge "docs: Updates to GIFs on WH home page" into mnc-io-docs 2016-05-18 19:18:51 +00:00
Bert McMeen
19397a4492 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
2016-05-18 19:07:28 +00:00
Bert McMeen
df502ca47d 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
2016-05-18 19:01:16 +00:00
Ruben Brunk
403970c3ce Merge "Update VrListener location permission." into nyc-dev 2016-05-18 18:57:09 +00:00
Bert McMeen
6c5d5320e4 Merge "docs: Voice transcription - addition of known issue" into mnc-io-docs 2016-05-18 18:57:03 +00:00
Baligh Uddin
aebe22dbc3 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-18 18:56:45 +00:00
Jeff Sharkey
6bd012a799 Merge "Check processName when starting providers." into nyc-dev 2016-05-18 18:52:03 +00:00
Amith Yamasani
3603bc6e3f Fix a deadlock in system server
Don't call into DPMS with PackageManager lock held. Doh!

Bug: 28828415
Change-Id: I08437d849236374acc0d804fe31aba703af385ba
2016-05-18 11:51:09 -07:00
Eric Schmidt
90e0b3da6f docs: Updates to GIFs on WH home page
Bug: 28317418
Change-Id: I848dd7fa8c9c17681c514dc4ef10ccb9133e4200
2016-05-18 11:45:30 -07:00
Bert McMeen
6ce1f8942e docs: Voice transcription - addition of known issue
Bug: 28836448
Change-Id: Ie5df3860d85ab357ec133142c5a4a58eba02d9fa
2016-05-18 11:43:36 -07:00
Michael Wright
1a9158e271 docs: Fix attr link in support lib docs. am: eea825d67e am: 252b996fee
am: 97fd87bd5f

* commit '97fd87bd5fbe4ccc1cca4f3eda2df7006fefecf3':
  docs: Fix attr link in support lib docs.

Change-Id: I5b502a43efade5c85c8cd625e3d26f6200140362
2016-05-18 18:34:10 +00:00
Michael Wright
97fd87bd5f docs: Fix attr link in support lib docs. am: eea825d67e
am: 252b996fee

* commit '252b996feea8b9d5c9c0101ca35753099feba15a':
  docs: Fix attr link in support lib docs.

Change-Id: I0164d7eed51b156767ddabc63804044db9e54be4
2016-05-18 18:29:03 +00:00
Michael Wright
252b996fee docs: Fix attr link in support lib docs.
am: eea825d67e

* commit 'eea825d67e271ac4adc48fd696d8cf7f4cbe0dc5':
  docs: Fix attr link in support lib docs.

Change-Id: I5901dcbd2ed759ea559dc071309329eb008950dc
2016-05-18 18:21:55 +00:00
Michael Wright
eea825d67e docs: Fix attr link in support lib docs.
This issue was breaking the build in nyc-docs; Michael made the fix
there, so I'm cherrypicking it back to our doc branches.

Change-Id: Ie15bd056ebf939270dfcd45dda56946ed41b56f0
(cherry picked from commit ae316f842431254ce364cda4f1edde6fe607ab43)
2016-05-18 18:08:30 +00:00
Andrew Solovay
eddf9bfc36 docs: Quick release-notes fix am: 29329dd3f1
am: 1f279c1ab0

* commit '1f279c1ab030fb78ba193d9b91999bc8d98ae300':
  docs: Quick release-notes fix

Change-Id: Ic785186da0288b565c5ee4fca4b748290aa640e7
2016-05-18 18:08:18 +00:00
Andrew Solovay
1f279c1ab0 docs: Quick release-notes fix
am: 29329dd3f1

* commit '29329dd3f154bf33f1a2c85b0f49ad232d6f1dcc':
  docs: Quick release-notes fix

Change-Id: If1c368952b60be8df8457c38e4d4e7a4ac22e525
2016-05-18 18:04:08 +00:00
Baligh Uddin
576a32da20 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-18 17:57:26 +00:00
Baligh Uddin
cb6e5df633 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-18 17:57:19 +00:00
Baligh Uddin
e6ee2d7e11 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-18 17:54:34 +00:00
Bert McMeen
51136f409f docs: Downloads change for \'I\' build am: 90433cf4d8
am: 996c9839d6

* commit '996c9839d657ddb98c5c69f902cd33d45bea7663':
  docs: Downloads change for 'I' build

Change-Id: I027756f3e51efdd81e01f2a2fbe268044ca3c9b5
2016-05-18 17:37:17 +00:00
Bert McMeen
996c9839d6 docs: Downloads change for \'I\' build
am: 90433cf4d8

* commit '90433cf4d8de469568202a7ca15a14d76db73f2a':
  docs: Downloads change for 'I' build

Change-Id: I9230b82f48d391245882150af67c949e6ae102dc
2016-05-18 17:32:01 +00:00
Andrew Solovay
29329dd3f1 docs: Quick release-notes fix
DD asked to pull this sentence out. See first comment for doc stage
location, but if it builds and stages without trouble I'll go ahead
and submit.

Change-Id: Ie9844cf60bfd723dea8dbfd42eb04465dde84ae3
2016-05-18 10:29:52 -07:00
TreeHugger Robot
0d902adbbc Merge "Update RestrictedLockUtils to use UM.getUserRestrictionSource." into nyc-dev 2016-05-18 17:09:46 +00:00
Tony Mak
ae13e18c55 Should check isDeviceSecure in shouldConfirmCredentials
The NPE is because createConfirmDeviceCredentialIntent returns a null
intent when it founds that user does not set a secure lock.
So the fix is we should check is the user set a secure lock screen as well.

The reason the crash only happens in multi-window flow because
we have null checking in
the normal flow (i.e. interceptWithConfirmCredentialsIfNeeded).
But I think we better check it explicitly.

Bug: 28716456
Change-Id: Ib204cd02c0007bd1df36908bb3b5254ec4ffb914
2016-05-18 16:58:13 +00:00
Mady Mellor
048cabdbcb Merge "Ensure background is shown behind gear when notifications overlap" into nyc-dev 2016-05-18 16:43:12 +00:00
Bert McMeen
90433cf4d8 docs: Downloads change for 'I' build
Bug: 28833659
Change-Id: Ifd5865d78960a58a6e8238225bc206978e84eb8f
2016-05-18 09:34:09 -07:00
TreeHugger Robot
e821f3d032 Merge "Use batching to set firewall rules." into nyc-dev 2016-05-18 16:26:45 +00:00
Jaewan Kim
4e08800a7e Merge "PIP: Fix NPE when enters Recents with PIP" into nyc-dev 2016-05-18 15:46:46 +00:00
Philip P. Moltmann
e951a13916 Declare no print services if 0 print services are enabled.
Fixes: 28833953
Change-Id: I94e77dc23107fab10d45f51169d71e4da574ee66
2016-05-18 08:27:02 -07:00
Robert Sesek
f45bc095c6 Merge "Add clarifying documentation to Context.BIND_EXTERNAL_SERVICE." into nyc-dev 2016-05-18 15:25:41 +00:00
Philip P. Moltmann
746de4e9c8 Merge "Handle printers selected by SelectPrinter activity" into nyc-dev 2016-05-18 15:24:21 +00:00
Cheryl Potter
3e9304127e docs: Add redirect for Android Device Monitor and change redirects for Virtual Device Config and Run/Debug Config b/28826469 b/28705592 am: d1da82f616 am: 06c815fc74
am: d45800d2e3

* commit 'd45800d2e31550520dd6f3210b309ae3abaa4471':
  docs: Add redirect for Android Device Monitor and change redirects for Virtual Device Config and Run/Debug Config b/28826469 b/28705592

Change-Id: Id7298a4811e157030f51646618b600a13a65ad77
2016-05-18 15:22:34 +00:00