Commit Graph

61047 Commits

Author SHA1 Message Date
Phil Burk
deaa8d94fd Settings: add ENCODED_SURROUND_OUTPUT
Support AUTO, ALWAYS or NEVER preference for using AC3 and DTS.

Bug: 24541671
Change-Id: I423969882d18d99ce93bea57d10bdb1da7063b7a
Signed-off-by: Phil Burk <philburk@google.com>
2016-02-24 13:24:54 -08:00
Selim Cinek
1a3ca220f7 Merge "Fixed a bug where the numpad wasn't working correctly" into nyc-dev 2016-02-23 00:56:09 +00:00
Selim Cinek
f1c6371587 Merge "Made the Chronometer able to count downwards" into nyc-dev 2016-02-23 00:55:26 +00:00
Abhijith Shastry
3b31ddd517 Merge "Rename suppressal to suppression." into nyc-dev 2016-02-23 00:11:27 +00:00
Abhijith Shastry
4478fdc3f2 Rename suppressal to suppression.
BUG: 26989170
Change-Id: Iafa21b885f7df7f5ec5e46f3fad095cf1a531cfc
2016-02-22 16:07:14 -08:00
Selim Cinek
ce2bd0fac7 Fixed a bug where the numpad wasn't working correctly
Also accepting the enter key now from the numpad as a
confirm key.

Bug: 27108451
Change-Id: I63dbd4b6cad3d2dce74e297dcb7abad9c5e66cbe
2016-02-22 15:57:02 -08:00
Selim Cinek
ed1a33cc86 Made the Chronometer able to count downwards
Bug: 26862188
Change-Id: I3a4a34ffccdbcbcb8001b1894ce47bb75b11821d
2016-02-22 15:56:56 -08:00
Jorim Jaggi
7587e38992 Merge "Restrict dock sides after rotation" into nyc-dev 2016-02-22 22:07:54 +00:00
Jorim Jaggi
5060bd8910 Restrict dock sides after rotation
Bug: 27167078
Change-Id: If51626b75321eebc277eb2399ee753ffe489642b
2016-02-22 16:59:43 -05:00
Yohei Yukawa
5a19477ec4 Merge "Unify windowGainedFocus() and startInput()." into nyc-dev 2016-02-22 21:52:56 +00:00
Yohei Yukawa
05c25f8a3a Unify windowGainedFocus() and startInput().
This is a safe refactoring that changes nothing.

In order to improve the keyboard dismissal lags [1][2], we have used
IMMS#windowGainedFocus() as a combined event to do startInput() in
certain situations.

To make the intent of those CLs clear, this CL renames
IMMS#windowGainedFocus() to IMMS#startInputOrWindowGainedFocus().  Note
that these are @hide internal IPC protocols.  Hence this change is never
observable to application developers.

 [1] I8494cbd6e19e2ab6db03f2463d9906680dda058b
     a82ba54b0b
 [2] Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb
     7663d80f6b

Bug: 25373872
Change-Id: I56934f18e30d90fcdf77bcbb0c35a92a5feb1b82
2016-02-22 12:41:17 -08:00
Joe LaPenna
90776de6bb Allow button events in ambient.
See thread: "key presses & Ambient"

Bluetooth media button presses and Stem buttons were being rejected in ambient.  This change allows those keys while disabling touch events while in ambient.

BUG: 25964771
BUG: 26524301

Change-Id: I914edd447c38678a06d27677be4597c0ee384635
(cherry picked from commit 7528f57c4d)
2016-02-22 20:39:48 +00:00
Keisuke Kuroyanagi
f2629d481e Merge "Make drag shadow grapheme cluster aware." into nyc-dev 2016-02-22 19:40:13 +00:00
Keisuke Kuroyanagi
5396d7eb13 Make drag shadow grapheme cluster aware.
[start, min(end, DRAG_SHADOW_MAX_TEXT_LENGTH)) was used to make drag
shadow. It ignores grapheme cluster, so unexpected shadow was created for
characters that contain multiple code units.

Bug: 23097276
Change-Id: Ic7d34ec02ea04a3f17337e4253babac87ef3b03c
2016-02-22 19:37:26 +00:00
Tao Bao
9de7952aa9 Merge "Add support for update-on-boot feature." into nyc-dev 2016-02-22 19:24:25 +00:00
Chad Brubaker
62df07eee1 Merge "Use provided context directly" into nyc-dev 2016-02-22 19:11:51 +00:00
Chad Brubaker
7879b8f4ab Use provided context directly
getApplicationContext may return null so use the provided context
instead.

