227643 Commits

Author SHA1 Message Date
Selim Cinek
77019c7233 Fixed a bug where the heads up had the wrong size
Change-Id: I05bc0e68bf4b9f786b9f0cb4466bba002a0fc4d4
2015-12-09 16:24:55 -08:00
Selim Cinek
e812652fba Adapted the appear animation for notification children
Previously the delays where inverted leading to a weird
staggering effect.

Change-Id: I6e212fcf1651cf0e5fa15934a91bc6b648abcfad
2015-12-09 16:24:55 -08:00
Selim Cinek
9c7712d45c Added darkmode for notification groups
Somewhere in the dark a dim shimmer of light appeared

Change-Id: I9de970d4f5b8bb3c3d99f34af7f411f62ff2e094
2015-12-09 16:24:52 -08:00
Chris Craik
c7964751d6 Merge "Add bitmapmesh, rect, and patch rendering" 2015-12-10 00:11:50 +00:00
Greg Hackmann
7aa8aef5f6 Merge "Prefer new zram ABI" 2015-12-10 00:09:51 +00:00
Chris Craik
f09ff5aa57 Add bitmapmesh, rect, and patch rendering
bug:22480459

Change-Id: Id9e9146997dd018b3e4e785c2bc13689e3cf7c3c
2015-12-09 16:06:09 -08:00
Adam Lesinski
535fea1e42 Use Android.mk to specify private symbol package name
Change-Id: I290cb5a16173af9e8d1b16203ed8e8ddaa35045f
2015-12-10 00:03:05 +00:00
Dianne Hackborn
caceb021f1 Merge "Fix issue #26102692: Unable to create secondary user..." 2015-12-10 00:00:10 +00:00
Jorim Jaggi
fefe8ad350 Merge "Enable swipe-from-navbar gesture by default" 2015-12-09 23:36:43 +00:00
Andres Morales
fbf184c472 Merge "make RingBuffer const viable" 2015-12-09 23:25:03 +00:00
Jorim Jaggi
760400c61c Enable swipe-from-navbar gesture by default
Change-Id: Ic38a517c3c53838e3bdd2173a9d245f312136ad4
2015-12-09 15:22:06 -08:00
Bryce Lee
e5d5773f71 Improve logging in BluetoothHeadsetClientCall. am: 3c67873f0a am: 180dd72a9b am: a83d518689
am: 0a8c81a204

* commit '0a8c81a2046753f08c036ec68a15778e0c0dade4':
  Improve logging in BluetoothHeadsetClientCall.
2015-12-09 23:18:52 +00:00
Eino-Ville Talvala
2e8ae98c2f Merge "Replace hard-coded errno values with OsConstants" am: cb299b858f
am: 6fa9cc1bd3

* commit '6fa9cc1bd3cdb0489452396f708d57e22f742bf7':
  Replace hard-coded errno values with OsConstants
2015-12-09 23:17:31 +00:00
Chad Brubaker
1edf850235 Merge "Use a custom TrustedCertificateStore" am: 95f15495a2
am: 5a12cf5cb7

* commit '5a12cf5cb703dd531ca8207e8db87b019eb6d477':
  Use a custom TrustedCertificateStore
2015-12-09 23:15:42 +00:00
Chad Brubaker
8d92314e5f Merge "Expose findByIssuerAndSignature" am: b27d820920
am: f1870eee34

* commit 'f1870eee348179ccfc796956fd366d77f77ab850':
  Expose findByIssuerAndSignature
2015-12-09 23:13:41 +00:00
Bryce Lee
0a8c81a204 Improve logging in BluetoothHeadsetClientCall. am: 3c67873f0a am: 180dd72a9b
am: a83d518689

* commit 'a83d5186898c49888f9b3c1d2ef2333d297d8449':
  Improve logging in BluetoothHeadsetClientCall.
2015-12-09 15:07:23 -08:00
Bryce Lee
a83d518689 Improve logging in BluetoothHeadsetClientCall. am: 3c67873f0a
am: 180dd72a9b

* commit '180dd72a9b36ca6f74e5ad255347d815a0c8729a':
  Improve logging in BluetoothHeadsetClientCall.
2015-12-09 15:01:13 -08:00
Bryce Lee
180dd72a9b Improve logging in BluetoothHeadsetClientCall.
am: 3c67873f0a

* commit '3c67873f0a20a958f6cf1ccccb472fa050bf55b7':
  Improve logging in BluetoothHeadsetClientCall.
