267280 Commits

Author SHA1 Message Date
Adrian Roos
160410a016 Fix bug where RemoteInputView didn't reopen the IME am: 0356865dad
am: 2bf73bbb43

Change-Id: I5e5561ee9831946325df02f806d9c32cbb30555b
2016-08-15 23:57:45 +00:00
Adrian Roos
88dead0f19 Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev
am: 094b8b3321

Change-Id: I308a6550ce47b0083b28a2a2cf89d82b692b2939
2016-08-15 23:49:01 +00:00
Adrian Roos
2bf73bbb43 Fix bug where RemoteInputView didn't reopen the IME
am: 0356865dad

Change-Id: I983cd6d0abc35af375d95722606969f13aebb9f5
2016-08-15 23:48:58 +00:00
TreeHugger Robot
094b8b3321 Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev 2016-08-15 23:45:05 +00:00
Adam Lesinski
0ffd41b926 Merge "AAPT: Fix use-after-free error" into nyc-mr1-dev am: 1031069f1d
am: ae5a79ad12

Change-Id: I8749fcefe6c98cf6609abac49b368fd2c5201eac
2016-08-15 23:22:13 +00:00
Adam Lesinski
9e8da4a476 AAPT: Fix use-after-free error am: 193ed74c2d
am: 646f2d9c33

Change-Id: If9fe7a52e62ae6b2900aa187996b4b785894ab03
2016-08-15 23:22:04 +00:00
Adam Lesinski
ae5a79ad12 Merge "AAPT: Fix use-after-free error" into nyc-mr1-dev
am: 1031069f1d

Change-Id: Ic2fce0e9b9769630f9a59065f317ea34201be079
2016-08-15 23:11:49 +00:00
Adam Lesinski
646f2d9c33 AAPT: Fix use-after-free error
am: 193ed74c2d

Change-Id: I04cd726dae52c5010ad99409f0f77a10267bdeed
2016-08-15 23:11:37 +00:00
TreeHugger Robot
1031069f1d Merge "AAPT: Fix use-after-free error" into nyc-mr1-dev 2016-08-15 22:56:01 +00:00
Tyler Gunn
f0cbd6244c Merge "Add missing remote conference property set." into nyc-mr1-dev am: aa9b18f90a
am: 273f01785d

Change-Id: I53490a7d67d8dc909049338ec7470acdc8cf801f
2016-08-15 22:50:34 +00:00
Tyler Gunn
cf81b5a886 Add missing remote conference property set. am: 04ce757860
am: 69c13eca0e

Change-Id: Ia6db6017bde649b451c82ec3280deeba4e3989b7
2016-08-15 22:50:30 +00:00
Suprabh Shukla
cafdc2e50d Changing user inactivity and warning dialog timeouts
Increasing the inactivity timeout to 90 seconds to accomodate the longest
app. demo video for retail. Also, removing the warning dialog by setting
the countdown timeout to 0, so it can be re-enabled by overriding the value
through gservices if needed.

Bug: 30426773
Bug: 30866394
Change-Id: I6735943adfaf3d210ed9eb9163b5c7ce8dcf53ec
2016-08-15 15:48:48 -07:00
Tyler Gunn
273f01785d Merge "Add missing remote conference property set." into nyc-mr1-dev
am: aa9b18f90a

Change-Id: I1176b63a1d84829b79b9e540747a27b777e88c47
2016-08-15 22:42:38 +00:00
Tyler Gunn
69c13eca0e Add missing remote conference property set.
am: 04ce757860

Change-Id: Iba041654d136b3cd00cfc19899cefa68ebf01b76
2016-08-15 22:42:36 +00:00
Tyler Gunn
aa9b18f90a Merge "Add missing remote conference property set." into nyc-mr1-dev 2016-08-15 22:32:03 +00:00
Fyodor Kupolov
4f4780f023 Count failed install as finished
Otherwise DEMO_USER_SETUP_COMPLETE will not be set.

