235434 Commits

Author SHA1 Message Date
Seigo Nonaka
62006a72a6 Merge "Remove duplicated test cases." into nyc-dev 2016-03-14 04:11:01 +00:00
Pierre Imai
68fe236172 Merge "Remove an unnecessary InputStream and prevent leaking memory." into nyc-dev 2016-03-14 02:54:11 +00:00
Roozbeh Pournader
8829e6b730 Merge "Remove Basque hyphenation patterns" into nyc-dev 2016-03-13 09:19:25 +00:00
Roozbeh Pournader
217a86c709 Remove Basque hyphenation patterns
Change-Id: Ib59de7c96fe19da9534fe65c3d553dc7c5399a1f
2016-03-12 20:56:23 -08:00
Nick Kralevich
3972507684 fix spelling
Change-Id: I82e64fa8a64be0fbfda748e6b57b5d339fd6f903
2016-03-12 15:00:50 -08:00
Mady Mellor
466b702cac Merge "Revert "Revert "Improve interaction around showing / hiding the gear behind notifications""" into nyc-dev 2016-03-12 17:50:42 +00:00
Dianne Hackborn
20c9aa735e Merge "Fix issue #27530395: API Review: JobInfo.Builder" into nyc-dev 2016-03-12 02:12:12 +00:00
Carlos Valdivia
83d036f497 Merge "Logging to KEY_INTENT security failure" into nyc-dev 2016-03-12 02:06:39 +00:00
Chris Tate
fcbe17e1e0 Merge "Once restored, the wallpaper needs to actually draw" into nyc-dev 2016-03-12 01:55:19 +00:00
Christopher Tate
41297ff82c Once restored, the wallpaper needs to actually draw
We now wait until both the wallpaper imagery and the metadata have
been restored [if present], and then explicitly regenerate the crop
from the source based on that.

Bug 27423845

Change-Id: I986efd13b6b73d25b5ab1215af516ccea3a5c609
2016-03-11 17:51:33 -08:00
Selim Cinek
48103be6a2 Merge "Fixed a bug where the expandhelper was expanding to quickly" into nyc-dev 2016-03-12 01:43:50 +00:00
Carlos Valdivia
6ede9c3d22 Logging to KEY_INTENT security failure
To help debugging we would like to know the targetPackageName and uid of
the KEY_INTENT that is being rejected.

Bug: 27598664
Change-Id: Idcf1eea82a96913947975b6fe3aa1e9c6e5109a7
2016-03-11 17:42:55 -08:00
Selim Cinek
821d6a7735 Fixed a bug where the expandhelper was expanding to quickly
It was expanding even when the xDifference was bigger than the
yDifference.

Bug: 27376558
Change-Id: Ie5faeb40a1b8391ace8822f9f210f519302ca133
2016-03-11 17:24:19 -08:00
Mady Mellor
3a5e8dd820 Revert "Revert "Improve interaction around showing / hiding the gear behind notifications""
This reverts commit 88eca2aa0e707c06731fc273af4e6181ad743c3c.

It additionally fixes an issue with notification scrolling after gear is displayed
by indicating that the user is no longer swiping by calling onDragCancelled

Change-Id: Ieba0cea35bba9c383d8b5fdca08cb5ff083666c3
2016-03-11 17:17:00 -08:00
Jean-Michel Trivi
a40c017ba2 Merge "Dynamic audio policies: allow device passing for RENDER mixes" into nyc-dev 2016-03-12 01:09:11 +00:00
Stephen Hines
102c51229f Merge "Fix some errors in errorCalculator.rs." into nyc-dev 2016-03-12 00:56:44 +00:00
Selim Cinek
53c9fa98e2 Merge "Fixed a bug where expanding in the bottom stack messed up the whole layout" into nyc-dev 2016-03-12 00:56:11 +00:00
Stephen Hines
1eeceefb04 Fix some errors in errorCalculator.rs.
Bug: http://b/26987366