2015-12-09 22:54:19 +00:00
Jeff Sharkey
98cb23dccf Merge "Slight API renaming, better behavior." 2015-12-09 22:51:43 +00:00
Ben Kwa
8903eb0d19 Fix selection highlights.
Setting an item animator means the background color of the items needs
to be manually managed by the app code as well, otherwise recycled view
end up having the wrong background color.

BUG=26112851

Change-Id: If08f54eedf8da23abd4424159efa72f2f33def39
2015-12-09 14:48:59 -08:00
Andres Morales
a21c1da156 make RingBuffer const viable
- mark size() const
- expose const operator[]

Change-Id: Ie94ff798caed6b0d9a039e359610204e93c073ac
2015-12-09 14:44:01 -08:00
Jeff Sharkey
e13529a4ad Slight API renaming, better behavior.
Rename APIs to reflect that they're storage-related.  Also move
credential-storage APIs to be system API.

Return a null Context when device-encrypted storage isn't
supported.  This is the easiest way to keep legacy apps working when
upgrading from M to N.

Reduce strictness of path checking so we don't crash when working
with special packages like "android".

Bug: 22358539, 26104027
Change-Id: I38c24fc003488186210a6ae3b64270f86e1efe56
2015-12-09 15:22:54 -07:00
Dianne Hackborn
76e800928f Fix issue #26102692: Unable to create secondary user...
...device restarts while adding account or password in SUW

Change-Id: Ibcacb034720133359509b1be1b289abe68be44b4
2015-12-09 14:15:34 -08:00
Chris Craik
863cf1572e Merge "Add shape animation test case" 2015-12-09 22:13:23 +00:00
Dianne Hackborn
27cf982641 Merge "Add a mechanism for broadcasts to control background dispatching." 2015-12-09 21:50:32 +00:00
Filip Gruszczynski
3dec081967 Remaining APIs for freeform window caption.
The APIs are:
* setting a listener for the area of the caption where we display
control buttons; this is intended for apps that overlay the caption on
their content, so they don't display the content in that area and clash
with the buttons;
* specifying the color pallete of controls in the caption; by default we
try to infer the best color from the theme (dark buttons for light theme
and vice versa), but in case we get it wrong, we allow the developer to
overwrite it;
* specifying the caption background during the resizing; by default we
try to infer a good color from the theme, but in case we do it wrong, we
allow the developer to overwrite this.

The CL also includes merging of layouts decor_caption_dark and
decor_caption_light into a single one. Not only it reduces code
duplication, but also is necessary for allowing adjustment of the
controls color pallete after the layout was created.

Bug: 25486369
Bug: 25818398

Change-Id: Ib87fe849b07df341893ec7873982bf7ab932f6d5
2015-12-09 13:46:30 -08:00
Greg Hackmann
187a6aeb11 Prefer new zram ABI
Starting with Linux 4.1, reading from /dev/block/zram*/mem_used_total
logs this warning:

"Attribute mem_used_total (and others) will be removed. See zram
documentation."

mem_used_total and several related counters are now consolidated under a
new node mm_stat.  Prefer that when it's available.

Bug: 25951511

Change-Id: I0862c3cd1af5d003158aca6be42db25e4bebe7c7
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2015-12-09 21:36:39 +00:00
Chris Craik
c7fa843656 Add shape animation test case
Change-Id: Ie4c99218c3ae7f08250e2a77f11263d9f68ec861
2015-12-09 13:35:21 -08:00
Chris Craik
a6f28e352d Merge "Add more shape drawing to new reorderer/renderer" 2015-12-09 21:29:58 +00:00
Eino-Ville Talvala
6fa9cc1bd3 Merge "Replace hard-coded errno values with OsConstants"
am: cb299b858f

* commit 'cb299b858f4f073e2abd4ad45aa944dc0dfd0aa2':
  Replace hard-coded errno values with OsConstants
2015-12-09 21:25:15 +00:00
Eino-Ville Talvala
cb299b858f Merge "Replace hard-coded errno values with OsConstants" 2015-12-09 21:14:21 +00:00
Chad Brubaker
5a12cf5cb7 Merge "Use a custom TrustedCertificateStore"
am: 95f15495a2

* commit '95f15495a2e3d8591fe4eeb25ae55e88da783274':
  Use a custom TrustedCertificateStore
2015-12-09 21:07:18 +00:00
Chad Brubaker
f1870eee34 Merge "Expose findByIssuerAndSignature"
am: b27d820920

* commit 'b27d8209206e0aad76a257636417341c6f69fbb5':
  Expose findByIssuerAndSignature