Bug:27293859
Change-Id: Ic3b218bf5b0c23982c75a793f0374870bd8e9da1
2016-02-22 11:08:59 -08:00
Dimitry Ivanov
05ba2b724c Merge "Construct classloader for apps with no java code" into nyc-dev 2016-02-22 18:24:14 +00:00
Chris Banes
6cb9b20b7b Fix rounding error in SeekBar tickmark drawing
There are instances where an int calculation would result
in a loss of precision and rounding error. Fixed by
using a float instead.

Change-Id: I595872f00552a7fd717a1754c1d8f5a50d776621
2016-02-22 16:13:26 +00:00
Esteban Talavera
d34718b6b9 Merge "Updated removeActiveAdmin documentation" into nyc-dev 2016-02-22 13:25:15 +00:00
Calin Juravle
30eb5b30e7 Merge "Change the location of profile files." into nyc-dev 2016-02-22 11:42:02 +00:00
Polina Bondarenko
280c5b2155 Merge "Added hardwareproperties SystemService" into nyc-dev 2016-02-22 09:27:21 +00:00
Erik Kline
adc49e8fd5 Delete all NetworkUtils DHCP-related code.
am: c3b52bc466

* commit 'c3b52bc46604cb18d74fbe13dda15f4679222107':
  Delete all NetworkUtils DHCP-related code.
2016-02-22 09:16:16 +00:00
Erik Kline
c3b52bc466 Delete all NetworkUtils DHCP-related code.
Bug: 26991160
Change-Id: I2c74e0161f43f65c1b6a85dc9f294b64c8f1ae6e
2016-02-22 15:14:31 +09:00
Svet Ganov
9cea80cddd No overlay when permissions shown - framework
bug:26973205

Change-Id: I88395e47649191bb7db6dd8723c49e741ef4f1e4
2016-02-20 17:41:47 +00:00
Dianne Hackborn
9d3a4e1c31 Merge "Implement lenient background check option." into nyc-dev 2016-02-20 02:12:38 +00:00
Hui Shu
b3e63f9daa Merge "Support for webview drag and drop" into nyc-dev 2016-02-20 02:08:12 +00:00
Siyamed Sinir
74615b9859 Merge "JavaDoc for ReplacementSpan getSize & draw functions." into nyc-dev 2016-02-20 01:52:38 +00:00
Hui Shu
ecdce961ea Support for webview drag and drop
WebView needs to override onDragEvent to accept drops from other apps.

BUG: 27039417
Change-Id: Ie81c5ac325091cf78440785e04afcc01ddcbaab3
2016-02-20 01:51:14 +00:00
Dianne Hackborn
b2117d15d1 Implement lenient background check option.
Which really means, make background check much more
strict, with an option to revert to the more lenient
behavior.

In this strict version, an app can't have services
started or receive broadcasts at any point when it is
not foreground.  Also, it doesn't matter the importance
of a caller trying to start a service, it only depends
on the state of the app whose service is being started.

A new activity shell command allows you to control
whether to use the strict or lenient behavior.

Change-Id: I7f5a50b52881b5c8f9d8b6c8c622d3652a769fd7
2016-02-19 16:51:25 -08:00
Yohei Yukawa
263e21f12c Merge "Remove unused InputMethodInfo#isEncryptionAware()." into nyc-dev 2016-02-20 00:33:22 +00:00
Svetoslav Ganov
3c3e271447 Merge "Discard prefetched disconnected predecessors of a virtual node." into nyc-dev 2016-02-20 00:32:58 +00:00
Svet Ganov
75e5816102 Discard prefetched disconnected predecessors of a virtual node.
bug:18247269

Change-Id: I24f1ed1e9aa44fbb847722833fe68a1eef7e92c5
2016-02-19 16:29:33 -08:00
Yohei Yukawa
d9550a7545 Remove unused InputMethodInfo#isEncryptionAware().
This logically reverts a previous CL [1], which added
InputMethodInfo#isEncryptionAware() for File-Based Encryption (FBE)
support, since it turns out that the method in question is unnecessary
to make InputMethodManagerService encryption-aware.

  [1]: Icf921fe3661eccf4a589b08b616d05decc561356
       69811a98f1