Bug: 30445353
Change-Id: Id2a0c1b1643dd9846328a20f4c67e11e69b3bc84
2016-08-15 15:29:47 -07:00
Robert Carr
aab09158e9 Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
In what can only be called an unfortunate workaround we require
seamlessly rotated child windows to have the
TRANSFORM_TO_DISPLAY_INVERSE
flag. Due to limitations in the client API, there is no way for the
client to set this flag in a race free fashion. If we seamlessly rotate
a window which does not have this flag, but then it gains it,
we will have an incorrect visual result (rotated buffer contents). This
means if we want to support seamlessly rotating windows which could gain
this flag, we can't seamlessly rotate windows which don't have it. This
unfortunately limits seamless rotation in N to Camera framework users,
native code, and applications without child windows. This is unfortunate
but having the camera work was always our primary use case, and it's not
as if we are offering an API for it, it's a behind the scenes
enhancement of ROTATION_ANIMATION_JUMPCUT.

Bug: 30171992
Change-Id: I082e323ee569cfc1ff2559657cc22194c251c7ec
2016-08-15 15:20:17 -07:00
Selim Cinek
d59911c6a2 Fixed an issue where the background could show in a wrong way am: d381bc3133
am: 3ff0c5b3ce

Change-Id: I1f02f607593fbf9adcaae6cf92bb5ec559bcaa21
2016-08-15 22:10:54 +00:00
Adrian Roos
0356865dad Fix bug where RemoteInputView didn't reopen the IME
Editable TextViews are implicitly selectable. Setting the selectable
property to true however causes a bug where the onTouch logic thinks
the view is not editable and thus doesn't show the IME when clicking
that view.

Change-Id: I9dd6139195bd98b26293e330290650d4e5549a6d
Fixes: 30595718
2016-08-15 15:02:57 -07:00
Selim Cinek
3ff0c5b3ce Fixed an issue where the background could show in a wrong way
am: d381bc3133

Change-Id: I219e4809a6a9f839353e049d4d563ece37866ca2
2016-08-15 22:02:18 +00:00
Chih-Hung Hsieh
ad3dea12ee Fix google-explicit-constructor warnings in common_time.
* Add explicit keyword to conversion constructors.
Bug: 28341362
Test: build with WITH_TIDY=1

Change-Id: Ieab4756042e77cfadda35e34f78f515058ae0bb3
2016-08-15 14:51:48 -07:00
Chih-Hung Hsieh
21c0f29597 Fix google-explicit-constructor warnings.
* Add explicit keyword to conversion constructors.
Bug: 28341362
Test: build with WITH_TIDY=1

Change-Id: I7422d703de17c4266d2a022990d0e1df40f48226
2016-08-15 14:45:02 -07:00
Selim Cinek
d381bc3133 Fixed an issue where the background could show in a wrong way
Change-Id: Icefeb2275d6cbabc576c35990ce4441b3a41ebd9
Fixes: 30855224
2016-08-15 21:42:09 +00:00
Dianne Hackborn
80faec0d43 Merge "Docs only: N is no longer a shrug." into nyc-mr1-dev am: 6af2db3824
am: 1377b38053

Change-Id: If3400e262cdfa9bdbf19af1dcad61bce967ba06b
2016-08-15 21:35:57 +00:00
Dianne Hackborn
dbe43ee9ba Docs only: N is no longer a shrug. am: c1b607df71
am: 6fe27966e2

Change-Id: I0d441487fae3e95741f83ab92042bca7547006ae
2016-08-15 21:35:48 +00:00
Dianne Hackborn
1377b38053 Merge "Docs only: N is no longer a shrug." into nyc-mr1-dev
am: 6af2db3824

Change-Id: Idae2d16055e26e721584e428c44af0f2b1828557
2016-08-15 21:25:44 +00:00
Dianne Hackborn
6fe27966e2 Docs only: N is no longer a shrug.
am: c1b607df71

