Commit Graph

55394 Commits

Author SHA1 Message Date
Martijn Coenen
6c89fa4988 Merge "Improve NFC-F transceive() docs." am: 1f4f7190a8
am: 21ab24f5c7

* commit '21ab24f5c7a1659981fab2764e406f51e9d3eada':
  Improve NFC-F transceive() docs.
2016-02-05 17:26:37 +00:00
Fergus Henderson
ad086d740d Merge "Decrease the key progress increment step size to allow finer control of seekbar using keys. Bug:26926346 Change-Id: Ic7d290552c102d8602275f19dac4d57de4a53297" 2016-02-05 16:51:58 +00:00
Alan Viverette
1a2941541a Merge "Multi-user support for display density changes" 2016-02-05 16:03:58 +00:00
Chris Wren
ee0b93a5a0 Merge "Revert "move assistant to system API"" 2016-02-05 15:50:38 +00:00
Chris Wren
3b543ca859 Revert "move assistant to system API"
This reverts commit c441856bb6.
2016-02-05 10:49:22 -05:00
Alan Viverette
6486324d24 Merge "Ensure Bitmap.getDefaultDensity() matches DENSITY_DEVICE" 2016-02-05 15:30:28 +00:00
Chris Wren
c441856bb6 move assistant to system API
Bug: 22455414
Change-Id: I2fbb37fceef3058bc70d540a58fdcd8af5e7a76d
2016-02-05 08:22:18 -05:00
shwetachahar
4e9a64929b Decrease the key progress increment step size to allow finer control of
seekbar using keys.
Bug:26926346
Change-Id: Ic7d290552c102d8602275f19dac4d57de4a53297
2016-02-05 11:51:50 +00:00
Shreyas Basarge
181a43103b Merge "Add more logging to JobScheduler" 2016-02-05 11:51:33 +00:00
Martijn Coenen
21ab24f5c7 Merge "Improve NFC-F transceive() docs."
am: 1f4f7190a8

* commit '1f4f7190a8fe6bd87fd9dd198cb711cb1a540354':
  Improve NFC-F transceive() docs.
2016-02-05 09:44:28 +00:00
Martijn Coenen
1f4f7190a8 Merge "Improve NFC-F transceive() docs." 2016-02-05 09:38:16 +00:00
Martijn Coenen
6711e02033 Improve NFC-F transceive() docs.
It wrongly said the SoD included the length;
put a sample frame in the docs to help devs.

Change-Id: I8ea74f37e7335f3e05f7df81fc303bf6195ac3cc
2016-02-05 10:26:16 +01:00
Roozbeh Pournader
c9088c5d1b Merge "Various LocaleList cleanups" 2016-02-05 01:38:57 +00:00
Roozbeh Pournader
fee4484637 Various LocaleList cleanups
- Remove the LocaleList#getPrimary() API. It had become confusing
  after locale negotiation was completely implemented. For example,
  it could create the confusion that calling getPrimary() on the
  default locale list would provide the default locale, etc.
- Use the adjusted locale list from LocaleList.getAdjustedDefault()
  in Paints created with no locale list provided.
- Change LocaleList#get() to treat out of bound indexes from both
  negative indexes and too large indexes the same way.

Bug: 26984092
Bug: 26193251
Bug: 26834387
Change-Id: I75f77aea6b75e38793ed8477e5e5a4420d5e6d85
2016-02-04 15:44:03 -08:00
Jorim Jaggi
5bef2fcce8 Merge changes If489d2ba,I1fe12181,Ieb4f586a,Ib51163a0,Ifdfcf3ad, ...
* changes:
  Hide swipe-up gesture behind tuner flag
  When long pressing recents and already docked, undock
  More multi-window fixes
  Use separate flag to suppress resizes
  Only treat "null" bounds as fullscreen
  Exclude stable insets from task config
  Fix bug where surface was not clipped off during resizing
  Fix crash in SysUI when configuration changes
2016-02-04 22:49:52 +00:00
Jorim Jaggi
9511b0f1e9 Fix bug where surface was not clipped off during resizing
When dragging the divider in a way such the task size goes through
the following transition

- Half size
- Full screen
- Half size

the surface wasn't clipped off anymore. This was because in full
screen configuration, computeDragResizing() == false thus when
going full screen -> half size, we reset the draw state to
DRAW_PENDING to get notified when it has finished drawn. However,
this also broke clipping.

