236946 Commits

Author SHA1 Message Date
David Brazdil
b67b5b9f3c Merge "Move OTA package update before fstrim, hide "Optimizing apps" dialog" into nyc-dev 2016-03-30 12:41:06 +00:00
David Brazdil
f5c444ffd4 Move OTA package update before fstrim, hide "Optimizing apps" dialog
This patch moves the updating of packages before performing fstrim,
which runs asynchronously anyway, and stops showing the UI dialog.

Bug: 27350503
Change-Id: I6fceda10d7696f9badb97978fb9dc7927d698a4b
2016-03-30 13:39:14 +01:00
Calin Juravle
d65bdcad08 Merge "Fix profile deletion in package manager" into nyc-dev 2016-03-30 12:31:40 +00:00
Andrei Stingaceanu
b70ba1971c Merge "AfW custom lock screen message - API polish" into nyc-dev 2016-03-30 12:23:56 +00:00
Jaesung Chung
41e54ad3a8 Merge "ExifInterface: keep tags in the original tag groups" into nyc-dev 2016-03-30 10:59:24 +00:00
Chris Banes
6b69b12202 Merge "Re-dispatch nested scrolls if not implemented" into nyc-dev 2016-03-30 08:43:40 +00:00
Insun Kang
7625a59bbd Merge "ExifInterface: Clean up test code and increase test coverage" into nyc-dev 2016-03-30 08:12:00 +00:00
Erik Kline
01a235bc9d Merge "Partially refactor Tethering to new network callback APIs" into nyc-dev 2016-03-30 08:00:06 +00:00
Andre Eisenbach
613f430177 Always use Write Request for GATT descriptor writes
According to the Bluetooth Core specification v4.2, Vol 3, Part G,
section 4.12.3: "The Attribute Protocol WRITE REQUEST is used used
for this sub-procedure".

Change-Id: I86e4e1d3a8bfd7d78dfed8419f8abd2d7e89b2bc
2016-03-30 06:48:58 +00:00
Tomasz Mikolajewski
836bd28a1b Merge "Render thumbnails in DocumentsUI jank tests." into nyc-dev 2016-03-30 06:01:14 +00:00
Yohei Yukawa
7c101a40da Merge "IME switcher should not always require IME_VISIBLE." into nyc-dev 2016-03-30 05:47:41 +00:00
Sudheer Shanka
e1f9e5152a Merge "Temporary changes to fix crashes during tests." into nyc-dev 2016-03-30 05:09:20 +00:00
Tomasz Mikolajewski
794306fafe Render thumbnails in DocumentsUI jank tests.
Bug: 27383277
Change-Id: I0b5f267d7dc6c6c426b68f261c470f4ae46367a4
2016-03-30 13:54:44 +09:00
Jaesung Chung
4118ca8627 ExifInterface: keep tags in the original tag groups
Previously ExifInterface saved its tags in the all possible IFD tags via
setAttribute() method even it already knew the right IFD group for those
tags. In this CL, it introduces updateAttribute() and removeAttribute()
methods in order to maintain the internal IFD tags and its values
according to its original EXIF saving states in the given JPEG file.

Bug: 27583378
Change-Id: Ie49163c8c9bdd38b575ccd76938879ccddcd547b
2016-03-30 13:43:34 +09:00
Sudheer Shanka
1c15e01f6d Temporary changes to fix crashes during tests.
Bug: 27852443
Change-Id: Ie61e628213281fc921e8de403d27ae1f941352e9
2016-03-29 21:23:41 -07:00
Erik Kline
6ff17f73d2 Partially refactor Tethering to new network callback APIs
Bug: 9580643
Bug: 22332501
Bug: 27419608
Change-Id: I714e70729dc0825159be0db76ac252d8bffb6866
2016-03-30 13:21:51 +09:00
Andre Eisenbach
1591d368d3 Fix log spam in getCharacteristicById()
Bug: 27744135
Change-Id: I43f6358484729dedd85eb52432ad9805a66ff81e
2016-03-30 03:27:20 +00:00
Insun Kang
9e175f468e ExifInterface: Clean up test code and increase test coverage
Bug: 27888859
Change-Id: I8a2d4f3cdafd932aa0c4272c80e4967097c62491
2016-03-30 11:47:18 +09:00
Ningyuan Wang
aac5bf1c1c Merge "When wifi ssid is empty, return WifiSsid.NONE" into nyc-dev 2016-03-30 01:25:49 +00:00
Pierre Imai
bc786b7475 Merge "Move connectivity events to frameworks/base." into nyc-dev 2016-03-30 01:16:59 +00:00
Winson Chung
fe1886f8b8 Merge changes Ie59ed72c,Ie763a2a6,I7f830e5c,Ife637438 into nyc-dev
* changes:
  Should not update initial state at all on resize.
  Adding logging to track down bitmap issues.
  Moving the background to the window.
  Adding clear-all button.
