22385 Commits

Author SHA1 Message Date
Yorke Lee
1b268cbca6 Add setAlwaysOpaque and setTint to BarTransitions
Allow the opacity and color of the NavigationBarView
to be controlled.

Bug: 26425669

Change-Id: I364f183bf0ef90c446ae68987ccc3b6bbf09aa67
2016-02-29 19:14:04 -08:00
Aga Wronska
868c846b91 Merge "Fix SearchView background too high" into nyc-dev 2016-02-26 23:47:16 +00:00
Muyuan Li
94ce94e960 Allows components to register shortcut key.
The registered shortcut will be called from PhoneWindowManager,
before dispatching

Change-Id: If26128939b45a639c8895719a7a23ca433f39fd9
(cherry picked from commit 4da863c5a8872dcabb179a978a2b2157d9081679)
2016-02-26 22:30:34 +00:00
Selim Cinek
df5bf6147c Decorated media notifications now also animate their actions
Bug: 24866646
Change-Id: I271be0d55270043dfc41c621911d802b37d4690f
2016-02-26 21:58:08 +00:00
Selim Cinek
b88b98477a Fixed a bug where notifications could stay dark
The check whether dark changed was always done
on the notification itself, ignoring that the
contentviews actually also have a check whether it
changed, leading to potential problems that this state
became out of date. In addition did we assume that whenever
an update comes in the text becomes normal, which is
not true for an inline update. This hopefully fixes things once
and for all! I said once and for all!

Bug: 27147160
Change-Id: Idd68be8da0f648cf79102544b038065618c1d0ff
2016-02-26 21:57:40 +00:00
Aga Wronska
95f44e8f8e Merge "Clear selection mode when changing root" into nyc-dev 2016-02-26 21:32:27 +00:00
Aga Wronska
d559743a0d Clear selection mode when changing root
Bug: 27364691, 27142316
Change-Id: I961f3eef67b51a2de999d34edbacd21e4b51c2a4
2016-02-26 13:26:35 -08:00
Julia Reynolds
3b84812271 Api review: Notification.Builder
Bug: 27364889
Change-Id: I95cee3336f1adb64e37e71a9ab40e68feb1d9c5b
2016-02-26 15:44:02 -05:00
Aga Wronska
f6fde7e044 Merge "Don't translate our trusted quick view package val." into nyc-dev 2016-02-26 19:30:00 +00:00
Steve McKay
0a544d5aeb Don't translate our trusted quick view package val.
Change-Id: I74574e38705940b72be8afc8e3ec163fb6ccdef4
2016-02-26 11:27:09 -08:00
Steve McKay
e05c9230ab Merge "Delete confirmation and notification improvements." into nyc-dev 2016-02-26 18:34:23 +00:00
Felipe Leme
1e33af88ed Merge "Open bugreport info when touching notification (as well as DETAILS button)." into nyc-dev 2016-02-26 17:49:54 +00:00
Julia Reynolds
abf11299b7 Merge "Introduce IMPORTANCE_MIN." into nyc-dev 2016-02-26 16:11:00 +00:00
Jason Monk
611994e01f Add unavailable state to the flashlight icon
Bug: 26851684
Change-Id: I08c438aaef3e5f0731fbd1b5fef79c87c75d3022
2016-02-26 16:04:07 +00:00
Jason Monk
74b493b7bf Merge "Add scroll indicators to QS editing" into nyc-dev 2016-02-26 16:03:34 +00:00
Jason Monk
904def83a3 Merge "Fix drag to add tiles showing too many times" into nyc-dev 2016-02-26 16:02:45 +00:00
Jason Monk
2b087ab077 Merge "Expose bssids for AccessPoints" into nyc-dev 2016-02-26 16:01:47 +00:00
Julia Reynolds
f0f629ffe4 Introduce IMPORTANCE_MIN.
Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699
2016-02-26 10:54:08 -05:00
Julia Reynolds
3070d75bf3 Merge "Remove inline settings slider." into nyc-dev 2016-02-26 14:41:31 +00:00
Daichi Hirono
9ae4a083d8 Merge "Stops performing operations that does not supported by MTP device." into nyc-dev 2016-02-26 07:21:24 +00:00
Daichi Hirono
0f32537e40 Stops performing operations that does not supported by MTP device.
MTP devices can return supported operation list. The CL sets root flag
by referring it.