In order to fix this, we always put the window into a resizing mode
no matter whether the bounds are fullscreen or not.

However, this introduces an ugly flickering on the navigation bar,
when going into docked mode, because the app doesn't draw navigation
bar background in resize mode.

To fix that, we calculate the presence of navigation bar whether the
window is fullscreen, and not just whether it's resizing. For that,
we need to calculate the presence in BackdropFrameRenderer, by using
the insets just sent by window manager.

Change-Id: Idf56df4ae7fefe67d068bc2eeda8dc4d83bbefb7
2016-02-04 14:36:46 -08:00
Dimitry Ivanov
2343f8dfcd Merge "Workaround for apps loading foreign native libs" 2016-02-04 22:13:53 +00:00
Dimitry Ivanov
add74a4629 Workaround for apps loading foreign native libs
Bug: http://b/26954419
Change-Id: I4272d015213b386abc1b04c0349cf1b081288058
2016-02-04 14:11:58 -08:00
Alan Viverette
2ac46f1bda Ensure Bitmap.getDefaultDensity() matches DENSITY_DEVICE
Otherwise bitmaps constructed without a target display are incorrectly
scaled by a factor of (DENSITY_DEVICE / DENSITY_DEFAULT) when rendered
to a Canvas whose density has been specified correctly.

Bug: 26817900
Change-Id: I45edfc7c0cbdf84a267d5bedacb0548659ede301
2016-02-04 16:58:14 -05:00
Vladislav Kaznacheev
0975a8dda6 Merge "Support resource references in pointerShape attributes." 2016-02-04 21:28:39 +00:00
Doris Liu
5a11e8d0ba Revert "VectorDrawable native rendering - Step 4 of MANY"
b/26949340 and b/26975469, b/26975079 as well 

This reverts commit f276acd984.

Change-Id: I4b55177daf0d289bc03604c71fd4bf579f65073a
2016-02-04 20:59:00 +00:00
John Reck
0a1abd3247 Merge "Have RT drive window positioning" 2016-02-04 19:32:57 +00:00
John Reck
f648108f83 Have RT drive window positioning
Bug: 22802885

Change-Id: I6beed5474d3a943b16e9097f7bd61ce3cbd37505
2016-02-04 11:23:49 -08:00
Sudheer Shanka
57218cbbf7 Merge "Made changes to fix some policy transparency options." 2016-02-04 19:14:14 +00:00
Selim Cinek
ae7c208adf Merge "Apapted the touch region for notification headers" 2016-02-04 18:30:01 +00:00
Selim Cinek
c1e3a38d29 Merge "Not truncating notification info anymore" 2016-02-04 18:29:41 +00:00
Roozbeh Pournader
37c80bc984 Merge "Add CharSequence interfaces for BidiFormatter" 2016-02-04 18:05:54 +00:00
Mikhail Naganov
cc83ea7967 Merge "Make flags related for "external services" public" 2016-02-04 17:41:19 +00:00
Felipe Leme
5f5d707bad Defined an intent to let apps launch the Data Saver settings screen.
BUG: 26451391
BUG: 26820898
Change-Id: Ie9dbe2d08d362aa548e385967d101faafb87c9b7
2016-02-04 17:20:13 +00:00
Filip Gruszczynski
1ad24fe228 Merge "Infrastructure for animating of maximizing pip activity." 2016-02-04 17:16:53 +00:00
Filip Gruszczynski
c17d8b79af Infrastructure for animating of maximizing pip activity.
Bug: 25672053
Change-Id: Ie8a83c626680e01ff7115f40731ab9e6c13769c0
2016-02-04 09:01:05 -08:00
Alan Viverette
d50ed370f3 Merge "Improve handling of popup window exit when host window goes away" 2016-02-04 16:09:09 +00:00
Shreyas Basarge
d8bf6b9fed Add more logging to JobScheduler
Improves logging in perioidc job period clamping.
Added sourcePackage to dumpsys in JobScheduler.

Bug: 26874152
Change-Id: Iaccd6df3e70dfcae16e983893a708342fda637b3
2016-02-04 14:34:46 +00:00
Steven Ng
ee081d5bd0 Merge "Add new permission and action for managed provisioning (QR flow)" 2016-02-04 10:24:44 +00:00
Selim Cinek
4c4c7384d4 Apapted the touch region for notification headers
Also fixed that RTL wasn't working correctly.

