240152 Commits

Author SHA1 Message Date
Alan Viverette
071510dc46 Merge "Basic documentation for custom drawables" into nyc-dev 2016-04-14 17:28:11 +00:00
Jaewan Kim
cac7b221ae Merge "PIP: Implement new onboarding spec" into nyc-dev 2016-04-14 17:21:39 +00:00
Doug Felt
00374616b3 Merge "Update fonts.xml file for new noto fonts." into nyc-dev 2016-04-14 17:20:18 +00:00
Pavel Zhamaitsiak
070b73a46d Merge "Consolidate WiFi Calling string resources" into nyc-dev 2016-04-14 17:16:41 +00:00
Chris Craik
5ce4e2e78f Merge "Avoid reentrance on ClipArea APIs" into nyc-dev 2016-04-14 17:12:20 +00:00
Chris Craik
2344c6a2ae Merge "Destroy drawing cache when switching layer type" into nyc-dev 2016-04-14 17:07:35 +00:00
Alan Viverette
b9e6ad32bd Make number picker styles public
Bug: 28189144
Change-Id: Ic1825c211bf76ea8b063996895f4a273ac0c7fd4
2016-04-14 13:01:41 -04:00
Jaewan Kim
8ad841944e PIP: Update the focusability of recents row whenever Recents is shown
Bug: 28175628
Change-Id: I39da6ca3a8d379b85cea2341b3b61f93bf8cada4
2016-04-14 17:01:30 +00:00
Jaewan Kim
419c89533a PIP: Fix regressions
This includes following fixes
- Press back key to go to Home from Recents
- Do not show Recents when an activity is PIPed immediately after moved
  to fullscreen.

These regressions are caused by
c81082b Improve Animation Calculations to remove Jank

Bug: 28107787
Change-Id: I3078a5d8a9505c8d03cceee329e5d740efae7feb
2016-04-15 01:50:04 +09:00
Alan Viverette
d51afa4525 Merge "Update day of week labels when setting month params in SimpleMonthView" into nyc-dev 2016-04-14 16:27:34 +00:00
Rob Carr
b33daec8c2 Merge "Add WindowManager side timeout for toasts." into nyc-dev 2016-04-14 16:23:24 +00:00
Jaewan Kim
9d712faa45 PIP: Implement new onboarding spec
Bug: 27954437
Change-Id: Ib939a4ca5f304821036a43971ae7f45b7802ed8a
2016-04-15 01:17:42 +09:00
Gustav Sennton
95f7e8e06d Fix the behaviour for explicitly switching WebView provider
Before this CL when we tried to change WebView provider through the Dev
setting and failed we would then have the setting point to the provider
used before the change. With this CL we instead let the setting point to
the intended target but also switch to the package which the
WebViewUpdateService see as most fit (rather than just reverting back to
the original choice).

Add unit tests to verify we kill processes depending on WebView
packages when switching WebView provider.

Add unit tests to ensure we can recover from trying to change provider
when there are no providers available.

Bug: 27673076
Bug: 27635535
Change-Id: Ie7bb6afdf8acf4344cfb363947929c0b492775fb
2016-04-14 16:50:32 +01:00
Andrei Stingaceanu
671e86605c Merge "Keyboard shortcuts: one instance refactor" into nyc-dev 2016-04-14 15:40:48 +00:00
Andrei Stingaceanu
f86bc97626 Keyboard shortcuts: one instance refactor
Make all the instance public methods private
and add static methods to control the behavior:
* show
* dismiss
* toggle

Make sure we only deal with one instance of the
KeyboardShortcuts (previously both the
KeyboardShortcutsReceiver and BaseStatusBar were
creating instances).

Makes sure the instance is destroyed when dismissing
and when showing it either creates a new one if none
exists or reuses the existing one.

Also fixes an existing nasty issue where in order
to dismiss the dialog from BaseStatusBar we were
always first creating a new instance.