BUG=26147375

Change-Id: I02397821e208cf5a8fcf7457aa279d2818ce24c7
2016-02-26 16:20:02 +09:00
Jaewan Kim
0709761020 Merge "PIP: Restore PIP size when PIP menu is gone" into nyc-dev 2016-02-26 06:13:27 +00:00
Jaewan Kim
9c23b28a22 PIP: Restore PIP size when PIP menu is gone
Change-Id: Ifb1bf992b875dc2cf10a3e9e05ca0b1fe6bd535b
2016-02-25 20:04:12 -08:00
Aga Wronska
6543be5c17 Fix SearchView background too high
Bug: 27293462
Change-Id: Id694fc9c1a7d6e21534e74e20f95c8c080861598
2016-02-25 17:19:17 -08:00
Felipe Leme
db31363aa9 Open bugreport info when touching notification (as well as DETAILS button).
Also added test case for CANCEL button on system notification.

BUG: 26906985
Change-Id: I92eac2e5ec18a8d1d4412f5c1832a52705caf3b3
2016-02-25 17:09:46 -08:00
Felipe Leme
17fc60e13c Merge "Using Message.obtain() to decrease number of Messages allocated." into nyc-dev 2016-02-26 00:32:29 +00:00
Philip P. Moltmann
594e131160 Merge "Force cancel pending RemotePrintDocument commands when the PrintActivity exits" into nyc-dev 2016-02-26 00:28:52 +00:00
Felipe Leme
8648a15406 Using Message.obtain() to decrease number of Messages allocated.
BUG: 26906985
Change-Id: Ide8c6e308dcc83e9627ec775a4d977d17cd2f0a9
2016-02-25 16:24:43 -08:00
Steve McKay
7a3b811122 Delete confirmation and notification improvements.
Bug: 27344527, 27347647, 27136182
Change-Id: Ia33f05b449a0bc30704e116287e18094e30382e0
2016-02-25 15:47:16 -08:00
Phil Weaver
8ca583b29f Merge "Accessibility to toggle multiwindow mode" into nyc-dev 2016-02-25 23:16:52 +00:00
Phil Weaver
315c34e7d6 Accessibility to toggle multiwindow mode
Encapsulating the logic to toggle multiwindow mode from recents,
and plumbing it through to accessibility global actions. Sending
accessibility events when windows bounds change. Exposing the
dock divider window type to accessibility services.

Bug: 27250995
Change-Id: Ib7491f1f853dc7f01bf5c5a4ac1f914f55d0608a
2016-02-25 15:13:11 -08:00
Jaewan Kim
91b440aaea Merge "PIP: Apply the latest UI spec for onboarding activity" into nyc-dev 2016-02-25 23:11:51 +00:00
Jaewan Kim
edd02dc159 PIP: Apply the latest UI spec for onboarding activity
Bug: 27273286
Change-Id: I57b3050e1f07ffbcee66e30404578937f65c3189
2016-02-25 15:06:40 -08:00
Felipe Leme
8c0412c8d3 Merge "Removed toast messsage sent after screenshot is taken." into nyc-dev 2016-02-25 22:20:30 +00:00
Winson Chung
fcd6e7cb72 Merge changes I4d542a09,Icd792ed4,I020dcbac into nyc-dev
* changes:
  Removing boot completed check before hiding Recents.
  Track double taps to launch the previous task.
  Dev preview changes for incompatible apps.
2016-02-25 22:19:32 +00:00
Winson
2799eca217 Removing boot completed check before hiding Recents.
- This was legacy from old code that was calling sendBroadcast(), and 
  with the event bus, we no longer need to wait until boot is completed
  before launching home.

