OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev
Chong Zhang [Wed, 17 Aug 2016 17:16:23 +0000 (17:16 +0000)]
Merge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev
am: f925b8df92

Change-Id: Ifcab87c486457c98b961e034bdba1d9f8079b3a4

7 years agoAdd new window type TYPE_DRAWN_APPLICATION
Chong Zhang [Wed, 17 Aug 2016 17:16:18 +0000 (17:16 +0000)]
Add new window type TYPE_DRAWN_APPLICATION
am: fea963edee

Change-Id: If7acf1349b87d4be88a9b4f9fbd984bbd4aca8ad

7 years agoMerge "Add null check to KeyEventDispatcher." into nyc-mr1-dev
Phil Weaver [Wed, 17 Aug 2016 17:16:09 +0000 (17:16 +0000)]
Merge "Add null check to KeyEventDispatcher." into nyc-mr1-dev
am: 49b684d562

Change-Id: Ie72f27a6a20ec011fd0e8e2ce80c43c4895c9c02

7 years agoAdd null check to KeyEventDispatcher.
Phil Weaver [Wed, 17 Aug 2016 17:16:02 +0000 (17:16 +0000)]
Add null check to KeyEventDispatcher.
am: 2a0e48aaf5

Change-Id: Ibd3ec1f898e9e375a3e7a3decb651d4187cdb4a3

7 years agoMerge "Fixed a bug where the summary could become visible even if it was suppressed...
Selim Cinek [Wed, 17 Aug 2016 17:15:54 +0000 (17:15 +0000)]
Merge "Fixed a bug where the summary could become visible even if it was suppressed" into nyc-mr1-dev
am: e68228fbd9

Change-Id: I02fde80e93f703a3c8b44c776dd0673fc0a2a264

7 years agoFixed a bug where the summary could become visible even if it was suppressed
Selim Cinek [Wed, 17 Aug 2016 17:15:48 +0000 (17:15 +0000)]
Fixed a bug where the summary could become visible even if it was suppressed
am: 80c44dd800

Change-Id: Id811e1b58d656aefcd776f6bff110a5021890214

7 years agoMerge "NavBar: Use rotation watcher" into nyc-mr1-dev
Adrian Roos [Wed, 17 Aug 2016 17:15:39 +0000 (17:15 +0000)]
Merge "NavBar: Use rotation watcher" into nyc-mr1-dev
am: 27c3c34fe1

Change-Id: Ia1a2185299c4b5183991909a40918e30555129a4

7 years agoNavBar: Use rotation watcher
Adrian Roos [Wed, 17 Aug 2016 17:15:34 +0000 (17:15 +0000)]
NavBar: Use rotation watcher
am: a98b32cea2

Change-Id: Ia820decbca2535b85ac1bf366bd789ab51be4d73

7 years agoMerge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev
Tyler Gunn [Wed, 17 Aug 2016 17:15:28 +0000 (17:15 +0000)]
Merge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev
am: 76c973cda0

Change-Id: I3f3fd27441b3c5b371fb32c3f0837c9466ac0530

7 years agoSupport auto-downgrade to audio when data disabled.
Tyler Gunn [Wed, 17 Aug 2016 17:14:45 +0000 (17:14 +0000)]
Support auto-downgrade to audio when data disabled.
am: 86d5c3fcde

Change-Id: Iecf7d4e33bac40d630f5438e297f9fc20bb888f0

7 years agoMerge "Replace android auto assets with the latest" into nyc-mr1-dev
Sriram Viswanathan [Wed, 17 Aug 2016 17:14:29 +0000 (17:14 +0000)]
Merge "Replace android auto assets with the latest" into nyc-mr1-dev
am: 91ef993e2d

Change-Id: I7d992d83ebd185c1e67ecd24c3d5fd30e4c87fb8

7 years agoReplace android auto assets with the latest
Sriram Viswanathan [Wed, 17 Aug 2016 17:14:27 +0000 (17:14 +0000)]
Replace android auto assets with the latest
am: e45311adc9

