221236 Commits

Author SHA1 Message Date
Robert Carr
e6a8351bc7 Extract application window usage of SurfaceController.
Abstract the usage of SurfaceController from wm w.r.t
application windows in to a new WindowSurfaceController
class. This class tracks boring book keeping, logging,
errors, etc...to lend clarity to difficult policy
code in WindowStateAnimator et al.

Change-Id: Ifcd5d48a51e68564f49e799ae793b320cac88645
2015-11-05 11:20:15 -08:00
Dan Albert
a76bafdc44 Merge "Don\'t apply clang flag to gcc builds." am: d9a1b35df6 am: a41288b88f
am: e0bcc4efe9

* commit 'e0bcc4efe96f196104e6de681b28de295d70fb84':
  Don't apply clang flag to gcc builds.
2015-11-05 18:33:51 +00:00
Dan Albert
e0bcc4efe9 Merge "Don\'t apply clang flag to gcc builds." am: d9a1b35df6
am: a41288b88f

* commit 'a41288b88f18273a61ed0af977408761598216cf':
  Don't apply clang flag to gcc builds.
2015-11-05 18:28:19 +00:00
John Reck
5e22ae6291 Merge "add DeviceInfo" 2015-11-05 18:24:14 +00:00
Dan Albert
a41288b88f Merge "Don\'t apply clang flag to gcc builds."
am: d9a1b35df6

* commit 'd9a1b35df62eddc56f69281aea1534d187b63205':
  Don't apply clang flag to gcc builds.
2015-11-05 18:22:57 +00:00
Dan Albert
d9a1b35df6 Merge "Don't apply clang flag to gcc builds." 2015-11-05 18:18:45 +00:00
Julia Reynolds
5e219cddc9 Merge "Fix radio button flash on hour change." 2015-11-05 18:13:24 +00:00
John Reck
704bed0da7 add DeviceInfo
This reverts commit 096895550b9d5430d7a001d491566decf4f9791b.

Change-Id: Ib2ed1e96d8f7f88302f5e27fe735687194553104
2015-11-05 10:13:23 -08:00
Deepanshu Gupta
2b23bc32cc Merge "Fix Switch colors" into mnc-ub-dev am: 71093465ab
am: ceb2b54909

* commit 'ceb2b549095b5f9a70baef6a0a847b453735f97a':
  Fix Switch colors
2015-11-05 17:29:47 +00:00
Deepanshu Gupta
ceb2b54909 Merge "Fix Switch colors" into mnc-ub-dev
am: 71093465ab

* commit '71093465abbdf887c705b40fb0cb8a2919894c4b':
  Fix Switch colors
2015-11-05 17:24:38 +00:00
Deepanshu Gupta
71093465ab Merge "Fix Switch colors" into mnc-ub-dev 2015-11-05 17:21:16 +00:00
Deepanshu Gupta
c9b8f95c99 Fix Switch colors
The conversion of the PorterDuff mode from int to enum was incorrect
resulting in the wrong PorterDuff Mode being used.

Change-Id: I7607d505b6e4382e6101869971154f6a77db279c
2015-11-05 09:20:07 -08:00
Filip Gruszczynski
bad0ed16ec Merge "Animate the dock divider appearance/disappearance." 2015-11-05 17:00:18 +00:00
Filip Gruszczynski
57f76f1c54 Animate the dock divider appearance/disappearance.
We want to animate the dock divider appearance only after the entrance
animation of the docked activity finishes, so these two don't clash. For
disappearance they will animate together.

Bug: 24913915
Change-Id: Ibe5c3960f21fcc5e64039b158605fa09017c5c34
2015-11-05 08:59:36 -08:00
Filip Gruszczynski
4a16de0e32 Merge "Split code out from WMS.realyoutWindow." 2015-11-05 16:49:01 +00:00
Julia Reynolds
0ca82fecc2 Fix radio button flash on hour change.
Also delete confusing debug variable.