Bug: 26616934
Change-Id: I4d542a096174ac8b69035836e9311cbf8340b15b
2016-02-25 14:17:16 -08:00
Winson
d93429076c Track double taps to launch the previous task.
Change-Id: Icd792ed4f508f8a8540a5cd2d12c3bdfd5827410
2016-02-25 14:17:05 -08:00
Winson
931845fcb3 Dev preview changes for incompatible apps.
- Disable drop targets when picking up a task that can’t be docked, and
  show toast notifying user (for now)
- When a task is docked, update the task headers for non-dockable tasks
  to indicate that they don’t support multi window.  Update these 
  headers every time the multi window state changes.

Bug: 26774190
Change-Id: I020dcbac9b1230dba166eecaa12366986e684f9e
2016-02-25 14:16:23 -08:00
Jaewan Kim
0d2d1f7b6f Merge "PIP: Apply the latest UI spec for PIP menu" into nyc-dev 2016-02-25 21:50:48 +00:00
Jason Monk
c5bdafb776 Make sure QS tile layouts don't have overlapping rendering
Bug: 27361901
Change-Id: I177bbf8c0d13b0e9595d9b95c87eb01df1bc7d05
2016-02-25 21:34:46 +00:00
Jason Monk
493497178a Merge "Fix QS Issues" into nyc-dev 2016-02-25 21:10:52 +00:00
Felipe Leme
5d9000aa45 Removed toast messsage sent after screenshot is taken.
That toast was kind of reduntant (since the phone already vibrates
before taking a screenshot) and often useless (because it was displayed
seconds after requested).

BUG: 26577203
Change-Id: I0ba6f974eefd473d158f7fefb12f6a5d2a50b772
2016-02-25 13:10:14 -08:00
Jason Monk
cb9fdca792 Add scroll indicators to QS editing
Bug: 27220234
Bug: 27251104
Change-Id: I678af59401a98fb272c1d29b9c5e3c925d9ec7a5
2016-02-25 15:55:53 -05:00
Selim Cinek
d5ec83069d Merge "Allowing to expand the children from the lockscreen now" into nyc-dev 2016-02-25 20:51:20 +00:00
Selim Cinek
cb24ab8e59 Allowing to expand the children from the lockscreen now
Bug: 24866646
Change-Id: Ibb4dc98e8148b912253153065c9c35e22a06f334
2016-02-25 12:50:23 -08:00
Jason Monk
c0e015a495 Merge "Guard against monkey crash" into nyc-dev 2016-02-25 20:47:13 +00:00
Jason Monk
cb654cb172 Fix drag to add tiles showing too many times
It was appearing from the night tile being unavailable and causing
extra nulls in the list.  Fix the night mode tile so the nulls don't
happen.  Also fix the null handling to avoid this happening with other
bad specs.

Bug: 27061683
Change-Id: I48f769c06ed17c2ff1f166434857ec1faff14d02
2016-02-25 15:43:07 -05:00
Selim Cinek
a0d65ecf77 Merge "Fixed a bug with the scrolling after expanding a notification" into nyc-dev 2016-02-25 20:40:13 +00:00
Julia Reynolds
4077945e1b Remove inline settings slider.
Bug: 22451710
Change-Id: Ia4f85569f878531102d91564d0728a94783cc79d
2016-02-25 15:39:35 -05:00
Philip P. Moltmann
645a3e1ca6 Force cancel pending RemotePrintDocument commands when the PrintActivity exits
Otherwise the print-client app can prevent the print activity from exiting as
we wait for the command to finish. As this is a violation of the
remote-print-document contract we deal with this similar to a command failure.
As the PrintActivity is exiting we don't further send any commands to the
print-client.

Bug: 27207751
Change-Id: Ieacb16786112f217ca5b8031bfb597598e28dc3d
2016-02-25 12:36:27 -08:00