Change-Id: I597b346792fc837bb3a6eb5aa2f23c5c47a7cf57
2016-02-03 20:30:21 -08:00
Selim Cinek
413142a1c1 Not truncating notification info anymore
Bug: 26860987
Change-Id: I4803ce93aa6b70a80ebb478cba29bd4b6be2277f
2016-02-03 20:30:20 -08:00
Roozbeh Pournader
2f35c6405e Add CharSequence interfaces for BidiFormatter
The previous code just supported strings, but there were requests for
using BidiFormatter while keeping the spans.

Bug: 26967041
Change-Id: If2a1eeaf2cf1eedff3a83b79a105ea79ed1b85c1
2016-02-03 18:44:15 -08:00
Sudheer Shanka
569258689a Made changes to fix some policy transparency options.
Add isInputMethodPermittedByAdmin and
isAccessibilityServicePermittedByAdmin APIs in DevicePolicyManager.
And update utility methods in RestrictedLockUtils to use the correct
userId when checking if disabled by admin.

Bug: 26897250
Bug: 26767564
Bug: 26966213
Change-Id: I0b74b3e57904a82f8ce72d856769d35b5e8403e5
2016-02-04 01:12:44 +00:00
Andre Eisenbach
7cbc1aeecd Merge "Implementation of BluetoothDevice.createBondOutOfBand"
am: 026a58476b

* commit '026a58476ba219bcc08608c2e6156683c9158d5d':
  Implementation of BluetoothDevice.createBondOutOfBand
2016-02-04 00:35:32 +00:00
Mikhail Naganov
278fb3b359 Make flags related for "external services" public
ServiceInfo.FLAG_EXTERNAL_SERVICE is set when the service is
exported with the new public manifest attribute "android:externalService"

Context.BIND_EXTERNAL_SERVICE is used by clients when they
are binding such service.

Bug: 22084679
Bug: 21643067
Change-Id: Ifd708f90b47a1571cd54c5ec9fc217f0567d5ff4
2016-02-03 16:22:33 -08:00
Jakub Pawlowski
c28caad44b Implementation of BluetoothDevice.createBondOutOfBand
This patch implements out of band pairing that uses optional data.
Currently, it works only for LE transport, using Temporary Key value.
In the future fields might be added to OOBData to support other options for
optional data.

Change-Id: I0811182efb72ac5f80521ed4876b32603cb628c1
2016-02-03 16:12:47 -08:00
Vladislav Kaznacheev
1ad6ec2054 Support resource references in pointerShape attributes.
Previously pointerShape value could only be one of the
system pointer shape names (such as "hand" or "arrow").

This CL introduces support for such syntax as:
android:pointerShape="@drawable/custom_pointer_icon"

Change-Id: Ic5276da66367fbfb8e6195434421bac0667198c1
2016-02-03 16:12:12 -08:00
Alan Viverette
3caad43a1f Merge "Preserve TextView mDrawables if it has metadata (ex. tint or padding)" 2016-02-03 22:03:21 +00:00
Alan Viverette
5e8d837894 Multi-user support for display density changes
Bug: 26942569
Change-Id: Ie44aed00619c5e5604b3d48a3a9d0fc38b0ef0eb
2016-02-03 15:38:59 -05:00
Sunny Goyal
40dedd5a97 Merge "Added support for async inflation of RemoteViews" 2016-02-03 19:31:09 +00:00
Alan Viverette
634a808226 Improve handling of popup window exit when host window goes away
- Exit immediately if the anchor root is already detached
- End ongoing transition if anchor root is detached while exiting

Bug: 25691021
Change-Id: I8f9e721fba965060dc830ab3b674526def53f4ad
2016-02-03 14:22:41 -05:00
Antonio Cansado
1e3f04f090 Merge "Adding a callback to notify data usage." 2016-02-03 18:16:51 +00:00
Alan Viverette
1c9d20b535 Preserve TextView mDrawables if it has metadata (ex. tint or padding)
Bug: 26939206
Change-Id: Iccc8b3d50e93e50685d050ca6ea191708a0e6171
2016-02-03 10:45:55 -05:00
Clara Bayarri
5b5bda42f0 Merge "Keyboard Shortcuts Helper: Use App name for default group" 2016-02-03 12:17:12 +00:00
Clara Bayarri
ada88b36af Keyboard Shortcuts Helper: Use App name for default group
Change-Id: I802dd6c9dcc838b9f06b29b99dc47dd93634d98b
2016-02-03 11:45:20 +00:00