Change-Id: Iaf3a4c23ec9c94dccfa6db15e6caf90a74a5f3c0
2016-08-15 21:25:41 +00:00
Adam Lesinski
193ed74c2d AAPT: Fix use-after-free error
Re-order deletion of ResXMLTree and the Asset object
it iterates over.

Bug:30844391
Change-Id: Ied033d0a8f93343006228a2054c6d0f42bb4717a
2016-08-15 14:22:36 -07:00
Dianne Hackborn
6af2db3824 Merge "Docs only: N is no longer a shrug." into nyc-mr1-dev 2016-08-15 21:16:43 +00:00
Chong Zhang
28117e06aa Wallpaper target selection during animation am: b0d267043a
am: f74e7ee4a3

Change-Id: Iacf65c88743cdbd2b40cfee0be4ba844fb122be8
2016-08-15 21:08:33 +00:00
Chong Zhang
f74e7ee4a3 Wallpaper target selection during animation
am: b0d267043a

Change-Id: Ib649f9399d6c9f7f84f05ddef8dd8e3d87bb7923
2016-08-15 20:51:52 +00:00
Chong Zhang
b0d267043a Wallpaper target selection during animation
In case of double tapping from Home, there could be two set of
transitions, first is launcher->Recents, followed shortly by
Recents->app. On the second transition, it should be running
a wallpaper close, but because of the way we pick wallpaper
target, sometimes we pick launcher if both launcher & Recents
are animating away. This makes us to run a different animation
which could involve dimming the wallpaper briefly.

Also, findWallpaperTarget() sometimes could toggle between two
valid wallpaper targets, picking either of them gives correct
result for showing the wallpaper, but could result in different
exit transition.

This change prefers the visible target if there is only one
visible, otherwise the one in opening or closing app list. This
helps maybeUpdateTransitToWallpaper to better choose transition.

bug: 30831873
Change-Id: I0eaa89bdc35f5f51875d5cbeceba11ce40f4791f
2016-08-15 20:08:06 +00:00
Julius D'souza
2f2d490e86 DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b -s ours am: 0903c5fe7a -s ours am: f51dfc24d1 -s ours am: e543fb29b2 -s ours
am: 603e631c51  -s ours

Change-Id: I76cd0c0bd8c01c6ded00681903a1dabbe4760df3
2016-08-15 20:07:16 +00:00
Julius D'souza
d5c020c32d DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b -s ours am: 0903c5fe7a -s ours am: f51dfc24d1 -s ours
am: 6864ffeead  -s ours

Change-Id: I61414d658c8ebb77add50ee4c9319bf3c8f0297d
2016-08-15 19:56:18 +00:00
Julius D'souza
603e631c51 DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b -s ours am: 0903c5fe7a -s ours am: f51dfc24d1 -s ours
am: e543fb29b2  -s ours

Change-Id: Ic9de880e84205d0bed213e56cf476e1d15dfcfa9
2016-08-15 19:55:56 +00:00
Julius D'souza
6864ffeead DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b -s ours am: 0903c5fe7a -s ours
am: f51dfc24d1  -s ours

Change-Id: I1afeaa3f5321c536cad22455881b36582b468748
2016-08-15 19:47:43 +00:00
Julius D'souza
e543fb29b2 DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b -s ours am: 0903c5fe7a -s ours
am: f51dfc24d1  -s ours

Change-Id: Iada12a5685d32efafedd18b4d6fba5b8cc642f60
2016-08-15 19:47:33 +00:00
Jason Monk
f958749376 Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev am: aedfa81517
am: 1d2ef7f1b8

Change-Id: Ia381e4ae34d263829531d52ba689dc8bfb9f4070
2016-08-15 19:47:33 +00:00
Jason Monk
d1e62a4f86 QS Footer: Don't update icon from wrong thread. am: f9c6026a7d
am: b10b51277f