Bug: 28012198
Change-Id: I207553dd45ae535edc64b6292a472fa0899029b0
2016-04-14 16:37:08 +01:00
Calin Juravle
53553d3bcd Merge "Handle dalvik.vm.jitprithreadweight property" into nyc-dev 2016-04-14 15:24:11 +00:00
Alan Viverette
112f0aa28e Basic documentation for custom drawables
Bug: 23621364
Change-Id: Ia292433ebd40d4c85ff6974def3d1f4b26926b52
2016-04-14 11:22:44 -04:00
Sid Soundararajan
ac5a240f05 Merge "Add a fall back for when the thumbnail is not generated for a task" into nyc-dev 2016-04-14 15:19:24 +00:00
Jason Monk
dea7075249 Merge "QS Edit: Fix drag to add tiles going away" into nyc-dev 2016-04-14 14:57:45 +00:00
Jason Monk
42317eade5 QS Edit: Fix drag to add tiles going away
Change-Id: I421717066e6effde6dade7ef498877aa8834abdd
Fixes: 28153092
2016-04-14 10:53:42 -04:00
TreeHugger Robot
82676d9f88 Merge "API Review: Improve javadoc of EXTRA_REMOTE_INPUT" into nyc-dev 2016-04-14 14:45:00 +00:00
Julia Reynolds
8a46d52304 Merge changes I6b52e378,I1699e6bf into nyc-dev
* changes:
  Phone call vibrate should obey user preference.
  Adjustment bundles are defusable.
2016-04-14 14:42:54 +00:00
Alan Viverette
08dbbcdc9b Update day of week labels when setting month params in SimpleMonthView
Bug: 27310206
Change-Id: I40c09fb5dddb202a17ac9c6ecee1d6f40644d9e6
2016-04-14 10:15:04 -04:00
Daniel Sandler
3af45bd2d0 Merge "Allow system apps to substitute a different app name in notifications." into nyc-dev 2016-04-14 13:53:19 +00:00
Dan Sandler
732bd6cb27 Allow system apps to substitute a different app name in notifications.
This is a privileged permission and is only to be used by
the core OS and related packages whose names are confusing
or misleading when shown in notifications.

The user will always be able to see the true package name by
accessing the notification inspector (longpress or swipe
gesture on the notification row in SystemUI).

Fixes: 26517701
Change-Id: I2b021c9da0757b99df76399666af263668d88070
2016-04-14 13:48:03 +00:00
Julia Reynolds
d28967f489 Phone call vibrate should obey user preference.
Bug: 27353237
Change-Id: I6b52e378c9e664600720025af30596be09aeb19d
2016-04-14 09:37:08 -04:00
Gustav Sennton
cd8f2737cc Verify WebView package info before loading WebView
To ensure that the package we are using to load WebView is a valid
provider we need to verify this before loading WebView - not only when
choosing what package to use.

Bug: 27900925
Change-Id: If57ca32a7a3fa08735a3b8ea9ed268c1bb1b8ede
2016-04-14 14:19:07 +01:00
Julia Reynolds
dbf4481cc3 Adjustment bundles are defusable.
Bug: 28168811
Change-Id: I1699e6bfd03a5f117cc89585c03e235fe6a99456
2016-04-14 08:54:45 -04:00
Nicolas Prevot
c662898a18 Call notifyLockedProfile in TrustManagerService instead of KeyguardViewMediator.
Setting the profile as locked is not synchronous.
In some cases, KeyguardViewMediator called notifyLockedProfile before
TrustManagerService had actually marked the profile as locked.

BUG:28161912