This code was accidentally casting a uchar4 to a single integer, which
the latest llvm-rs-cc will flag as an error. The comparison was also
incorrectly using a single integer comparison, instead of looking at all
4 uchar vector components.

(cherry picked from commit 74be0c9b4329bb79ed46f2532022995429ffdfe8)

Change-Id: Ic3727e234ffc87571ccacab19b2a4efb27ac0f20
2016-03-11 16:52:09 -08:00
Selim Cinek
4e4cac3031 Fixed a bug where expanding in the bottom stack messed up the whole layout
Bug: 27596737
Change-Id: If6d5f693bbc953962eb2e746a6293d66be3c4373
2016-03-11 16:45:52 -08:00
Jean-Michel Trivi
e8924115f9 Dynamic audio policies: allow device passing for RENDER mixes
AudioMix: add system method for specifying an AudioDeviceInfo
 to be used by this mix. This only works for AudioMix
 instance with the RENDER route flag.
Previous dynamic policy implementation didn't enforce
 mix route flag check, but only supported LOOP_BACK,
 so make LOOP_BACK the default.
When a policy gets registered and the registration ID is
 set on each mix, for RENDER mixes use the device
 address for registration.

Bug 25448664

Change-Id: If5789d84ff4c4c25a6e81ba1513a39916220498a
2016-03-11 16:45:27 -08:00
Steve McKay
0a96dae887 Merge "Run all downloads through trampoline." into nyc-dev 2016-03-12 00:43:45 +00:00
Steve McKay
3e63e7de23 Run all downloads through trampoline.
This guarantees the retry/delete support in the downloads
    trampoline can do its thing.
Allow APKs not in downloads to go directly to pakcage
    manager via VIEW intent.
Add test coverage for retry dialog.

Bug: 27539337

Change-Id: I75c5db8915e24a7648c7990136d39ed86d407637
2016-03-11 16:42:51 -08:00
Felipe Leme
bded63d9c9 Merge "Don't log metrics for initial screenshot." into nyc-dev 2016-03-12 00:38:34 +00:00
Yorke Lee
26903a3431 Merge "Fix for drag start event being incorrectly cached" into nyc-dev 2016-03-12 00:04:48 +00:00
Selim Cinek
6c5dddfdcf Merge changes Ia6156d7c,I396ac936 into nyc-dev
* changes:
  Fixed a bug with autoredacted custom views.
  Fixed a bug where notifications could become all white
2016-03-11 23:52:45 +00:00
Andrii Kulian
d5db062682 Merge "Update docs for DisplayMetrics pixel size fields" into nyc-dev 2016-03-11 23:50:47 +00:00
Sergei Vasilinetc
67bd3b5256 Merge "Add GlopBuilder test for snapping" into nyc-dev 2016-03-11 23:43:10 +00:00
Mady Mellor
45eef7dbca Merge "Revert "Improve interaction around showing / hiding the gear behind notifications"" into nyc-dev 2016-03-11 23:41:08 +00:00
Steve McKay
b3df850806 Merge "Minor animation cleanup." into nyc-dev 2016-03-11 23:40:15 +00:00
Mady Mellor
88eca2aa0e Revert "Improve interaction around showing / hiding the gear behind notifications"
This reverts commit 273ed107f1d414571a01bf8ebd9c9ffa942d9e11.

Change-Id: I5f4d2c2dfa2bd965abd2ea2ec385639deb4511f9
2016-03-11 23:36:41 +00:00
Selim Cinek
a1744872f4 Fixed a bug with autoredacted custom views.
Bug: 27616717
Change-Id: Ia6156d7cadca0c1f9aadd49f76f62ac92991eced
2016-03-11 15:36:06 -08:00
Winson Chung
59917dfb6f Merge "Fix issue with the component layout not having updated on config change" into nyc-dev 2016-03-11 23:27:55 +00:00
Fyodor Kupolov
89f1622e48 Merge "Added logoutCurrentUser method" into nyc-dev 2016-03-11 23:25:10 +00:00
Winson
003eda6c23 Fix issue with the component layout not having updated on config change
Bug: 27618066