Change-Id: Ied7a5adcceda1efba66e91d97a835c7ccf870f4d

7 years agoFix maps resume being blank
John Reck [Wed, 17 Aug 2016 17:14:23 +0000 (17:14 +0000)]
Fix maps resume being blank
am: 03df0834e6

Change-Id: Iad93e1b11e74acf2356d59c271892d6741b53fef

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Wed, 17 Aug 2016 17:14:20 +0000 (17:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 60ab8d072a  -s ours

Change-Id: I35ebad1911c8d548f3918026be446075a471d1c8

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 17 Aug 2016 17:14:18 +0000 (17:14 +0000)]
Import translations. DO NOT MERGE
am: ad0dfea172  -s ours

Change-Id: I68667b5fd3777621b425093da0b64106f6dfc09c

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Wed, 17 Aug 2016 17:14:15 +0000 (17:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 48d01fde6b  -s ours

Change-Id: Id88552a95441037ef5825a81311a95b9dd66ac73

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 17 Aug 2016 17:14:13 +0000 (17:14 +0000)]
Import translations. DO NOT MERGE
am: 28753c7c4a  -s ours

Change-Id: Ie2d08b1e339982bc8606ff4ecf58487604220bfe

7 years agoMerge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev
Chong Zhang [Tue, 16 Aug 2016 19:49:28 +0000 (19:49 +0000)]
Merge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev

7 years agoMerge "Add null check to KeyEventDispatcher." into nyc-mr1-dev
Phil Weaver [Tue, 16 Aug 2016 19:33:27 +0000 (19:33 +0000)]
Merge "Add null check to KeyEventDispatcher." into nyc-mr1-dev

7 years agoMerge "Fixed a bug where the summary could become visible even if it was suppressed...
TreeHugger Robot [Tue, 16 Aug 2016 18:36:24 +0000 (18:36 +0000)]
Merge "Fixed a bug where the summary could become visible even if it was suppressed" into nyc-mr1-dev

7 years agoMerge "NavBar: Use rotation watcher" into nyc-mr1-dev
Adrian Roos [Tue, 16 Aug 2016 18:32:26 +0000 (18:32 +0000)]
Merge "NavBar: Use rotation watcher" into nyc-mr1-dev

7 years agoMerge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev
Tyler Gunn [Tue, 16 Aug 2016 18:32:12 +0000 (18:32 +0000)]
Merge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev

7 years agoMerge "Replace android auto assets with the latest" into nyc-mr1-dev
Sriram Viswanathan [Tue, 16 Aug 2016 18:20:10 +0000 (18:20 +0000)]
Merge "Replace android auto assets with the latest" into nyc-mr1-dev