Change-Id: If585197223ec5767c2f63dce8717eda82d482a30
2016-08-15 19:47:30 +00:00
Jason Monk
1d2ef7f1b8 Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
am: aedfa81517

Change-Id: I281d14459a03556d96236a9ebb2a08ebd2c53110
2016-08-15 19:35:00 +00:00
Jason Monk
b10b51277f QS Footer: Don't update icon from wrong thread.
am: f9c6026a7d

Change-Id: Ie473b181aaf6fc4ea91d8e986188cdc6f06d87ef
2016-08-15 19:34:58 +00:00
Julius D'souza
f51dfc24d1 DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b -s ours
am: 0903c5fe7a  -s ours

Change-Id: Iba7ccc2ec071ea8c13d146b39aab48d2f4fc4977
2016-08-15 19:33:29 +00:00
TreeHugger Robot
aedfa81517 Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev 2016-08-15 19:25:46 +00:00
Robert Carr
1ccd42510f Allow seamless rotation before mTopIsFullscreen is set.
The difference between mTopFullscreenOpaqueWindowState != null
and mTopIsFullscreen relates to whether the status bar is animating.
However the flag won't be cleared until the next layout pass following
the animation. As long as the window isn't animating we are fine to
rotate seamlessly. This check was copied from selectRotationAnimationLw.
A little code archaeology implies it was perhaps historical and
introduced before the flag had this meaning.

Bug: 30171992
Change-Id: I326bf7766f8ebe307b833d1ca0c0cdfe80b1eb6c
2016-08-15 12:25:41 -07:00
Chong Zhang
e92230a990 Revert "DO NOT MERGE -- Revert the following two commits as they're causing flickering" am: f96cb3c34d
am: 0caf507dbe

Change-Id: Iaf539d5af86a0de2b1b6bade7817edd3bbe22e37
2016-08-15 19:25:40 +00:00
Robert Carr
57d9fbd17f Introduce new constant for double tap gesture rotation hint.
As discussed in ag/1192965/ we have a special case for rotation
animation selection in launch from double tap. This was set to
ROTATION_ANIMATION_CROSSFADE as the goal was just to avoid
ROTATION_ANIMATION_ROTATE on the viewfinder surface and
seamless rotation in launch scenarios was initially descoped. Now we
are aiming at fixing this though, and ROTATION_ANIMATION_CROSSFADE
does not quality for seamless rotation. ROTATION_ANIMATION_JUMPCUT
also would not be a good choice because in the situation that the
rotation occurs before the app starting window appears, then we would
jump cut from unrotated wallpaper to rotated app, I think we want
a crossfade in this scenario. To this end introduce and use a new @hide constant
ROTATION_ANIMATION_SEAMLESS which qualifies for seamless but falls back
to CROSSFADE if seamless can't occur.

Bug: 30171992
Change-Id: If1945b17b5159be4cd5ba0b139d6bea9f7fcca33
2016-08-15 12:25:37 -07:00
Chong Zhang
98ab9ba8f3 Merge "Allow performShowLocked when transition animation started" into nyc-mr1-dev am: 1fb9466c1d
am: 2261bb362b

Change-Id: I92ea546d7f197c2f5c8dc6e0b00f88f48274fdaa
2016-08-15 19:25:36 +00:00
Julius D'souza
0903c5fe7a DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
am: 13edf0a70b  -s ours

Change-Id: I7c02cea3ea0008f3f112063b6a06d08049c4998b
2016-08-15 19:25:33 +00:00
Chong Zhang
9897aa946c Allow performShowLocked when transition animation started am: 83caa366f4
am: 280d7fdcb0

Change-Id: I3ee41e89c6ec089f152531cbd90f13a707863628
2016-08-15 19:25:33 +00:00
Julius D'souza
13edf0a70b DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Add overlay setting with current default value.

Bug: 30085530
Change-Id: Ib5d2448b88cfb66a97febcdf06e2118c84b16cd0
2016-08-15 12:15:29 -07:00