Change-Id: I362c893222439c0dd1faa0000b29ead7ef621606
2016-03-11 15:11:42 -08:00
Alex Klyubin
026cf53fe4 Merge "Workaround for verifying large APKs." into nyc-dev 2016-03-11 23:03:59 +00:00
Anthony Hugh
526cb5a26a Merge "Add system wide long-press back button functionality" into nyc-dev 2016-03-11 22:52:59 +00:00
Makoto Onuki
4b19f4a702 Merge "Add a flag to log service side runtime exception" into nyc-dev 2016-03-11 22:52:35 +00:00
Alex Klyubin
005c7caa61 Workaround for verifying large APKs.
When an APK is verifier during installation, the recently added
APK Signature Scheme v2 code uncondionally memory-maps the whole file.
This fails for very large APKs, even those which are not signed with
APK Signature Scheme, thus preventing installation of such APKs.

This temporary workaround pretends that the APK is not signed with
APK Signature Scheme v2 if the APK cannot be memory-mapped because
there's insufficient memory.

This workaround will be removed soon, once APK Signature Scheme v2
APK verification logic can handle very large APKs.

Bug: 27613575
Change-Id: I27bad534855fe4bf3e09b1087398ffdd7f98f482
2016-03-11 14:51:47 -08:00
Ruben Brunk
89db9dbedb Merge "Allow per-package exemptions for restricted AppOps" into nyc-dev 2016-03-11 22:48:38 +00:00
Anthony Hugh
34f09ca843 Add system wide long-press back button functionality
This CL adds long-press back button functionality as a system
intercepted keypress.

Incorporated in this is an update to clockwork overlays so that
long-press on back will launch ACTION_VOICE_ASSIST.

BUG: 27313719
BUG: 27427088
Change-Id: Iaff337dc50e0022d2392c19d095cec98563b1c7d
2016-03-11 14:44:09 -08:00
sergeyv
f42bf3e257 Add GlopBuilder test for snapping
Change-Id: I7aa5cddef6f0a0e78f3ade67b0446c1f76cf3d13
2016-03-11 14:33:26 -08:00
Steve McKay
178e407181 Minor animation cleanup.
Delete unused animators and add a cautionary warning.

Change-Id: I10c79ccef42147c01e4db256a082dc20b3f30de1
2016-03-11 14:08:35 -08:00
Ruben Brunk
29931bc684 Allow per-package exemptions for restricted AppOps
- When setting blanket user restrictions, per-package
  exemptions may be granted.
- Exempt the current active VrListenerService from the
  blanket restriction on drawing overlays while in VR mode.

Bug: 26775563
Change-Id: I14b17a126502c7905a970ad42d25d6dd600b86b1
2016-03-11 14:05:44 -08:00
Makoto Onuki
5fe29adc81 Merge "ShortcutManager refactor: per-user information class" into nyc-dev 2016-03-11 21:52:21 +00:00
Steve McKay
9d5bc55da3 Merge "Centralize animation related resources." into nyc-dev 2016-03-11 21:51:00 +00:00
Steve McKay
ce71082254 Centralize animation related resources.
Fix minor bug in animation (use height not width).

Change-Id: I357224086b2732fe9ad49a145db3e82259a87891
2016-03-11 13:50:03 -08:00
Makoto Onuki
3f4b1ca97a ShortcutManager refactor: per-user information class
Bug 27548047

Change-Id: Id6de8bfbad6281daec5e89be85ba8b140b599268
2016-03-11 13:44:32 -08:00
Adam Lesinski
52db414176 Merge "AAPT2: statically link protobuf library" into nyc-dev 2016-03-11 21:33:34 +00:00
Roozbeh Pournader
e3dedf9f44 Merge "Add test script for sanity of font fallback chain" into nyc-dev 2016-03-11 20:36:01 +00:00
Selim Cinek
d607daf30e Fixed a bug where notifications could become all white
Bug: 27588152
Change-Id: I396ac9369b24f69de3c1d9034ebac91cc07feaeb
2016-03-11 12:34:13 -08:00