Bug: 25459795
Change-Id: I9208ece4edf5fbcff5f257994f47d81a901766e8
2015-11-05 11:08:02 -05:00
Svetoslav Ganov
3b2872a871 Merge "Take into account default app for default grants" am: 82eeb2f20c am: 0c7e9262a1
am: f7db8e407b

* commit 'f7db8e407b02a3cb2fe1e1e5838b1ebcb67f6dc5':
  Take into account default app for default grants
2015-11-05 15:50:28 +00:00
Svetoslav Ganov
4c515357e5 Merge "Enforce weaker grant if app is default handler for miltiple action" am: 035374d7a2 am: a9b62e1330
am: 1809ccc62e

* commit '1809ccc62e6c3649b3024a099dccccb3b773cf49':
  Enforce weaker grant if app is default handler for miltiple action
2015-11-05 15:48:34 +00:00
Jason Monk
51a942380b Updates to Drawer
Support doing nothing on tvs and watches.  Also better not doing
anything with no categories existing.

Change-Id: I4a12d4d907a08e75ed3cdcd3f7c68a3a100c687d
2015-11-05 08:52:41 -05:00
Dan Albert
0eadf57cad Don't apply clang flag to gcc builds.
For whatever reason GCC doesn't fail the build on unknown flags unless
there is also a warning emitted. Since we're now deprecating
UniquePtr, the warning is thrown here and the build fails (despite not
being -Werror).

Bug: http://b/22403888
Change-Id: I4af7911a51f7af9aa47a596a76f3e9d79535585b
2015-11-05 00:59:09 -08:00
Terry Heo
a22d77e247 CEC: Check validity of tvinput id
Bug: 25006096
Change-Id: I1eec8c5ec863b85d66d9c9722101af7f7d3d2f40
2015-11-05 07:26:08 +00:00
Tomasz Mikolajewski
2273e0f095 Implement efficient move on Internal Storage.
Bug:24884813
Change-Id: I5a8dfeb13313a3e60ba2993643eb547adca7b851
2015-11-05 13:12:32 +09:00
Tomasz Mikolajewski
b29cb7c9ae Merge "Remove TRANSFER_MODE_NONE from CopyManager." 2015-11-05 04:02:36 +00:00
Chong Zhang
1b2c41cd6c Merge "fix missing dim layer surface" 2015-11-05 03:55:51 +00:00
Chong Zhang
9263a045ba fix missing dim layer surface
bug: 24913379
Change-Id: Id3280ba9cccea57ca9cf0274cea589cd58e71a56
2015-11-04 18:39:08 -08:00
Tomasz Mikolajewski
261b6bdd36 Remove TRANSFER_MODE_NONE from CopyManager.
This field is not necessary, as an operation is always either copy or move.

Change-Id: Ide68bb2bf5d237ed4c9abe8c443edd8e12dd82dd
2015-11-05 11:31:32 +09:00
Svetoslav Ganov
f7db8e407b Merge "Take into account default app for default grants" am: 82eeb2f20c
am: 0c7e9262a1

* commit '0c7e9262a1cc89b748e281f330dd1ffecec6df3f':
  Take into account default app for default grants
2015-11-05 02:30:08 +00:00
Svetoslav Ganov
1809ccc62e Merge "Enforce weaker grant if app is default handler for miltiple action" am: 035374d7a2
am: a9b62e1330

* commit 'a9b62e13305d9cb43f53831f0b92d72bd490c1ae':
  Enforce weaker grant if app is default handler for miltiple action
2015-11-05 02:28:40 +00:00
Svetoslav Ganov
0c7e9262a1 Merge "Take into account default app for default grants"
am: 82eeb2f20c

* commit '82eeb2f20c934ddc97380032b3c8ecacc21d9a04':
  Take into account default app for default grants