Bug: 26279466
Change-Id: Ia4884bf5922ad453d4b9e5e3c6f0d17b36dc205d
2016-02-20 00:16:32 +00:00
Vadim Tryshev
a6a127747a Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev 2016-02-20 00:11:41 +00:00
Selim Cinek
c68190ae90 Merge "Add support for custom media notifications" into nyc-dev 2016-02-19 23:04:42 +00:00
Selim Cinek
54c857cda6 Merge "Cleaned up the logic for the picture end margin" into nyc-dev 2016-02-19 23:04:26 +00:00
Selim Cinek
24ffe236b1 Merge "Media notifications now properly respect font size changes" into nyc-dev 2016-02-19 23:04:15 +00:00
Selim Cinek
3c306d8acd Merge "Added the possibility to show custom notifications decorated." into nyc-dev 2016-02-19 23:03:38 +00:00
Jorim Jaggi
82c9dc951e Fix configuration calculation when task is non-fullscreen
Apparently only the navigation bar is excluded when calculating
Configuration.screenLayout. Make the calculation for non-fullscreen
tasks consistent with fullscreen tasks.

Change-Id: I027e41e49ffe95245116f3d134e0bc93af0ee450
2016-02-19 22:59:34 +00:00
Yorke Lee
dcd93cc21a Add Wallpaper.getBitmapAsUser()
Add a new API to allow a wallpaper bitmap to be obtained for
a specific user.

Without this API, using only getWallpaperFile(..., userId), one
can't get a default wallpaper bitmap if the wallpaper is not set.

Bug: 25185253
Change-Id: Ibe1e9a49d22bee08fd4bed415573c1ee28526aea
2016-02-19 14:47:39 -08:00
Doris Liu
46151a4739 Merge "End staging animators when destroy RootRenderNode" into nyc-dev 2016-02-19 22:45:55 +00:00
Doris Liu
e87a74e1a3 Merge "Revert "Revert "Check RenderNode's owning view before attaching animators""" into nyc-dev 2016-02-19 22:45:16 +00:00
Doris Liu
0a1cdee33e Merge "VectorDrawable native rendering - Step 5 of MANY" into nyc-dev 2016-02-19 22:44:52 +00:00
Jorim Jaggi
36548847f2 Merge "Fix clip reveal animation in docked window case" into nyc-dev 2016-02-19 22:27:32 +00:00
Doris Liu
350e65206c End staging animators when destroy RootRenderNode
When animation happens in a dialog, it is possible for the dialog to
be dismissed and RootRenderNode to be destroyed before we create
animation handle for the staged animators. In that case, we need
to remove the staged animators so they will not run without a
animation handle.

Bug: 26975079
Change-Id: I0c2c6c1b530beaec3984c0b1c410df4fd8f25c95
2016-02-19 14:20:37 -08:00
Jorim Jaggi
8fe7e0a88e Fix clip reveal animation in docked window case
- Move ClipRectTB/LRAnimation to wm package, because that's the only
place we use it.
- Extend ClipRectTBAnimation to combine it with translation animation
so the clipping gets applied after the translation.
- Fix clip reveal transitions when a window is docked.
- Make the docked divider minimizing animations synchronized with clip
reveal animation.

Bug: 27154882
Bug: 22174716

Change-Id: If5c94c777f3b51c6f53f6f34cc261bf3439cfc88
2016-02-19 14:15:20 -08:00
Jorim Jaggi
0bea7ebf56 Merge "New behavior for docked stack when going home" into nyc-dev 2016-02-19 22:14:46 +00:00
Dimitry Ivanov
b9c9026bdd Construct classloader for apps with no java code
The commit 6f06ad7df1
fixed a way to load native library for NativeActivity
by using classloader logic to find the library; which
also fixed the problem of native activity not working
when library is supposed to be opened directly from
the apk.

As a side effect it introduced regression - apps without
java code did not have correctly initialized classloader.
This change fixes this by constructing classloader with
empty dexpath but valid nativeLibrarySearchPath.

Bug: http://b/26015561
Bug: http://b/27250344
Change-Id: I50f1119f0976a95edd75d88efb9fcdedc57efbc3
2016-02-19 14:09:20 -08:00
Jason Monk
d2308771f0 Merge changes Iaf1ee1e6,I861cb65d into nyc-dev
* changes:
  Add TileService settings API
  Add QS long-press -> Settings
2016-02-19 21:53:44 +00:00