7 years agoMerge "Hide space for title if the title is GONE." into cw-f-dev
Michael Kwan [Tue, 16 Aug 2016 17:56:41 +0000 (17:56 +0000)]
Merge "Hide space for title if the title is GONE." into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Tue, 16 Aug 2016 17:40:33 +0000 (17:40 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Tue, 16 Aug 2016 17:40:10 +0000 (17:40 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoFixed a bug where the summary could become visible even if it was suppressed
Selim Cinek [Tue, 16 Aug 2016 02:39:55 +0000 (19:39 -0700)]
Fixed a bug where the summary could become visible even if it was suppressed

Because the updating of the suppression was prohibited, some groups could loose
their suppression state when they were heads upped. This would lead to duplicate
notifications. We're now still allowing the state to be properly modified instead
but don't notify listeners anymore since that was only an internal update.

Change-Id: I6ae96ea8cfab00ef6bdb1ef047f8b77ea88e8206
Fixes: 30608517

7 years agoFix maps resume being blank
John Reck [Tue, 16 Aug 2016 16:44:23 +0000 (09:44 -0700)]
Fix maps resume being blank

Bug: 30889568

Fixes an issue where mLayer didn't have
the mSurface set on it in certain resume
scenarios.

Change-Id: Ib75065d3d75e6141d6cd8f306584f6a569b9907c

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 15:32:03 +0000 (15:32 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 15:30:36 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 09:02:06 +0000 (02:02 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 07:29:56 +0000 (00:29 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 02:03:54 +0000 (19:03 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 01:48:31 +0000 (18:48 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge changes I082e323e,I326bf776 into nyc-mr1-dev
Rob Carr [Tue, 16 Aug 2016 01:46:06 +0000 (01:46 +0000)]
Merge changes I082e323e,I326bf776 into nyc-mr1-dev
am: c991a7ad54

Change-Id: Ia26593ab5b53c34656af1095f63bffa9ebcde27f

7 years agoLimit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
Robert Carr [Tue, 16 Aug 2016 01:46:04 +0000 (01:46 +0000)]
Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
am: aab09158e9

Change-Id: If1c06bf70128af337d23bfa58157e16a0dea9b3b

7 years agoAllow seamless rotation before mTopIsFullscreen is set.
Robert Carr [Tue, 16 Aug 2016 01:44:28 +0000 (01:44 +0000)]
Allow seamless rotation before mTopIsFullscreen is set.
am: 1ccd42510f

Change-Id: I52b5d288993a4fbf5b265f32e238b40a4b68f8d6

7 years agoMerge "Doc change: escape lt char in generic type in pre block." into nyc-dev am...
Dirk Dougherty [Tue, 16 Aug 2016 01:44:19 +0000 (01:44 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev am: 114c09498d
am: 13a5f3515f

Change-Id: I421a40de8a7c3aee6ea087a12c6862b8051765a9

7 years agoDoc change: escape lt char in generic type in pre block. am: 1035b25825
Dirk Dougherty [Tue, 16 Aug 2016 01:44:14 +0000 (01:44 +0000)]
Doc change: escape lt char in generic type in pre block. am: 1035b25825
am: 61a7f64e1f

Change-Id: Id086866cc0c047fb8ea88cb16c863ebd11b7f7b0

7 years agoMerge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev
Robert Carr [Tue, 16 Aug 2016 01:36:05 +0000 (01:36 +0000)]
Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev
am: b14543d9d8

Change-Id: I3edf4558a7cfabb40abc9cfc9393288d2a5b72b8

7 years agoIntroduce new constant for double tap gesture rotation hint.
Robert Carr [Tue, 16 Aug 2016 01:35:59 +0000 (01:35 +0000)]
Introduce new constant for double tap gesture rotation hint.
am: 57d9fbd17f

Change-Id: I994c15c692ec52160deb3d29b46396802562588a

7 years agoMerge changes I082e323e,I326bf776 into nyc-mr1-dev
Rob Carr [Tue, 16 Aug 2016 01:31:31 +0000 (01:31 +0000)]
Merge changes I082e323e,I326bf776 into nyc-mr1-dev

* changes:
  Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
  Allow seamless rotation before mTopIsFullscreen is set.

7 years agoMerge "Doc change: escape lt char in generic type in pre block." into nyc-dev
Dirk Dougherty [Tue, 16 Aug 2016 01:30:07 +0000 (01:30 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev
am: 114c09498d

Change-Id: Ie7f79a9236823a9066867fb52bf352523730ec3f

7 years agoDoc change: escape lt char in generic type in pre block.
Dirk Dougherty [Tue, 16 Aug 2016 01:30:04 +0000 (01:30 +0000)]
Doc change: escape lt char in generic type in pre block.
am: 1035b25825

Change-Id: I4e4c01fe612bbcf05c31c6d33da6bbbe837aa468

7 years agoMerge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 01:21:56 +0000 (01:21 +0000)]
Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev

7 years agoMerge "Doc change: escape lt char in generic type in pre block." into nyc-dev
Dirk Dougherty [Tue, 16 Aug 2016 01:17:31 +0000 (01:17 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev

7 years agoAdd null check to KeyEventDispatcher.
Phil Weaver [Tue, 16 Aug 2016 00:49:55 +0000 (17:49 -0700)]
Add null check to KeyEventDispatcher.

Make sure we don't try to dispatch key events to services
that have died. Doing so crashes the device.

Bug: 30866905
Change-Id: I1cc0515cca8924b0c2744de98ac75a901b94246d

7 years agoNavBar: Use rotation watcher
Adrian Roos [Thu, 11 Aug 2016 17:41:08 +0000 (10:41 -0700)]
NavBar: Use rotation watcher

Replaces the display changed listener with a
rotation watcher. The display listener fired
too late and did not produce a rotated frame
in time. Also cleans up logging tags.

Change-Id: I3336275ae123f868ed9ee8cc28a6285a06f2e1a6
Fixes: 30312602

7 years agoAdd new window type TYPE_DRAWN_APPLICATION
Chong Zhang [Tue, 16 Aug 2016 00:14:16 +0000 (17:14 -0700)]
Add new window type TYPE_DRAWN_APPLICATION

This type behaves like a normal TYPE_APPLICATION, except that WM
will always wait for it to be drawn before starting a transition.

WM always waits for TYPE_BASE_APPLICATION (main window), but for
TYPE_APPLICATION, it only waits if the window relayouts to visible
and gets a surface before the main window is drawn. If main window
itself is ready very fast, transition could start without the other
window.

bug: 30830849
Change-Id: Ife71a9812db7c8eba6ee4ead10ce4f31d9e93b40

7 years agoMerge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev
Suprabh Shukla [Tue, 16 Aug 2016 00:32:56 +0000 (00:32 +0000)]
Merge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev
am: f5e51cf7a9

Change-Id: Ic44c61742ba56f887cf90ab6428b8c8642e355e3

7 years agoChanging user inactivity and warning dialog timeouts
Suprabh Shukla [Tue, 16 Aug 2016 00:32:55 +0000 (00:32 +0000)]
Changing user inactivity and warning dialog timeouts
am: cafdc2e50d

Change-Id: Iba74fd833ba00cbae39e09cf404f1877efd7a4d8

7 years agoMerge "Count failed install as finished" into nyc-mr1-dev
Fyodor Kupolov [Tue, 16 Aug 2016 00:25:59 +0000 (00:25 +0000)]
Merge "Count failed install as finished" into nyc-mr1-dev
am: ab35493046

Change-Id: I5e65fd656bcad8b8de5742e01e90709954bb7102

7 years agoCount failed install as finished
Fyodor Kupolov [Tue, 16 Aug 2016 00:25:57 +0000 (00:25 +0000)]
Count failed install as finished
am: 4f4780f023

Change-Id: Ia1ddcde1b9bcb37a266589ff53ed01632e442c7b

7 years agoMerge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 00:21:34 +0000 (00:21 +0000)]
Merge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev

7 years agoMerge "Count failed install as finished" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 23:58:06 +0000 (23:58 +0000)]
Merge "Count failed install as finished" into nyc-mr1-dev

7 years agoMerge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev
Adrian Roos [Mon, 15 Aug 2016 23:49:01 +0000 (23:49 +0000)]
Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev
am: 094b8b3321

Change-Id: I308a6550ce47b0083b28a2a2cf89d82b692b2939

7 years agoFix bug where RemoteInputView didn't reopen the IME
Adrian Roos [Mon, 15 Aug 2016 23:48:58 +0000 (23:48 +0000)]
Fix bug where RemoteInputView didn't reopen the IME
am: 0356865dad

Change-Id: I983cd6d0abc35af375d95722606969f13aebb9f5

7 years agoMerge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 23:45:04 +0000 (23:45 +0000)]
Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev

7 years agoMerge "AAPT: Fix use-after-free error" into nyc-mr1-dev
Adam Lesinski [Mon, 15 Aug 2016 23:11:49 +0000 (23:11 +0000)]
Merge "AAPT: Fix use-after-free error" into nyc-mr1-dev
am: 1031069f1d

Change-Id: Ic2fce0e9b9769630f9a59065f317ea34201be079

7 years agoAAPT: Fix use-after-free error
Adam Lesinski [Mon, 15 Aug 2016 23:11:37 +0000 (23:11 +0000)]
AAPT: Fix use-after-free error
am: 193ed74c2d

Change-Id: I04cd726dae52c5010ad99409f0f77a10267bdeed

7 years agoMerge "AAPT: Fix use-after-free error" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 22:56:00 +0000 (22:56 +0000)]
Merge "AAPT: Fix use-after-free error" into nyc-mr1-dev

7 years agoChanging user inactivity and warning dialog timeouts
Suprabh Shukla [Mon, 15 Aug 2016 19:50:32 +0000 (12:50 -0700)]
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

7 years agoMerge "Add missing remote conference property set." into nyc-mr1-dev
Tyler Gunn [Mon, 15 Aug 2016 22:42:38 +0000 (22:42 +0000)]
Merge "Add missing remote conference property set." into nyc-mr1-dev
am: aa9b18f90a

Change-Id: I1176b63a1d84829b79b9e540747a27b777e88c47

7 years agoAdd missing remote conference property set.
Tyler Gunn [Mon, 15 Aug 2016 22:42:36 +0000 (22:42 +0000)]
Add missing remote conference property set.
am: 04ce757860

Change-Id: Iba041654d136b3cd00cfc19899cefa68ebf01b76

7 years agoMerge "Add missing remote conference property set." into nyc-mr1-dev
Tyler Gunn [Mon, 15 Aug 2016 22:32:02 +0000 (22:32 +0000)]
Merge "Add missing remote conference property set." into nyc-mr1-dev

7 years agoCount failed install as finished
Fyodor Kupolov [Mon, 15 Aug 2016 22:29:47 +0000 (15:29 -0700)]
Count failed install as finished

Otherwise DEMO_USER_SETUP_COMPLETE will not be set.

Bug: 30445353
Change-Id: Id2a0c1b1643dd9846328a20f4c67e11e69b3bc84

7 years agoLimit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
Robert Carr [Mon, 15 Aug 2016 19:19:00 +0000 (12:19 -0700)]
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

7 years agoFix bug where RemoteInputView didn't reopen the IME
Adrian Roos [Mon, 15 Aug 2016 22:02:46 +0000 (15:02 -0700)]
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

7 years agoFixed an issue where the background could show in a wrong way
Selim Cinek [Mon, 15 Aug 2016 22:02:18 +0000 (22:02 +0000)]
Fixed an issue where the background could show in a wrong way
am: d381bc3133

Change-Id: I219e4809a6a9f839353e049d4d563ece37866ca2

7 years agoFixed an issue where the background could show in a wrong way
Selim Cinek [Mon, 15 Aug 2016 19:40:57 +0000 (12:40 -0700)]
Fixed an issue where the background could show in a wrong way

Change-Id: Icefeb2275d6cbabc576c35990ce4441b3a41ebd9
Fixes: 30855224

7 years agoMerge "Docs only: N is no longer a shrug." into nyc-mr1-dev
Dianne Hackborn [Mon, 15 Aug 2016 21:25:44 +0000 (21:25 +0000)]
Merge "Docs only: N is no longer a shrug." into nyc-mr1-dev
am: 6af2db3824

Change-Id: Idae2d16055e26e721584e428c44af0f2b1828557

7 years agoDocs only: N is no longer a shrug.
Dianne Hackborn [Mon, 15 Aug 2016 21:25:41 +0000 (21:25 +0000)]
Docs only: N is no longer a shrug.
am: c1b607df71

Change-Id: Iaf3a4c23ec9c94dccfa6db15e6caf90a74a5f3c0

7 years agoAAPT: Fix use-after-free error
Adam Lesinski [Mon, 15 Aug 2016 21:19:46 +0000 (14:19 -0700)]
AAPT: Fix use-after-free error

Re-order deletion of ResXMLTree and the Asset object
it iterates over.

Bug:30844391
Change-Id: Ied033d0a8f93343006228a2054c6d0f42bb4717a

7 years agoMerge "Docs only: N is no longer a shrug." into nyc-mr1-dev
Dianne Hackborn [Mon, 15 Aug 2016 21:16:41 +0000 (21:16 +0000)]
Merge "Docs only: N is no longer a shrug." into nyc-mr1-dev

7 years agoWallpaper target selection during animation
Chong Zhang [Mon, 15 Aug 2016 20:51:52 +0000 (20:51 +0000)]
Wallpaper target selection during animation
am: b0d267043a

Change-Id: Ib649f9399d6c9f7f84f05ddef8dd8e3d87bb7923

7 years agoWallpaper target selection during animation
Chong Zhang [Fri, 12 Aug 2016 23:03:29 +0000 (16:03 -0700)]
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

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf...
Julius D'souza [Mon, 15 Aug 2016 19:55:56 +0000 (19:55 +0000)]
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

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf...
Julius D'souza [Mon, 15 Aug 2016 19:47:33 +0000 (19:47 +0000)]
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

7 years agoMerge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
Jason Monk [Mon, 15 Aug 2016 19:35:00 +0000 (19:35 +0000)]
Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
am: aedfa81517

Change-Id: I281d14459a03556d96236a9ebb2a08ebd2c53110

7 years agoQS Footer: Don't update icon from wrong thread.
Jason Monk [Mon, 15 Aug 2016 19:34:58 +0000 (19:34 +0000)]
QS Footer: Don't update icon from wrong thread.
am: f9c6026a7d

Change-Id: Ie473b181aaf6fc4ea91d8e986188cdc6f06d87ef

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf...
Julius D'souza [Mon, 15 Aug 2016 19:33:29 +0000 (19:33 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b  -s ours
am: 0903c5fe7a  -s ours

Change-Id: Iba7ccc2ec071ea8c13d146b39aab48d2f4fc4977

7 years agoMerge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 19:25:45 +0000 (19:25 +0000)]
Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev

7 years agoAllow seamless rotation before mTopIsFullscreen is set.
Robert Carr [Mon, 15 Aug 2016 19:05:21 +0000 (12:05 -0700)]
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

7 years agoIntroduce new constant for double tap gesture rotation hint.
Robert Carr [Mon, 15 Aug 2016 19:00:35 +0000 (12:00 -0700)]
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

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Julius D'souza [Mon, 15 Aug 2016 19:25:33 +0000 (19:25 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
am: 13edf0a70b  -s ours

Change-Id: I7c02cea3ea0008f3f112063b6a06d08049c4998b

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Julius D'souza [Fri, 5 Aug 2016 21:34:38 +0000 (14:34 -0700)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.

Add overlay setting with current default value.

Bug: 30085530
Change-Id: Ib5d2448b88cfb66a97febcdf06e2118c84b16cd0

7 years agoRevert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
Chong Zhang [Mon, 15 Aug 2016 19:14:52 +0000 (19:14 +0000)]
Revert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
am: f96cb3c34d

Change-Id: I1756346f1713f758374f2b8476c70a60119986dd

7 years agoMerge "Allow performShowLocked when transition animation started" into nyc-mr1-dev
Chong Zhang [Mon, 15 Aug 2016 19:14:50 +0000 (19:14 +0000)]
Merge "Allow performShowLocked when transition animation started" into nyc-mr1-dev
am: 1fb9466c1d

Change-Id: I47692dcaef58641e1fbf6632cfb59d843c43d667

7 years agoAllow performShowLocked when transition animation started
Chong Zhang [Mon, 15 Aug 2016 19:14:48 +0000 (19:14 +0000)]
Allow performShowLocked when transition animation started
am: 83caa366f4

Change-Id: I6897267073728cf236e1ad98c3092666bb246e49

7 years agoRevert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
Chong Zhang [Mon, 15 Aug 2016 18:09:29 +0000 (11:09 -0700)]
Revert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"

This reverts commit 44bd57ee25484bd74025c116f8a83d1df5990f34.

bug: 30831873
bug: 30790402

7 years agoMerge "Allow performShowLocked when transition animation started" into nyc-mr1-dev
Chong Zhang [Mon, 15 Aug 2016 19:04:47 +0000 (19:04 +0000)]
Merge "Allow performShowLocked when transition animation started" into nyc-mr1-dev

7 years agoMerge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev
Selim Cinek [Mon, 15 Aug 2016 18:46:07 +0000 (18:46 +0000)]
Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev
am: 45d2ff9b6a

Change-Id: I53aea1f2845dc56cad468c793e32db4dcf5065fe

7 years agoFixed that HUNs wouldn't show when the keyguard is occluded
Selim Cinek [Mon, 15 Aug 2016 18:46:04 +0000 (18:46 +0000)]
Fixed that HUNs wouldn't show when the keyguard is occluded
am: 2dabc8286b

Change-Id: If70dd09b854dfdd5964733d802d95185ee04b841

7 years agoMerge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev
Selim Cinek [Mon, 15 Aug 2016 18:35:57 +0000 (18:35 +0000)]
Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev

7 years agoQS Footer: Don't update icon from wrong thread.
Jason Monk [Mon, 15 Aug 2016 17:57:43 +0000 (13:57 -0400)]
QS Footer: Don't update icon from wrong thread.

Change-Id: I25191818579fac57236b67d7291b6ee00dd838b5
Fixes: 30748384

7 years agoAdd missing remote conference property set.
Tyler Gunn [Mon, 15 Aug 2016 17:56:12 +0000 (10:56 -0700)]
Add missing remote conference property set.

When creating a new remote conference, there was a missing call to
"setConnectionProperties".  This would prevent remote conferences from
being created with the correct properties as defined in the actual
conference.

Bug: 30383741
Change-Id: I335e35c222ae18b0d6ea7e750b91bcc36aa40ece

7 years agoAllow performShowLocked when transition animation started
Chong Zhang [Mon, 15 Aug 2016 01:47:54 +0000 (18:47 -0700)]
Allow performShowLocked when transition animation started

Some transitions can have no animation, in which case
isReadyForDisplayIgnoringKeyguard() will wait for VIEW visibility
to become VISIBLE. But if we have a saved surface, the transition
could have already started. This causes exiting app to be hidden,
while entering app's performShowLocked() still hold back waiting
for the relayout to visible.

If we started animating with saved surface, it should also count
as transition animation started.

b/30855380

Change-Id: I6260a323b48e57d8337267d9136f630226a48dc8

7 years agoMerge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into...
David Gross [Mon, 15 Aug 2016 17:40:18 +0000 (17:40 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev am: 8cb4ca439e
am: 375ac04044

Change-Id: Ib3a19c1c2814f1359b4e78a809f2e53f76a27158

7 years agoUpdate RenderScript docs: reduction, other API 23/24 changes, cleanup. am: b50e856fc7
David Gross [Mon, 15 Aug 2016 17:40:16 +0000 (17:40 +0000)]
Update RenderScript docs: reduction, other API 23/24 changes, cleanup. am: b50e856fc7
am: 1f5b0ea408

Change-Id: I2bccf9a9e112ed1320b7782f724879793cc54baf

7 years agoMerge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into...
David Gross [Mon, 15 Aug 2016 17:23:17 +0000 (17:23 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev
am: 8cb4ca439e

Change-Id: I1507e8d3d8bf588ea48e17b3d93ced19228d5d21