2016-03-30 01:15:21 +00:00
Chris Tate
d845a8b114 Merge "Offload killProcessGroup to a worker thread" into nyc-dev 2016-03-30 01:07:34 +00:00
Winson
44849b8abd Should not update initial state at all on resize.
This fixes an issue with the stack scrolling upon resizing.  We only 
need to update the initial state if docking, or upon rotation.

Change-Id: Ie59ed72cb22c9b000289db3f04b1a71ad5f64816
2016-03-29 17:59:04 -07:00
Winson
7845e8c494 Adding logging to track down bitmap issues.
Bug: 27849282
Change-Id: Ie763a2a6cc968896e1ec0c4d89859cb49bd89e85
2016-03-29 17:58:59 -07:00
Winson
e8a4eff9d9 Moving the background to the window.
- Make sure to remove the background from the DecorView while
resizing, so we don't draw it twice.

Bug: 27869246
Change-Id: I7f830e5c825749fdf2b5bbda7af92239702b70ad
2016-03-29 17:58:54 -07:00
Winson
3b6ba1ab14 Adding clear-all button.
Change-Id: Ife637438b191c4a5004f3c6551bc75691e8e426b
2016-03-29 17:57:56 -07:00
Miao Wang
ab9ab56e3d Merge "[RenderScript] Update documentation for Allocation.setAutoPadding()." into nyc-dev 2016-03-30 00:51:55 +00:00
Phil Weaver
352ea1e307 Merge "Stop non-touchable regions affecting magnification" into nyc-dev 2016-03-30 00:49:35 +00:00
Roozbeh Pournader
fbf192af5f Merge "Fix shift precedence in FontListParser." into nyc-dev 2016-03-30 00:48:03 +00:00
Miao Wang
9ee7607615 [RenderScript] Update documentation for Allocation.setAutoPadding().
Bug: 26862970
Change-Id: Iaa88ac0266e5d2cac2837f1d13353aacc6177274
2016-03-29 17:42:40 -07:00
Dianne Hackborn
7a6dc6cdff Merge "Work on issue #26879170: Adjust doze maintenance windows..." into nyc-dev 2016-03-30 00:41:39 +00:00
Daichi Hirono
c124427880 Merge "Use AppFuse to write document." into nyc-dev 2016-03-30 00:20:39 +00:00
Siyamed Sinir
d225f87ebc Merge "Revert "TextView setText/append methods set movement method"" into nyc-dev 2016-03-29 23:59:15 +00:00
Miao Wang
2d92afbef7 Merge "[RenderScript] Fix IntrinsicConvolve documentation." into nyc-dev 2016-03-29 23:55:44 +00:00
Miao Wang
44fa90868c Merge "[RenderScript] Update the documentation of Script.LaunchOptions" into nyc-dev 2016-03-29 23:55:26 +00:00
Rob Carr
ffe3098169 Merge "Ensure we change SurfaceView size from UI thread." into nyc-dev 2016-03-29 23:50:47 +00:00
Christopher Tate
ea33b945b1 Offload killProcessGroup to a worker thread
It can take ~hundreds of ms to complete, so we want to avoid
blocking callers or monopolizing locks while waiting for it.

Bug 27821754

Change-Id: I522cadae7cfda9cce7c3d1a230cfd91cf4f9e730
2016-03-29 16:40:53 -07:00
zhangshuxiao
f51097c743 When wifi ssid is empty, return WifiSsid.NONE
Issue 199610