2015-12-09 21:05:50 +00:00
Rob Carr
e379251878 Merge "Prevent crash when manipulating hidden SurfaceView." 2015-12-09 20:53:05 +00:00
Chad Brubaker
95f15495a2 Merge "Use a custom TrustedCertificateStore" 2015-12-09 20:53:01 +00:00
Chad Brubaker
b27d820920 Merge "Expose findByIssuerAndSignature" 2015-12-09 20:52:50 +00:00
Yin-Chia Yeh
5e7033702a Merge "Camera: add RAW_PRIVATE format" 2015-12-09 20:40:39 +00:00
Robert Carr
0df9b0f4ec Prevent crash when manipulating hidden SurfaceView.
repositionChild was attempting to perform placement
transactions on hidden views (which do not have a Surface)
leading to an exception being thrown. Furthermore lack
of a finally block prevented an open transaction from
being closed while unwinding and rendered the system unuable.
First we avoid performing transactions on windows without services.
Second we correct flow to ensure transactions are closed in case
an exception was thrown for other reasons.

Bug: 25780116
Change-Id: If103158506298c8f5ec1b01d7e1c73e55427804a
2015-12-09 12:29:41 -08:00
Ta-wei Yen
6b733f61e9 Merge "Add KEY_VVM_CELLULAR_DATA_REQUIRED_BOOLEAN to CarrierConfigManager" 2015-12-09 20:18:01 +00:00
Felipe Leme
7fff4a1794 Protect android.intent.action.BUGREPORT_STARTED.
This intent is sent by dumpstate when launched with the -P (progress) option.

BUG: 25794470
Change-Id: I6b6265f85f366db3dfca758d90be83c9e3736d7c
2015-12-09 11:55:08 -08:00
Dianne Hackborn
6ac42aeed9 Add a mechanism for broadcasts to control background dispatching.
Right now this is just for the BOOT_COMPLETED broadcast to allow
all apps to receive it.

Also clean up the dumpsys of the broadcast queue to not have
every little detail of ResolveInfo+ActivityInfo+ApplicationInfo,
which is just not useful and makes reading the broadcast queue
debug output a lot harder because of so much noise there is.

And rename the package shell query-intent-* commands to a
shorter query-* form.

Change-Id: I0d01565babb87e68b840c9756a2ea730d699efc7
2015-12-09 11:31:51 -08:00
Chris Craik
386aa03179 Add more shape drawing to new reorderer/renderer
bug:22480459

Add support for outsetting final bounds based on stroke.

Change-Id: I659318ccec51882bba1906ce3c7042288ce35c30
2015-12-09 11:29:04 -08:00
Felipe Leme
ba477939f0 Improved test case by checking for dangling service.
This check will make it easier to refactor how the bugreport is shared, which is a requirement for showing the bugreport details window.

BUG: 25794470
Change-Id: If29f0515586c6680a44e0d52c4fc587808e668aa
2015-12-09 11:28:11 -08:00
Yin-Chia Yeh
44581ff4db Camera: add RAW_PRIVATE format
Also add necessary plumbing for RAW_PRIVATE to work for ImageReader.

Bug: 25596619
Change-Id: Ic90f3f44264ac46fae1fafbc27ac64b5319f0970
2015-12-09 11:20:32 -08:00
Chad Brubaker
718e16ad57 Merge "Refactor NetworkSecurityPolicy to be pluggable" am: 224318aa13
am: cea1cf0185

* commit 'cea1cf0185b8c9fb4582936844326b385fb385a8':
  Refactor NetworkSecurityPolicy to be pluggable
2015-12-09 19:02:43 +00:00
Jason Monk
58d9cefdd3 Merge "Allow color matrix to be controlled by secure setting" 2015-12-09 18:55:17 +00:00
Chad Brubaker
cea1cf0185 Merge "Refactor NetworkSecurityPolicy to be pluggable"
am: 224318aa13

* commit '224318aa13ad5b78d19087cc42dcbe2ae0bd0c3f':
  Refactor NetworkSecurityPolicy to be pluggable
2015-12-09 18:54:06 +00:00
Jason Monk
2945e95c76 Merge "Make the new QS the new QS" 2015-12-09 18:53:40 +00:00
Chad Brubaker
224318aa13 Merge "Refactor NetworkSecurityPolicy to be pluggable" 2015-12-09 18:40:55 +00:00
Chet Haase
709bf2a37c Merge "Revert "Add support for partial view layouts"" 2015-12-09 18:40:06 +00:00