OSDN Git Service
David Christie [Thu, 8 Aug 2013 19:43:16 +0000 (19:43 +0000)]
Merge "Add helper methods to set/query the location master switch. Consolidates the logic of exactly what the master switch means so that if we change in the future, we don't have to find all the different parts of the code that use it (location settings, location quick settings, power widget, etc)." into klp-dev
John Spurlock [Thu, 8 Aug 2013 19:17:31 +0000 (19:17 +0000)]
Merge "Fix recent regression in hideytoast." into klp-dev
Daniel Sandler [Thu, 8 Aug 2013 18:32:53 +0000 (14:32 -0400)]
Add missing densities for HUN backgrounds.
Bug:
10242598
Change-Id: I4bb48102c1d1f94e61c6c8f61e567be919a5fbdf
David Christie [Wed, 7 Aug 2013 02:19:08 +0000 (19:19 -0700)]
Add helper methods to set/query the location master switch.
Consolidates the logic of exactly what the master switch means
so that if we change in the future, we don't have to find
all the different parts of the code that use it (location
settings, location quick settings, power widget, etc).
Change-Id: Ib918143b82e16541f0873c4d9141adb11fb815fc
(cherry picked from commit
db3720d42dcaa1d26022a392d24f60d0b711f3b7)
Daniel Sandler [Thu, 8 Aug 2013 17:50:00 +0000 (17:50 +0000)]
Merge "OK, now it's a release." into klp-dev
John Spurlock [Thu, 8 Aug 2013 16:49:43 +0000 (12:49 -0400)]
Fix recent regression in hideytoast.
Bug:
10240896
Change-Id: Iba7af673bdfd878a02932e19dd594e3f9667d7a1
Craig Mautner [Tue, 6 Aug 2013 21:04:05 +0000 (14:04 -0700)]
Use package CompatibilityInfo as default. DO NOT MERGE
Do not use CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO as default
if there is one for the package.
Partial fix for
10191318.
Change-Id: Ie218f0717398bb86e5c35066c8fe6a462b7d5273
Daniel Sandler [Thu, 8 Aug 2013 14:40:34 +0000 (10:40 -0400)]
OK, now it's a release.
Bug:
10239687
Change-Id: I38a86926f32e5877cd47ae5e4b625a811478aadc
John Spurlock [Thu, 8 Aug 2013 11:27:29 +0000 (11:27 +0000)]
Merge "Don't always auto-collapse an empty notification shade."
Chris Wren [Wed, 7 Aug 2013 21:39:35 +0000 (17:39 -0400)]
on screen off: convert heads up to full screen intent.
Let the app handle screen off as appropriate.
Bug:
10209767
Change-Id: I3949def1980118c0380b173a83148321ad8c5d95
Chris Wren [Thu, 8 Aug 2013 11:21:09 +0000 (11:21 +0000)]
Merge "heads up notifications always take the top spot"
Ben Murdoch [Thu, 8 Aug 2013 11:18:04 +0000 (11:18 +0000)]
Merge "Fix the build"
Chris Wren [Wed, 7 Aug 2013 20:43:43 +0000 (16:43 -0400)]
heads up notifications always take the top spot
If it was important enough to be a heads up, it should get top spot.
Make this sticky so bumping out of the HUN doesn't require a shade sort.
Split view creation and insertion so we can get the shade order correct.
Bug:
10001616
Change-Id: I4c1f2581e11a94241269984a01b92289a8943065
Ben Murdoch [Thu, 8 Aug 2013 11:16:10 +0000 (12:16 +0100)]
Fix the build
Change-Id: If34523c4b25b3d60edc00b0f37b636bedfc756c2
Chris Wren [Wed, 7 Aug 2013 20:05:23 +0000 (16:05 -0400)]
don't bump an active heads up for a corrupt notification
Change-Id: I405d6438e003b08fc3e144bb870c3b3233f71e26
Chris Wren [Thu, 8 Aug 2013 10:48:31 +0000 (10:48 +0000)]
Merge "Animate the heads up notification into the shade."
Chris Wren [Thu, 8 Aug 2013 10:47:02 +0000 (10:47 +0000)]
Merge "ensure heads up slider is initialized."
Chris Wren [Thu, 8 Aug 2013 10:46:02 +0000 (10:46 +0000)]
Merge "proper geometry for heads up on tablets."
Matt Casey [Thu, 8 Aug 2013 09:33:07 +0000 (09:33 +0000)]
Merge "Extend assist context to foreground services"
Martijn Coenen [Thu, 8 Aug 2013 04:25:55 +0000 (04:25 +0000)]
Merge "NFC: Unify ApduServiceInfo for on/off host."
Ying Wang [Thu, 8 Aug 2013 04:03:25 +0000 (04:03 +0000)]
Merge "Fix for build breakage. Correcting the documentatation link in Sensor.java. I added a wrong link {@link #SENSOR_TYPE_ROTATION_VECTOR} instead of {@link #TYPE_ROTATION_VECTOR}."
Aravind Akella [Thu, 8 Aug 2013 03:05:29 +0000 (20:05 -0700)]
Fix for build breakage. Correcting the documentatation link in Sensor.java. I added a wrong link {@link #SENSOR_TYPE_ROTATION_VECTOR} instead of {@link #TYPE_ROTATION_VECTOR}.
Change-Id: I55be472c554a5170f3db64b9cb49337a1f4691c0
Martijn Coenen [Thu, 8 Aug 2013 03:03:03 +0000 (20:03 -0700)]
NFC: Unify ApduServiceInfo for on/off host.
Change-Id: I4f8bb441d7eb564da0486f3e8a1ac08dd18d0dc8
Lorenzo Colitti [Thu, 8 Aug 2013 02:54:29 +0000 (02:54 +0000)]
Merge "Simplify LinkPropertiesTest."
Svetoslav Ganov [Thu, 8 Aug 2013 02:48:01 +0000 (02:48 +0000)]
Merge "Print UI polish based on UX feedback."
Svetoslav Ganov [Thu, 8 Aug 2013 02:29:42 +0000 (19:29 -0700)]
Print UI polish based on UX feedback.
1. Refreshed the print UI based on UX redlines.
2. Implemented tap outside cancel for the print job config activity
which is full-screen but pretends to be a dialog.
Change-Id: I5afc7cd40c696109d70af31536898cfcad91b2ab
Satoshi Kataoka [Wed, 7 Aug 2013 06:43:29 +0000 (15:43 +0900)]
Reduce the transaction fee of getEnabledInputMethodSubtypeList
Bug:
8467480
Change-Id: If18cce8fbe567df51f29adcdcedff3f743460b8b
Lorenzo Colitti [Thu, 8 Aug 2013 01:56:22 +0000 (10:56 +0900)]
Simplify LinkPropertiesTest.
Instead of converting IP addresses to strings throughout the
test, do so once at the beginning.
Change-Id: I7f0dae5d2e9e2cdc6ec808e2cf71197ba6ade0a4
Jeff Sharkey [Thu, 8 Aug 2013 01:37:59 +0000 (01:37 +0000)]
Merge "Better handling of broken storage providers."
Jeff Sharkey [Thu, 8 Aug 2013 01:33:33 +0000 (18:33 -0700)]
Better handling of broken storage providers.
Begin throwing FNFE when storage provider doesn't know about document
or when it's having trouble. Treat all provider errors as FNFE and
avoid crashing our UI.
Change-Id: I946f1ae4125791999464dc4ce494853d5d1c0629
Aravind Akella [Thu, 8 Aug 2013 01:26:40 +0000 (01:26 +0000)]
Merge "Adding new constants for STEP_DETECTOR, STEP_COUNTER and GEOMAGNETIC_ROTATION_VECTOR."
Jeff Brown [Thu, 8 Aug 2013 01:14:04 +0000 (01:14 +0000)]
Merge "Add more virtual display tests."
Jeff Brown [Thu, 8 Aug 2013 01:10:06 +0000 (01:10 +0000)]
Merge "Dump information about recent input events."
Jeff Brown [Thu, 8 Aug 2013 01:09:37 +0000 (01:09 +0000)]
Merge "Fix propagation of display overscan information."
Jason Monk [Thu, 8 Aug 2013 01:06:02 +0000 (01:06 +0000)]
Merge "Add PAC File support for proxy configuration"
Alan Viverette [Thu, 8 Aug 2013 01:05:42 +0000 (01:05 +0000)]
Merge "Fix initial FastScroller enabled state, fix padding during layout"
Jason Monk [Wed, 3 Jul 2013 21:04:33 +0000 (17:04 -0400)]
Add PAC File support for proxy configuration
PAC (Proxy auto-config) files contain a single javascript function,
FindProxyForURL(url, host). It gets called to determine what proxy should be
used for a specific request.
This adds PAC support to the system. The ProxyProperties has been modified
to hold the PAC file when one is present. The Proxy method
setHttpProxySystemProperty has been modified to insert a PacProxySelector
as the default ProxySelector when it is required. This new ProxySelector
makes calls to the ConnectivityService to parse the PAC file.
The ConnectivityService and the WifiConfigStore have been modified to support
saving the extra PAC file data.
The ConnectivityService now has a class attached (PacProxyNative) that
interfaces to the native calls for PAC files. The parsing of the PAC file
is handled by libpac (which is being added to external/) which utilizes
libv8 to parse the javascript.
As a fallback to applications that don't use the java ProxySelector, the proxy
is setup to point to a local proxy server that will handle the pac parsing.
bug:
10182711
Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401
Jeff Brown [Wed, 7 Aug 2013 21:17:04 +0000 (14:17 -0700)]
Add more virtual display tests.
We can't test everything in CTS because some features require
system permissions. So this is another copy of the CTS test
with more stuff that we can build with the system cert.
Change-Id: Ied5a456a0810d38d307b6dfbad0f770cb480b4ee
Alan Viverette [Thu, 8 Aug 2013 00:57:51 +0000 (17:57 -0700)]
Fix initial FastScroller enabled state, fix padding during layout
BUG:
10182784
Change-Id: I7f1ed029b68a1e6db6af0dc21e23aebca01bef31
Scott Main [Thu, 8 Aug 2013 00:51:54 +0000 (17:51 -0700)]
am
ef54f611: am
bdf85de3: am
7b60431b: update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug:
10207619
* commit '
ef54f611c1574c2cca89476494e7343df76aefad':
update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug:
10207619
Ben Gruver [Wed, 7 Aug 2013 02:54:08 +0000 (19:54 -0700)]
Add support for broadcast intents
Change-Id: Icf61e7a202f489cb33b9fd95564285e48154b25b
Ben Gruver [Tue, 6 Aug 2013 22:57:01 +0000 (15:57 -0700)]
Add support for matching explicit intents
This adds a <component-filter> tag for the intent firewall rules,
which adds another top-level filter similar to intent-filter, that
matches intents based on the resolved component they are being sent
to.
Previously, the existing <intent-filter> mechanism did not allow
filtering for explicit intents that had no action/data/etc. The
new <component-filter> functionality can be used for both implicit
and explicit intents.
Change-Id: I6a10e8bfae901931ed2174bca42ea25ac79804d8
Ben Gruver [Wed, 31 Jul 2013 22:09:51 +0000 (15:09 -0700)]
Pass in the ComponentName of the resolved service for service intents
Change-Id: I893035d5f2dba470d19a091c7a5945b13d9c9b67
Ben Gruver [Mon, 29 Jul 2013 23:35:40 +0000 (16:35 -0700)]
Add support for service intents
Change-Id: Ie090896b70bd6860181a021818fa6514d2e57a3f
(cherry picked from commit
8b028a6564d9e3af07e2424dc71d287550ebede7)
Ben Gruver [Thu, 8 Aug 2013 00:09:23 +0000 (00:09 +0000)]
Merge "Improve the logic for determining whether the caller is a system app"
Jeff Brown [Wed, 7 Aug 2013 23:46:50 +0000 (16:46 -0700)]
Dump information about recent input events.
To help track down ANRs, include more information about recent
events in the input dispatcher dumps.
Bug:
9774124
Change-Id: I94732f173d3518c2f4780668d2eb3ee9ae9fcb10
Jeff Sharkey [Wed, 7 Aug 2013 23:34:44 +0000 (23:34 +0000)]
Merge "Settings, replace files, sorting by size, tweaks."
Jeff Sharkey [Wed, 7 Aug 2013 23:22:02 +0000 (16:22 -0700)]
Settings, replace files, sorting by size, tweaks.
Add settings to show file sizes and advanced storage devices, both
disabled by default. Add sorting by size when enabled in settings.
Always show all documents, but only allow selection when they match
MIME filter. When creating, select entire filename on focus. When
creating, treat selected documents as replacement targets using that
exact Uri unless display name is changed.
Show available bytes for device roots. Show empty text label in
empty directories. Split grid backend and details into two separate
lines. Fix path label ordering when rendering recent directories.
Change-Id: I44c62e8adb8ca7d4355510a13d1ba975196a2d29
Romain Guy [Wed, 7 Aug 2013 23:23:46 +0000 (23:23 +0000)]
Merge "Only destroy remote graphic buffers Bug #
9795157"
Alan Viverette [Wed, 7 Aug 2013 22:59:17 +0000 (22:59 +0000)]
Merge "Fix FastScroller regression for non-UI threads"
Victoria Lease [Wed, 7 Aug 2013 22:51:22 +0000 (22:51 +0000)]
Merge "prototype colour emoji font"
Alan Viverette [Wed, 7 Aug 2013 22:47:04 +0000 (15:47 -0700)]
Fix FastScroller regression for non-UI threads
Previously it was safe to call setFastScrollEnabled() and
setFastScrollAlwaysVisible() off the UI thread. After switching
FastScroller to use an Overlay, these methods stopped working.
This change ensures that all direct interaction with FastScroller
happens on the thread that created the host AbsListView.
BUG:
10210504
Change-Id: Ib6d9bd9212965420c0de39546652e3bc2d32ff8b
Victoria Lease [Wed, 7 Aug 2013 22:43:55 +0000 (15:43 -0700)]
prototype colour emoji font
Bug:
9577689
Change-Id: Ia92460280fa00fc6849cfa8aa41ca06ae5866b4a
David Christie [Wed, 7 Aug 2013 22:44:36 +0000 (22:44 +0000)]
Merge "Unhide Context.APP_OPS_SERVICE"
Romain Guy [Wed, 7 Aug 2013 22:03:40 +0000 (15:03 -0700)]
Only destroy remote graphic buffers
Bug #
9795157
Change-Id: Ia7a39d3ef40994fede185482a5b4ca5500249b34
John Spurlock [Wed, 7 Aug 2013 22:06:18 +0000 (18:06 -0400)]
Don't always auto-collapse an empty notification shade.
If the user is actively interacting with the shade, don't
collapse it from underneath them.
Bug:
10226720
Change-Id: Idf26c8f59dc5a1a5ae3b4314f1ca81740b0517e7
Jeff Brown [Wed, 7 Aug 2013 21:13:37 +0000 (14:13 -0700)]
Fix propagation of display overscan information.
Fix several problems in the way that the overscan was plumbed in
which could result in information not being delivered to applications.
There was also a violation of certain invariants regarding the
immutability of returned DisplayInfo objects.
Bug:
10213771
Change-Id: I21184a14305e44278b5e81353bf95d511e8517fb
Jeff Brown [Wed, 7 Aug 2013 21:32:32 +0000 (21:32 +0000)]
Merge "Destroy surfaces when display is removed."
Ben Gruver [Tue, 6 Aug 2013 19:34:17 +0000 (12:34 -0700)]
Improve the logic for determining whether the caller is a system app
Bug:
10024554
Change-Id: I742e918840a98dd83d713bdf7a43a919674e65fe
Mathias Agopian [Wed, 7 Aug 2013 20:36:26 +0000 (20:36 +0000)]
Merge "Fix a bug where window animation could be janky"
Alan Viverette [Wed, 7 Aug 2013 20:31:45 +0000 (20:31 +0000)]
Merge "Add copy constructors for all widget-specific LayoutParams"
Alan Viverette [Wed, 7 Aug 2013 20:24:09 +0000 (13:24 -0700)]
Add copy constructors for all widget-specific LayoutParams
BUG:
10215589
Change-Id: I4c040091e216c87f851d6b617107f43729e55b0c
Dirk Dougherty [Wed, 7 Aug 2013 20:18:34 +0000 (13:18 -0700)]
am
ec997806: am
1153eb46: am
4e847bd1: Doc change: fix federated urls.
* commit '
ec9978063794317b9934e2fc9ae4eb2de8c9b7a4':
Doc change: fix federated urls.
Craig Mautner [Wed, 7 Aug 2013 20:13:35 +0000 (13:13 -0700)]
Destroy surfaces when display is removed.
Fixes bug
10226153.
Change-Id: I4eb8b14258985768d36745260ad4e62ba6c78844
Mathias Agopian [Wed, 7 Aug 2013 06:48:07 +0000 (23:48 -0700)]
Fix a bug where window animation could be janky
SurfaceControl.closeTransaction() will block until the transaction
takes effect and this happens at the next vsync -- in practice
it means this call blocks for ~15ms.
Immediately after that we ask the choreographer to schedule the
next frame, which will happen at the next vsync. depending the
timing, this would cause the window manager to animate at 30 fps
instead of 60.
This is fixed here by calling the choreographer before we
call closeTransaction().
In the near future, we should be able to fix this by using
an offseted vsync for the window manager and it won't need
closeTransaction() to block at all.
Bug:
10209014
Change-Id: I33d0c5ecfc25154b2859f3023a8cda6e641826bf
David Christie [Wed, 7 Aug 2013 18:25:12 +0000 (11:25 -0700)]
Unhide Context.APP_OPS_SERVICE
Change-Id: Iab3e3fb2a32c3407c61abb694e21d84b50579d4f
Alan Viverette [Wed, 7 Aug 2013 18:38:14 +0000 (18:38 +0000)]
Merge "Add API for scrolling AbsListView by a pixel amount"
Todd Poynor [Wed, 31 Jul 2013 03:33:27 +0000 (20:33 -0700)]
batteryservice: add battery current now and charge counter data
Available for retrieval via future APIs if desired. Dumped by dumpsys.
Not added to batterystats or ACTION_BATTERY_CHANGED intents at this point.
Also fixes a formatting problem in the existing dumpsys output for voltage.
Change-Id: I5320b19035914256fb872c13095c09c648dd522a
Craig Mautner [Wed, 7 Aug 2013 18:26:48 +0000 (18:26 +0000)]
Merge "Compare tasks not activities."
Craig Mautner [Wed, 7 Aug 2013 18:16:33 +0000 (11:16 -0700)]
Compare tasks not activities.
In order to determine if the topmost activity needs to be moved out
of the way, compare its task to the task of the source activity
rather than compare the activities themeselves.
Fixes bug
10182783.
Change-Id: Idd4542d7ddce8b7586ee47f100366bc47e07d54f
Amith Yamasani [Wed, 7 Aug 2013 18:10:23 +0000 (18:10 +0000)]
Merge "Try again to cleanup all blocked apps"
Amith Yamasani [Wed, 7 Aug 2013 18:06:44 +0000 (11:06 -0700)]
Try again to cleanup all blocked apps
Since the Restrictions feature was removed, some cleanup code was
added to unblock apps. But the cleanup is causing some runtime exceptions
due to happening too early in the boot up sequence. Moved the cleanup
to after boot_completed broadcast is received.
Bug:
10212758
Change-Id: Id42eff16b54c24ea48cf8b3a81f77ea801264edd
Brian Williammee [Wed, 7 Aug 2013 17:34:50 +0000 (17:34 +0000)]
Merge "Track latency of captive portal checks"
Glenn Kasten [Wed, 7 Aug 2013 17:17:56 +0000 (17:17 +0000)]
Merge "Update audio comments"
Dianne Hackborn [Wed, 7 Aug 2013 17:15:04 +0000 (17:15 +0000)]
Merge "Start adding IPC calls to retrieve proc stat data."
Baligh Uddin [Wed, 7 Aug 2013 17:06:24 +0000 (17:06 +0000)]
Merge "Import translations. DO NOT MERGE"
Dianne Hackborn [Wed, 7 Aug 2013 17:08:22 +0000 (10:08 -0700)]
Start adding IPC calls to retrieve proc stat data.
Also fix a bug where we were not correctly unparcelling service
duration data.
Change-Id: Ie9113b2e3a747622441b1939ffc45edb5803a10f
Baligh Uddin [Wed, 7 Aug 2013 16:32:41 +0000 (16:32 +0000)]
Merge "Import translations. DO NOT MERGE"
Craig Mautner [Wed, 7 Aug 2013 16:27:20 +0000 (16:27 +0000)]
Merge "Create SurfaceSession before creating DimLayer."
Craig Mautner [Wed, 7 Aug 2013 16:24:11 +0000 (09:24 -0700)]
Create SurfaceSession before creating DimLayer.
Fixes "java.lang.IllegalArgumentException: session must not be null"
Change-Id: Id7e77a44e59e5169ed8944682ab79783631182dd
Chris Wren [Tue, 30 Jul 2013 15:31:46 +0000 (11:31 -0400)]
Animate the heads up notification into the shade.
Bug:
10001874
Change-Id: I14ece05dbc29a93a551381c6ddc3cbbb8a331430
Chris Wren [Mon, 5 Aug 2013 22:08:16 +0000 (18:08 -0400)]
ensure heads up slider is initialized.
Change-Id: I4095b89133b64dd5c5d81e3b7fab288ee5538654
Chris Wren [Fri, 2 Aug 2013 16:03:02 +0000 (12:03 -0400)]
proper geometry for heads up on tablets.
also some code cleanup since things are getting complicated.
Bug:
10074485
Change-Id: I900a60f0fdda8d2ef1bcfe01035d6f716e14aa56
Ken Wakasa [Wed, 7 Aug 2013 15:03:24 +0000 (15:03 +0000)]
Revert "Reduce the transaction fee of getEnabledInputMethodSubtypeList"
This reverts commit
e9a6f9713ca48aab9a6c87e0645cb0a0af946a11.
Change-Id: I611d31086d4f02aae5c7021ac92975bd92a59f34
Satoshi Kataoka [Wed, 7 Aug 2013 06:43:29 +0000 (15:43 +0900)]
Reduce the transaction fee of getEnabledInputMethodSubtypeList
Bug:
8467480
Change-Id: Ic1fddfe433e097041fcb09d1fd341d77d7d8b13b
Svetoslav Ganov [Wed, 7 Aug 2013 06:49:25 +0000 (23:49 -0700)]
Update the print job dialog and added notification assets.
1. Update the transition between the print job edit dialog and the
generating print job dialog. Now the former shrinks into the
latter.
2. Added most of the notification assets.
Change-Id: I84f35df5cb4f71b86a103c16ab87fd4d108b055b
Mathias Agopian [Wed, 7 Aug 2013 04:37:29 +0000 (21:37 -0700)]
attempt to fix build. public api wasn't updated
Change-Id: I5afa7f20d60c1754e4d12318219af5a5861a85e0
Craig Mautner [Wed, 7 Aug 2013 04:00:57 +0000 (04:00 +0000)]
Merge "Add home StackBox to all DisplayContent."
Mathias Agopian [Wed, 7 Aug 2013 03:19:23 +0000 (03:19 +0000)]
Merge "put TextureView back to async mode"
Mathias Agopian [Wed, 7 Aug 2013 03:16:12 +0000 (20:16 -0700)]
put TextureView back to async mode
it's probably not strictly needed, but it guarantees
that the app won't deadlock itself while using a
TextureView -- this could happen if it blocked
in View.onDraw() waiting for the producer
this mimics the behavior TextureView always had.
Change-Id: I453339237a48dea91a10840b8cc0f5d2d84d1520
Jeff Tinker [Wed, 7 Aug 2013 01:44:09 +0000 (01:44 +0000)]
Merge "Define error codes for MediaCodec.CryptoException"
Romain Guy [Wed, 7 Aug 2013 01:36:24 +0000 (01:36 +0000)]
Merge "Split assets atlas batches Bug #
10185769"
Romain Guy [Tue, 6 Aug 2013 20:49:28 +0000 (13:49 -0700)]
Split assets atlas batches
Bug #
10185769
The assets atlas contains assets that need to be blended and assets
that do not need to be blended. With a single merge id, currently
set to be the pointer to the atlas itself, draw ops merging could
generate batches of commands containing both opaque and translucent
assets. The blend state was chosen from only one of the assets in
the batch, leading either to inefficiencies (blending large opaque
assets) or incorrect behaviors (not blending translucent assets.)
This change introduces two new merge ids in the atlas: an opaque
key and a blend key. These keys are simple booleans set to false
and true respectively (the values do not matter really.) Their
memory addresses are used as the merge ids when createing draw ops
batches, allowing all opaque ops to be batched together and all
translucent ops to be batched together.
Change-Id: I114dba0533c44987e53864b471ccb28c811f2025
Adam Skory [Tue, 6 Aug 2013 02:23:41 +0000 (19:23 -0700)]
Extend assist context to foreground services
Add Service.onProvideAssistData(Bundle) which will be
called on foreground Services that have the new attr
in their manifest of provideAssistData = true;
Rename private reference to e.g. "getTopActivityExtras"
as "getAssistContextExtras" - do not rename the relevant
permission, since it is already public.
In ActivityManagerService, request extras both from the
top activity and from any foreground services with the
above attribute. Extend PendingActivityExtras as
PendingAssistExtras with a list of Services from which
extras are expected.
Reduce the timeout to or reporting extras from 4 sec to
just 500 ms.
Bug:
9526331
Change-Id: Ia03b96e8189033a68ae9c514c8cea0199a19bce8
Alan Viverette [Wed, 7 Aug 2013 01:19:48 +0000 (18:19 -0700)]
Add API for scrolling AbsListView by a pixel amount
Change-Id: Ib0fc48879991fd467242d8dc337db419edb12acf
Jeff Sharkey [Wed, 7 Aug 2013 01:18:02 +0000 (01:18 +0000)]
Merge "Recents in create, uniform item layouts."
Jeff Sharkey [Tue, 6 Aug 2013 23:26:14 +0000 (16:26 -0700)]
Recents in create, uniform item layouts.
Show recent directories in a separate fragment, and save as serialized
versions of new DirectoryStack. Cleaner behavior around recents and
search, instead of treating them as pseudo-Documents.
More uniform item layouts between list and grid, including both date
and size information, and originating storage root in recents. Avoid
clashing directory loaders by assigning unique numbers. Promote
list/grid switching up into activity.
Change-Id: I9a93460b896067ca036d7e772eeabde31face2e1
Craig Mautner [Wed, 7 Aug 2013 01:00:25 +0000 (18:00 -0700)]
Add home StackBox to all DisplayContent.
Each display needs a stack and a stack box to contain windows.
Fixes bug
10161525.
Change-Id: Ic617cdf5a082ae68f0589e826ecbb37d8fba52ac
Ben Gruver [Wed, 31 Jul 2013 22:41:24 +0000 (15:41 -0700)]
Add the inadvertently missing SCHEME string value provider
Change-Id: I70ce104efac23c3776596571e48ee195be958373
Brian Williammee [Thu, 1 Aug 2013 00:07:33 +0000 (17:07 -0700)]
Track latency of captive portal checks
When captive portal check occurs, track its latency, whether or not
we received a response, and whether or not the response was a captive
portal. Pair with information identifying the access point / base
station, and broadcast it (with a system|signature-protected
permission).
Broadcast only occurs if user has consented to
Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE.
Change-Id: I6fd59954a7ee2cc7acedf064a1465882653b2173