2015-11-05 02:25:32 +00:00
Tomasz Mikolajewski
35534d97c6 Merge "Wire copyDocument and moveDocument to CopyService." 2015-11-05 02:25:23 +00:00
Tomasz Mikolajewski
54c14948ee Wire copyDocument and moveDocument to CopyService.
Bug:24884665
Change-Id: Iaeac9ffa468150853f0f36c439f98df53937e519
2015-11-05 11:24:37 +09:00
Svetoslav Ganov
a9b62e1330 Merge "Enforce weaker grant if app is default handler for miltiple action"
am: 035374d7a2

* commit '035374d7a29b4e0b0bc71bdfb3555b2e547ce1da':
  Enforce weaker grant if app is default handler for miltiple action
2015-11-05 02:23:44 +00:00
Filip Gruszczynski
84cc5e320d Split code out from WMS.realyoutWindow.
Change-Id: If57237013d87d864c219e5f6415de3d360cbbe75
2015-11-04 18:23:14 -08:00
Svetoslav Ganov
82eeb2f20c Merge "Take into account default app for default grants" 2015-11-05 02:19:12 +00:00
Felipe Leme
46475e4028 Merge "Clarified usage of onDetach() and onCreate() when setRetainInstance() is set to true. BUG: 25455734" 2015-11-05 02:19:06 +00:00
Svetoslav Ganov
035374d7a2 Merge "Enforce weaker grant if app is default handler for miltiple action" 2015-11-05 02:19:00 +00:00
Svetoslav
5db602fd19 Enforce weaker grant if app is default handler for miltiple action
Change-Id: Ibc46e458e277412ebb276eb5ba6f2765b6b6c5e9
2015-11-05 02:18:13 +00:00
Chris Tate
adf0698b40 Merge "Make WorkSource version of alarm listener API @SystemApi" 2015-11-05 02:02:49 +00:00
Winson Chung
986739a65d Merge "Adding dnd to/from freeform workspaces." 2015-11-05 01:59:57 +00:00
Winson
eca4ab6e99 Adding dnd to/from freeform workspaces.
Change-Id: I5b75fe5a942e9a2e344e62229e860b5108f9872e
2015-11-04 17:56:36 -08:00
Winson
5da4347b41 Fixing regression in alt-tab task.
Change-Id: Iee73baded04616ee92046609c37257d1551520fb
2015-11-05 01:53:38 +00:00
Chris Tate
e6ae842365 Merge "Docs: be explicit about oldState contract for backup helpers" 2015-11-05 01:49:24 +00:00
John Reck
41925b1ccd Merge "Revert "add DeviceInfo"" 2015-11-05 01:39:37 +00:00
Chong Zhang
f0ac93a705 Merge "Discard input events sent to dead window" 2015-11-05 01:38:32 +00:00
John Reck
096895550b Revert "add DeviceInfo"
This reverts commit b2442896e3a226c7ebe9d47fa80b257e98a6a34d.

Change-Id: I50f6555451f71067505245333c8e558b5e3b2b3b
2015-11-05 01:38:25 +00:00
Christopher Tate
1203aa05f8 Docs: be explicit about oldState contract for backup helpers
Call out specifically that each helper must only consume the
prior-state data that it produced in the first place, not reading
beyond its own part of the state file.

Bug 25473872

Change-Id: I1f24a5738a799eb21d966510372a0f3852436166
2015-11-04 17:35:17 -08:00
Ben Kwa
1046cfa517 Merge "Move DirectoryFragment and family to dirlist pkg." 2015-11-05 01:01:15 +00:00
Chong Zhang
acf11408fd Discard input events sent to dead window
And add a check to skip repositioning if window doesn't have a
valid input channel.

bug: 25345787
Change-Id: I555eb9a2ce258d77cd69c53c323dc3db646c773f
2015-11-04 16:23:10 -08:00
Tomasz Mikolajewski
0c55387059 Merge "Add support for opening files in specified MIME type to DocumentsProvider." 2015-11-04 23:17:14 +00:00
Steve McKay
f862155e34 Move DirectoryFragment and family to dirlist pkg.
Stuff was getting out of control in the main package.

Change-Id: Ia06ba96f5bbe13388d51e6ad52a9dac76af97cc0
2015-11-04 15:04:57 -08:00