When WifistateMachine enter Roaming State, WifiInfo
getSSID will return 0x, statusbar show "0x", because
roaming State do not update WifiInfo mWifiSsid.

Cherry pick from I241f8e9c11dc16db26cadde133043745f2f19573

BUG=27403109
TEST=compile and unittests
Signed-off-by: zhangshuxiao <zhangshuxiao@xiaomi.com>

Change-Id: Ieb7429511898a5ed3d44fd15fc1f250c122e802a
2016-03-29 16:35:47 -07:00
Phil Weaver
65c067083e Stop non-touchable regions affecting magnification
A window's magnifiability only applies to its touchable regions, so a
non-touchable shadow over an IME won't affect the IME's magnifiability.

Bug: 27179277
Change-Id: I86076e001035678c73973d7a98e0dcac6143553e
2016-03-29 16:20:14 -07:00
Ben Wagner
008c6c5490 Fix shift precedence in FontListParser.
BUG=27707457

Change-Id: I7ea7a5fa67ec540401454136427b37562a4eef30
2016-03-29 23:13:49 +00:00
Jeff Sharkey
af64f6341b Merge "AccessibilityNodeInfo shouldn't touch extras." into nyc-dev 2016-03-29 22:47:17 +00:00
Makoto Onuki
d5b745a9e6 Merge "ShortcutManager: proper work profile support" into nyc-dev 2016-03-29 22:45:03 +00:00
Jeff Sharkey
297017d154 AccessibilityNodeInfo shouldn't touch extras.
The extras may contain custom Parcelables which aren't in the
system's default classpath, so touching them would end up clobbering
the contents.

Update code to leave the parcelled data untouched inside the bundle
until someone tries reading the extras.

Bug: 27897919
Change-Id: I99381dd50c9a0e8887667076362ea98805f0437c
2016-03-29 16:38:55 -06:00
Dianne Hackborn
953fc94599 Work on issue #26879170: Adjust doze maintenance windows...
...based on network availability

But first, make the light idle timing more dynamic, with this
pattern:

1. Screen off for 5 minutes.
2. Light idle for 5 minutes.
3. Idle maintenance.
4. Light idle for 10 minutes.
5. Idle maintenance.
6. Light idle for 15 minutes.
7. Idle maintenance.
...

Also fix issue #27793980: Log message about unrecognized alarm listener

Change-Id: I42012f8085afbd5becaecdadf93a777370ca34be
2016-03-29 15:36:24 -07:00
Miao Wang
3d23dce433 [RenderScript] Fix IntrinsicConvolve documentation.
Bug: 25117120

  - Better format.
  - Typo fixes.

Change-Id: Ic6f8d1dacecdaf9993dd8298de7a801f5fd2a937
2016-03-29 15:29:10 -07:00
Tenghui Zhu
5eea9afe44 Merge "Add test for AVD on SW Layer" into nyc-dev 2016-03-29 22:25:19 +00:00
Miao Wang
53fdcfbe63 [RenderScript] Update the documentation of Script.LaunchOptions
Bug: 26916665

  - Add description of the endArg.
  - Update the example.
  - Update the incorrect description.

Change-Id: Idd07db5d790e2d6462fff9cb580115ec45cfd4f0
2016-03-29 15:14:21 -07:00
Adam Powell
b3eca3161d Merge "Add contentInsetStartWithNavigation/EndWithActions" into nyc-dev 2016-03-29 22:12:34 +00:00
Jeff Sharkey
d974605c73 Merge "Delay vold connectors until published, fix NPE." into nyc-dev 2016-03-29 22:04:55 +00:00
Jeff Sharkey
cd57599273 Delay vold connectors until published, fix NPE.
If they connect too quickly, PackageManager could end up trying to
obtain the yet-unpublished MountService.

Fix NPE in UserManagerService when trying to persist fingerprints,
and fix write ordering to always write [id].xml before userlist.xml
to avoid battery pull issues.  Simlarly, delete [id].xml only after
updating userlist.xml.

Bug: 27869443
Change-Id: I43d8552e5e37b9ca4137cca3e3e76684c7dee605
2016-03-29 15:53:50 -06:00