Change-Id: Ic2ad302c74806ae368d56050eb31503a8ef0bd38
2016-04-14 13:46:39 +01:00
Niels Egberts
e767e1bc17 Merge "Fix issue when QUEUE_DESTROY arrive at the same time." into nyc-dev 2016-04-14 12:33:05 +00:00
Gustav Sennton
45e2966da9 Merge "Update persistent WebView packages setting only when user changes it." into nyc-dev 2016-04-14 10:58:42 +00:00
Gustav Sennton
f014c74ec4 Merge "Ensure at least one default-available webview package is a non-fallback" into nyc-dev 2016-04-14 10:25:14 +00:00
TreeHugger Robot
0628d324d0 Merge "Also log IPv4 and IPv6 connectivity of any previous default network" into nyc-dev 2016-04-14 10:14:20 +00:00
Clara Bayarri
6e58549740 Merge "Provide startIntentSenderForResult for fragments" into nyc-dev 2016-04-14 10:05:35 +00:00
Bernard Chau
25c43b78d1 Merge "Includes both direct boot aware and unaware apps in Apps default view" into nyc-dev 2016-04-14 09:40:00 +00:00
TreeHugger Robot
73ba4a7136 Merge "Filter out ACTION_UP events in onKey() listener." into nyc-dev 2016-04-14 09:32:20 +00:00
Erik Kline
48f12f2ad6 Also log IPv4 and IPv6 connectivity of any previous default network
Change-Id: I07595c0a131fea21914f524949cd64af87403b88
2016-04-14 17:54:46 +09:00
Hugo Benichi
fc18b6f360 Merge "Add DHCP error event class and record DHCP errors." into nyc-dev 2016-04-14 08:01:31 +00:00
Daichi Hirono
b12733481b Filter out ACTION_UP events in onKey() listener.
Previously we invokes performeSave both for ACTION_DOWN and ACTION_UP,
thus it creates two documents.

Change-Id: I7fc2a62c34fc239c2bf3ca6c71122e360d589727
Fixes: 28179791
2016-04-14 16:54:47 +09:00
Pierre Imai
1feca76bd4 Merge changes Ia71865a9,I40b6de54 into nyc-dev
* changes:
  Log an event whenever we lose the default network.
  Record the transport types for connectivity events.
2016-04-14 07:25:34 +00:00
Hugo Benichi
6241874355 Add DHCP error event class and record DHCP errors.
This patch adds an event class derived from IpConnectivityEvent that
records parsing errors of DHCP response packets.

Change-Id: I19516cf05e3419c4262e3236899e52987e5f2264
2016-04-14 15:40:10 +09:00
Pierre Imai
04e22225a7 Log an event whenever we lose the default network.
Change-Id: Ia71865a90b2db5dc0d3ad627563a6b1f99686f04
2016-04-14 15:38:29 +09:00
Pierre Imai
6b4e15b155 Record the transport types for connectivity events.
BUG: 25691077
Change-Id: I40b6de5446325e717c0356603fd66cd395db9acb
2016-04-14 15:38:17 +09:00
Jaewan Kim
a6d383d102 Merge "PIP: Fix runtime crash in System UI" into nyc-dev 2016-04-14 06:28:58 +00:00
Jaewan Kim
2e27de2ea0 PIP: Fix runtime crash in System UI
Bug: 27677096
Change-Id: I182e29962b5da8355f729287a4abde1e73e66e42
2016-04-14 15:18:46 +09:00
Zhijun He
15aac69c8f Merge "Camera: clarify lens shading map" into nyc-dev 2016-04-14 05:20:45 +00:00
Dongwon Kang
353d8d78ac PipManager: Revisit the logic for PIP close for TV app case
Bug: 26644185
Change-Id: I566f965796bc5a50b4e2ecf08b7217c6565cb163
2016-04-13 21:55:22 -07:00
Hugo Benichi
fbd47caf40 Merge "Add volatile qualifier to boolean variable" into nyc-dev 2016-04-14 04:19:50 +00:00
Yuki Awano
0697c7a877 Do not update accessibilityTitle in
LayoutParams.setTitle

Bug: 28126629
Change-Id: Idfd8c0210d32e1a0e9c16272cfbb35ef6065e805
2016-04-14 04:16:18 +00:00
Dianne Hackborn
37ce022189 Merge "Fix issue #28156248: Receiving connectivity receiver..." into nyc-dev 2016-04-14 04:16:10 +00:00