OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Update docs to state that mark is no longer called." into klp-dev
Leon Scroggins III [Wed, 25 Sep 2013 22:27:25 +0000 (22:27 +0000)]
Merge "Update docs to state that mark is no longer called." into klp-dev

10 years agoMerge "Fix caption rendering" into klp-dev
Alan Viverette [Wed, 25 Sep 2013 22:21:07 +0000 (22:21 +0000)]
Merge "Fix caption rendering" into klp-dev

10 years agoMerge "Fit and finish for navbar camera affordance" into klp-dev
Jim Miller [Wed, 25 Sep 2013 22:04:49 +0000 (22:04 +0000)]
Merge "Fit and finish for navbar camera affordance" into klp-dev

10 years agoUpdate docs to state that mark is no longer called.
Leon Scroggins III [Wed, 25 Sep 2013 21:49:45 +0000 (17:49 -0400)]
Update docs to state that mark is no longer called.

BUG:6493544

Change-Id: I97a4d90ce2efcd12f8f1cc5b545f822f8e5a5ab0

10 years agoMerge "Fix accessibility for all-caps items in keyguard" into klp-dev
Jim Miller [Wed, 25 Sep 2013 21:53:40 +0000 (21:53 +0000)]
Merge "Fix accessibility for all-caps items in keyguard" into klp-dev

10 years agoMerge "Handle null stacks gracefully." into klp-dev
Jeff Sharkey [Wed, 25 Sep 2013 21:43:43 +0000 (21:43 +0000)]
Merge "Handle null stacks gracefully." into klp-dev

10 years agoHandle null stacks gracefully.
Jeff Sharkey [Wed, 25 Sep 2013 21:39:14 +0000 (14:39 -0700)]
Handle null stacks gracefully.

Bug: 10928395
Change-Id: Ie7c3f7e0eb068ece0cf678a5d6346f18a413856b

10 years agoMerge "Fix an incorrectly created race accessing Wifi Supplicant" into klp-dev
Vinit Deshapnde [Wed, 25 Sep 2013 21:07:51 +0000 (21:07 +0000)]
Merge "Fix an incorrectly created race accessing Wifi Supplicant" into klp-dev

10 years agoMerge "Fix hang" into klp-dev
Marco Nelissen [Wed, 25 Sep 2013 21:06:46 +0000 (21:06 +0000)]
Merge "Fix hang" into klp-dev

10 years agoFix hang
Marco Nelissen [Wed, 25 Sep 2013 20:45:41 +0000 (13:45 -0700)]
Fix hang

b/10855561

Change-Id: I29b046b835ce0ca3644e5c2e8f9bca5c0b380d4b

10 years agoFix caption rendering
Alan Viverette [Wed, 25 Sep 2013 19:35:00 +0000 (12:35 -0700)]
Fix caption rendering

Fixed rendering of captions in regions and incorrect caption width
measurement. Removes minimum-difference line wrapping, since the
results weren't consistent with StaticLayout's rendering.

BUG: 1091776610822229
Change-Id: I55ef28cbf383fd6b945c0be62e440781288364f1

10 years agoMerge "Camera2: Add PASSIVE_UNFOCUSED autofocus state." into klp-dev
Eino-Ville Talvala [Wed, 25 Sep 2013 19:28:03 +0000 (19:28 +0000)]
Merge "Camera2: Add PASSIVE_UNFOCUSED autofocus state." into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 25 Sep 2013 16:19:06 +0000 (16:19 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 25 Sep 2013 16:18:59 +0000 (16:18 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 25 Sep 2013 16:18:49 +0000 (16:18 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 25 Sep 2013 16:18:39 +0000 (16:18 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 25 Sep 2013 16:18:14 +0000 (16:18 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 25 Sep 2013 16:13:10 +0000 (09:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id86ce8166f481fa6a360ebb479f2e420ead1ee15
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 25 Sep 2013 16:11:27 +0000 (09:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iea99a461037b5ef6dc3cd573b594b483692222ef
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 25 Sep 2013 16:07:42 +0000 (09:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifaa3920e5a0d002b7bdb9eb668acf5cbc36729fc
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 25 Sep 2013 16:06:40 +0000 (09:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: If20827776d647c8120b53065eb304b7d01409cd6
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 25 Sep 2013 15:43:59 +0000 (08:43 -0700)]
Import translations. DO NOT MERGE

Change-Id: I16a7cfc8d9c5926a40a4ddca551f4281accb415f
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 25 Sep 2013 15:42:54 +0000 (08:42 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id5391f651538cc46ad7455dedaa3426e29efc9c9
Auto-generated-cl: translation import

10 years agoMerge "Don't change the text in reaction to a user dict add" into klp-dev
Jean Chalard [Wed, 25 Sep 2013 07:50:15 +0000 (07:50 +0000)]
Merge "Don't change the text in reaction to a user dict add" into klp-dev

10 years agoMerge "Don't crash when no alarms are scheduled" into klp-dev
Christopher Tate [Wed, 25 Sep 2013 01:20:38 +0000 (01:20 +0000)]
Merge "Don't crash when no alarms are scheduled" into klp-dev

10 years agoFix an incorrectly created race accessing Wifi Supplicant
Vinit Deshapnde [Wed, 25 Sep 2013 00:38:09 +0000 (17:38 -0700)]
Fix an incorrectly created race accessing Wifi Supplicant

ScanModeState is trying to undo whatever it did in its enter(), in its
exit() function. But doing that is incorrect because it is possible to
transition to multiple states that require different conditions.

In this bug, the state machine transitioned from ScanModeState to
WaitForP2pDisabled state; in response to Stop Supplicant command. Well,
when we are trying to stop supplicant, there is clearly no need to
enable P2P or load all networks. But since this code exists in exit(),
it is executed nonetheless, causing race conditions accessing the
wpa_supplicant (WifiStateMachine is trying to shut it down, but
P2pStateMachine is trying to bring up the p2p interfaces).

We solve that problem by moving this code to the place where we transition
to DisconnectedState - since that's the state that needs this as a
precondition.

Bug: 10761752
Change-Id: Iaf0ffd8056de8533b5d2bfdf8c440fbb7e406dac

10 years agoMerge "Be less aggressive when not resuming top activity" into klp-dev
Craig Mautner [Wed, 25 Sep 2013 00:28:20 +0000 (00:28 +0000)]
Merge "Be less aggressive when not resuming top activity" into klp-dev

10 years agoDon't crash when no alarms are scheduled
Christopher Tate [Wed, 25 Sep 2013 00:12:46 +0000 (17:12 -0700)]
Don't crash when no alarms are scheduled

Backing until you hear glass is generally contraindicated.

Bug 10056484

Change-Id: Ie1331fbbc5fbb5d6384a6cfc975aa1840a5c9a2d

10 years agoMerge "Fix artwork not received in RemoteController metadata update." into klp-dev
Jean-Michel Trivi [Tue, 24 Sep 2013 23:37:22 +0000 (23:37 +0000)]
Merge "Fix artwork not received in RemoteController metadata update." into klp-dev

10 years agoBe less aggressive when not resuming top activity
Craig Mautner [Tue, 24 Sep 2013 23:21:54 +0000 (16:21 -0700)]
Be less aggressive when not resuming top activity

The previous fix for keeping activities from running on startup,
ag/363992, was keeping the home task from launching when the
keyguard should have allowed it.

This fix permits the home activity to launch in such situations.

Fixes bug 10916877.

Change-Id: I429f0d5a13e06a247b9b6b7241f9a3514044c371

10 years agoMerge "User should not be able to select unavailable printers." into klp-dev
Svetoslav [Tue, 24 Sep 2013 23:15:58 +0000 (23:15 +0000)]
Merge "User should not be able to select unavailable printers." into klp-dev

10 years agoFix accessibility for all-caps items in keyguard
Jim Miller [Tue, 24 Sep 2013 22:54:04 +0000 (15:54 -0700)]
Fix accessibility for all-caps items in keyguard

This fixes a bug where TTS on all-caps items doesn't work for
Buttons.  The fix is to use translation (ala. TextView.setAllCaps()),
which just affects rendering and not the original text string.

Fix bug 10912259

Change-Id: Id8cba927819c979fe699353219d45f8b0f9f5aac

10 years agoUser should not be able to select unavailable printers.
Svetoslav [Tue, 24 Sep 2013 22:14:41 +0000 (15:14 -0700)]
User should not be able to select unavailable printers.

1. If the printer is unavailable we should not allow the user
   to select it. Rather, show it grayed out.

2. Some string changes requeted by translators.

bug:10917222

Change-Id: I370f05f9c8e70e3f077db7eb02cf48e19a59925d

10 years agoMerge "Replace blue highlight feedback with gray." into klp-dev
Rob Tsuk [Tue, 24 Sep 2013 22:44:38 +0000 (22:44 +0000)]
Merge "Replace blue highlight feedback with gray." into klp-dev

10 years agoMerge "Mirror DocumentsUI assets for RTL layouts" into klp-dev
Michael Wright [Tue, 24 Sep 2013 22:39:06 +0000 (22:39 +0000)]
Merge "Mirror DocumentsUI assets for RTL layouts" into klp-dev

10 years agoMerge "Fix monkey bugs in ListView" into klp-dev
Adam Powell [Tue, 24 Sep 2013 22:38:37 +0000 (22:38 +0000)]
Merge "Fix monkey bugs in ListView" into klp-dev

10 years agoMerge "Asset import from ux-assets" into klp-dev
Adam Powell [Tue, 24 Sep 2013 22:38:22 +0000 (22:38 +0000)]
Merge "Asset import from ux-assets" into klp-dev

10 years agoFix monkey bugs in ListView
Adam Powell [Tue, 24 Sep 2013 21:53:30 +0000 (14:53 -0700)]
Fix monkey bugs in ListView

* Don't run item click listeners as part of touch mode reset if the
  ListView is being detached from its window. Some calling code makes
  assumptions around this.

* Remove redundant state tracking for window attachment from
  AbsListView now that we have View#isAttachedToWindow(). The timing
  of View's mechanism is closer to what we want here anyway -
  subclasses calling super.onDetachedFromWindow() as the first line of
  an overridden onDetachedFromWindow() method will see the window as
  being in a detached state while the rest of the method runs,
  resulting in the behavior described in the first bullet point above.

Bug 10834897

Change-Id: Ic9fdff3c5cfc4996361a7fb1a863547b4d1a2c9c

10 years agoAsset import from ux-assets
Adam Powell [Tue, 24 Sep 2013 22:10:25 +0000 (15:10 -0700)]
Asset import from ux-assets

Import changed assets as detailed in bug 10496653

Change-Id: I53fd9479031e7eabb6480c58a26da6312fdb7ec7

10 years agoFit and finish for navbar camera affordance
Jim Miller [Fri, 20 Sep 2013 21:21:50 +0000 (14:21 -0700)]
Fit and finish for navbar camera affordance

- fix potential event dispatch bug where camera events weren't always propagated
- fix DelegateViewHelper to always propagate events, even when disabled

Bug 10332383

Change-Id: Ie082d3074fc6497ee3633dcc0a51a6b08bcf0037

10 years agoMerge "Fix issue #10848916: "Always" button is not working." into klp-dev
Dianne Hackborn [Tue, 24 Sep 2013 21:46:16 +0000 (21:46 +0000)]
Merge "Fix issue #10848916: "Always" button is not working." into klp-dev

10 years agoReplace blue highlight feedback with gray.
Rob Tsuk [Tue, 24 Sep 2013 21:16:51 +0000 (14:16 -0700)]
Replace blue highlight feedback with gray.

Change-Id: Idf95742261cdc19b25b0aa5e1e8c8cb9685e7fe5

10 years agoMerge "Fix NPE in PopupMenu.getDragToOpenListener()" into klp-dev
Alan Viverette [Tue, 24 Sep 2013 21:28:56 +0000 (21:28 +0000)]
Merge "Fix NPE in PopupMenu.getDragToOpenListener()" into klp-dev

10 years agoMerge "Remove Rect allocation in each layout pass." into klp-dev
John Spurlock [Tue, 24 Sep 2013 21:18:00 +0000 (21:18 +0000)]
Merge "Remove Rect allocation in each layout pass." into klp-dev

10 years agoFix issue #10848916: "Always" button is not working.
Dianne Hackborn [Tue, 24 Sep 2013 00:38:51 +0000 (17:38 -0700)]
Fix issue #10848916: "Always" button is not working.

The problem was that the ResolverActivity filters some activities
out of the list it shows, but it uses that display list as the
list of components the preference is set against when ultimately
setting it on the package manager...  but that filtered list is *not*
the right component set, since it is not the same as the package
manager's view on it.

The fix here is to retain the original set of matching components
and use that when setting the preferred activity.  Note that this
does mean that in very unusual cases where filtering is happeing
(such as one of the activities not being exported but being seen
as a possible completion from another app), then you will be setting
the preference for the complete set.  Ultimately we probably need
to have the package manager apply these filtering rules up-front so
this is all consistent, but this is a very rare case so not that
important.

And then most of the change here is just improving the debug
output for intent resolution.

Change-Id: Ie35ac2c05a45946439951bbf41433c8b7de79c05

10 years agoRemove Rect allocation in each layout pass.
John Spurlock [Tue, 24 Sep 2013 21:09:05 +0000 (17:09 -0400)]
Remove Rect allocation in each layout pass.

Bug:10786445
Change-Id: I0cb1ab7697f33e02adeb5319bae19d3a1d20753c

10 years agoMerge "Disable ActionBar usage of transitions" into klp-dev
Chet Haase [Tue, 24 Sep 2013 20:58:40 +0000 (20:58 +0000)]
Merge "Disable ActionBar usage of transitions" into klp-dev

10 years agoMerge "Multiple printer discovery session instances and other bugs." into klp-dev
Svetoslav [Tue, 24 Sep 2013 20:37:58 +0000 (20:37 +0000)]
Merge "Multiple printer discovery session instances and other bugs." into klp-dev

10 years agoMerge "Freshen restored stacks, more UX bug fixes." into klp-dev
Jeff Sharkey [Tue, 24 Sep 2013 20:34:39 +0000 (20:34 +0000)]
Merge "Freshen restored stacks, more UX bug fixes." into klp-dev

10 years agoFreshen restored stacks, more UX bug fixes.
Jeff Sharkey [Tue, 24 Sep 2013 19:07:12 +0000 (12:07 -0700)]
Freshen restored stacks, more UX bug fixes.

When restoring a persisted stack, such as last location or a location
where save occurred, freshen the DocumentStack to get the latest
details from backend, and ensure the path is still valid.

Filter Recent directories in create mode based on roots allowed by
incoming request.

Remember when user last picked an external app, and open drawer next
time user launches for GET_CONTENT.

Fix state list drawable ordering, and avoid clobbering Drawable
callback when wrapping in InsetDrawable; tricksy hobbitses!

Make grid items smaller to always fit two columns on phones.  Draw
grid items all the way to screen edge; don't clip to padding.  Better
error message when folder creation failed.  Show Recents in grid mode
when picking any visual content, not just images.

Bug: 10846100109032111089899310892808108920581089200910885012
Change-Id: Ia0f88d911abc6ea03645d6fd3e04271c21d5936a

10 years agoMirror DocumentsUI assets for RTL layouts
Michael Wright [Tue, 24 Sep 2013 01:40:08 +0000 (18:40 -0700)]
Mirror DocumentsUI assets for RTL layouts

Bug: 10641916
Change-Id: I037adeb5ec7df6e3812be8653929a55ed8b87323

10 years agoMerge "Fix method for determining focused window." into klp-dev
Craig Mautner [Tue, 24 Sep 2013 19:33:16 +0000 (19:33 +0000)]
Merge "Fix method for determining focused window." into klp-dev

10 years agoMerge "WebVttRenderer: allow BOM at beginning of a WebVTT file." into klp-dev
Lajos Molnar [Tue, 24 Sep 2013 18:37:12 +0000 (18:37 +0000)]
Merge "WebVttRenderer: allow BOM at beginning of a WebVTT file." into klp-dev

10 years agoMerge "Update AdapterView.performItemClick() documentation" into klp-dev
Alan Viverette [Tue, 24 Sep 2013 18:28:01 +0000 (18:28 +0000)]
Merge "Update AdapterView.performItemClick() documentation" into klp-dev

10 years agoFix NPE in PopupMenu.getDragToOpenListener()
Alan Viverette [Tue, 24 Sep 2013 18:27:08 +0000 (11:27 -0700)]
Fix NPE in PopupMenu.getDragToOpenListener()

BUG: 10912382
Change-Id: I206e697b4781c4d03ebc01aa675511d89c1656af

10 years agoMerge "Pause activities behind keyguard after boot." into klp-dev
Craig Mautner [Tue, 24 Sep 2013 17:39:17 +0000 (17:39 +0000)]
Merge "Pause activities behind keyguard after boot." into klp-dev

10 years agoPause activities behind keyguard after boot.
Craig Mautner [Mon, 23 Sep 2013 17:28:14 +0000 (10:28 -0700)]
Pause activities behind keyguard after boot.

Following boot the initial activity was automatically resumed even if
a lockscreen is obscuring it. Refer to CL 363859 for why this breaks
things.

This fix pauses all activities the first time a lockscreen appears.

Completes the fix for bug 10732489.

Change-Id: I6fcac14b574c495aa0e16d798cddc1263c6b4c25

10 years agoWebVttRenderer: allow BOM at beginning of a WebVTT file.
Lajos Molnar [Tue, 24 Sep 2013 16:35:47 +0000 (09:35 -0700)]
WebVttRenderer: allow BOM at beginning of a WebVTT file.

This is part of the spec.

Change-Id: I61ccc259c0b9d3a2bc4273925665d107b0c89c62
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10900755

10 years agoFix method for determining focused window.
Craig Mautner [Tue, 24 Sep 2013 00:37:09 +0000 (17:37 -0700)]
Fix method for determining focused window.

Method had been rewritten to be task-based and there were errors
when a task had no apptokens. New version is much easier to
maintain.

Maybe fixes bug 10689184.

Change-Id: I5e4c8447a33a4f5686296c20b9f9fe302c9ae49f

10 years agoMerge "Public API for peak and RMS monitoring through the Visualizer effect" into...
Jean-Michel Trivi [Tue, 24 Sep 2013 15:44:55 +0000 (15:44 +0000)]
Merge "Public API for peak and RMS monitoring through the Visualizer effect" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 24 Sep 2013 14:59:27 +0000 (14:59 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 24 Sep 2013 14:59:07 +0000 (14:59 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 24 Sep 2013 14:58:06 +0000 (14:58 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Update WebView documentation section about zoom." into klp-dev
Martin Kosiba [Tue, 24 Sep 2013 09:49:21 +0000 (09:49 +0000)]
Merge "Update WebView documentation section about zoom." into klp-dev

10 years agoMultiple printer discovery session instances and other bugs.
Svetoslav [Tue, 24 Sep 2013 01:48:34 +0000 (18:48 -0700)]
Multiple printer discovery session instances and other bugs.

1. The fused printers provider was dropping on the floor received printers
    if it was not active. It is in fact a loaded and if not active it should compute
    the printers and not deliver them until activated. This fixes an issue where
    opening the print dialog, then enabling a print service results in the printers
    reported by the service not showing up in the print dialog.

2. Printer discovery session was created twice which leads to incorrect behavior
    as the pint system is designed around the contract that there is a single
    printer discovery session per service at a time. This was possible due to an
    incorrect initialization of a member variable resulting in double session creation
    when the print service is connected.

3. When a print service is enabled during discovery we did not use the correct
    condition to start printer discovery resulting in starting it all the time even if
    not needed. Also if some of the printers that had to be tracked are reported
    by the service just enabled (typically historical printers) we did not ask the
    service to start tracking them.

4. Removed some logging.

bug:10903343

Change-Id: I46c049471a4b099fc668df3aee2aaedc8d7786ac

10 years agoMerge "Camera2: replace EDQUOT with EUSERS" into klp-dev
Zhijun He [Tue, 24 Sep 2013 02:28:22 +0000 (02:28 +0000)]
Merge "Camera2: replace EDQUOT with EUSERS" into klp-dev

10 years agoFix artwork not received in RemoteController metadata update.
Jean-Michel Trivi [Tue, 24 Sep 2013 01:34:23 +0000 (18:34 -0700)]
Fix artwork not received in RemoteController metadata update.

Regardless of the artwork value, always update the metadata.

When updating the metadata, make sure the artwork is stored
 in the artwork field, not in the bundle of the MetadataEditor.

Bug 10862527

Change-Id: Iec83fd9bb358a91c852099b30bb6d307a52a034c

10 years agoMerge "Fit and finish for navbar camera affordance" into klp-dev
Jim Miller [Tue, 24 Sep 2013 01:30:59 +0000 (01:30 +0000)]
Merge "Fit and finish for navbar camera affordance" into klp-dev

10 years agoMerge "Enable RTL support in keyguard" into klp-dev
Jim Miller [Tue, 24 Sep 2013 00:08:05 +0000 (00:08 +0000)]
Merge "Enable RTL support in keyguard" into klp-dev

10 years agoEnable RTL support in keyguard
Jim Miller [Tue, 24 Sep 2013 00:01:14 +0000 (17:01 -0700)]
Enable RTL support in keyguard

Fixes bug 10799068

Change-Id: I353b135a2f5ea7cc061719414266cb47f1742db3

10 years agoPublic API for peak and RMS monitoring through the Visualizer effect
Jean-Michel Trivi [Mon, 23 Sep 2013 23:26:02 +0000 (16:26 -0700)]
Public API for peak and RMS monitoring through the Visualizer effect

Public API to extend the capabilities of the Visualizer audio
  effect with measurements of peak and RMS values.

Bug 8413913

Change-Id: Ifc6646e013ec55fde3523fab685add1d043f1272

10 years agoMerge "Fix broken method WorkSource.set (names aren't applied)." into klp-dev
David Christie [Mon, 23 Sep 2013 23:09:12 +0000 (23:09 +0000)]
Merge "Fix broken method WorkSource.set (names aren't applied)." into klp-dev

10 years agoMerge "The current is printer not refreshed when selected." into klp-dev
Svetoslav Ganov [Mon, 23 Sep 2013 23:04:31 +0000 (23:04 +0000)]
Merge "The current is printer not refreshed when selected." into klp-dev

10 years agoFix broken method WorkSource.set (names aren't applied).
David Christie [Mon, 23 Sep 2013 22:59:21 +0000 (15:59 -0700)]
Fix broken method WorkSource.set (names aren't applied).

Change-Id: I89273b99e312e48adc10debbb4e40d8684cceb23

10 years agoMerge "Add audio level monitoring capabilities in Visualizer effect" into klp-dev
Jean-Michel Trivi [Mon, 23 Sep 2013 22:58:53 +0000 (22:58 +0000)]
Merge "Add audio level monitoring capabilities in Visualizer effect" into klp-dev

10 years agoThe current is printer not refreshed when selected.
Svetoslav Ganov [Mon, 23 Sep 2013 22:51:03 +0000 (15:51 -0700)]
The current is printer not refreshed when selected.

Every time a printer is selected we have to refresh it by telling
the print service to stop tracking the previously selected printer
if such and start tracking the current one. As a result of start
tracking the print service has to give us the capabilities too. A
previous patch caused a regression and we do not refresh printers
when needed.

bug:10898968

Change-Id: I9d5413e324fdb8856ef61849d36a161470eb204d

10 years agoMerge "Implement issue #10895990: Better durations for proc stats" into klp-dev
Dianne Hackborn [Mon, 23 Sep 2013 22:10:08 +0000 (22:10 +0000)]
Merge "Implement issue #10895990: Better durations for proc stats" into klp-dev

10 years agoMerge "Add RIL_REQUEST_SET_INITIAL_ATTACH_APN." into klp-dev
Wink Saville [Mon, 23 Sep 2013 21:56:43 +0000 (21:56 +0000)]
Merge "Add RIL_REQUEST_SET_INITIAL_ATTACH_APN." into klp-dev

10 years agoAdd RIL_REQUEST_SET_INITIAL_ATTACH_APN.
Wink Saville [Mon, 23 Sep 2013 21:53:25 +0000 (14:53 -0700)]
Add RIL_REQUEST_SET_INITIAL_ATTACH_APN.

Bug: 9626411
Change-Id: I0c278d9f4c6fd7e12c495c2411ab94ac87e1f316

10 years agoDisable ActionBar usage of transitions
Chet Haase [Mon, 23 Sep 2013 18:26:36 +0000 (11:26 -0700)]
Disable ActionBar usage of transitions

Various artifacts across apps were coming from ActionBar's use of
the new transitions framework. Disabling transitions for now to get
things back to a more stable state.

Also, fixed some related bugs in transitions themselves, including
a change in TextChange to account for text selection, which was causing
errors in Keep's SearchView.

Issue #10860557 TextChange animator may old stale value
Issue #10819685 sometimes icons are lighter
Issue #10750525 Share and Settings icons overlap when stopping slideshow
Issue #10839551 Sometimes the search text box is right-aligned in Keep
Issue #10727484 Cursor incorrectly positioned after entering first letter during search action in keep app

Change-Id: Iad7cbf3297e18018308b8148b3519b032e63dace

10 years agoImplement issue #10895990: Better durations for proc stats
Dianne Hackborn [Mon, 23 Sep 2013 21:39:23 +0000 (14:39 -0700)]
Implement issue #10895990: Better durations for proc stats

Reduce the batching down to 3 hours, so that we can show shorter
durations in the UI.

Change-Id: I46af674b0024b828595ed3cdad2b47fe47d71ed8

10 years agoMerge "Allow saving to Downloads." into klp-dev
Jeff Sharkey [Mon, 23 Sep 2013 21:28:07 +0000 (21:28 +0000)]
Merge "Allow saving to Downloads." into klp-dev

10 years agoAllow saving to Downloads.
Jeff Sharkey [Mon, 23 Sep 2013 21:23:41 +0000 (14:23 -0700)]
Allow saving to Downloads.

Uses new column to mark writability.  Also filter file selection in
create mode to only allow writable files.

Bug: 1066716410893268
Change-Id: I90f74efbb7ac634fbdb3cc02a904a96a434d3605

10 years agoMerge "Unmarshall PFDs properly when hand-crafting interface stubs" into klp-dev
Amith Yamasani [Mon, 23 Sep 2013 21:14:51 +0000 (21:14 +0000)]
Merge "Unmarshall PFDs properly when hand-crafting interface stubs" into klp-dev

10 years agoAdd audio level monitoring capabilities in Visualizer effect
Jean-Michel Trivi [Fri, 20 Sep 2013 17:48:55 +0000 (10:48 -0700)]
Add audio level monitoring capabilities in Visualizer effect

Extend the visualizer audio effect with the capability to query
 peak and RMS values for the currently playing audio.
Values are expressed in mB and are retrieved as an array of
 int values in the native layer, and written directly as
 object fields for the JNI.

Bug 8413913

Change-Id: I808075a18e61f85c566544a2bdaae10e5c4a644b

10 years agoam 50756ccc: am 77364631: am a9fcf662: Merge "New Scheduling class." into jb-mr2...
Katie McCormick [Mon, 23 Sep 2013 20:50:39 +0000 (13:50 -0700)]
am 50756ccc: am 77364631: am a9fcf662: Merge "New Scheduling class." into jb-mr2-docs

* commit '50756cccc05b77be0d19506a891415d192282db7':
  New Scheduling class.

10 years agoam 77364631: am a9fcf662: Merge "New Scheduling class." into jb-mr2-docs
Katie McCormick [Mon, 23 Sep 2013 20:47:14 +0000 (13:47 -0700)]
am 77364631: am a9fcf662: Merge "New Scheduling class." into jb-mr2-docs

* commit '7736463172804b054e75a9a4911c061c30d00347':
  New Scheduling class.

10 years agoam a9fcf662: Merge "New Scheduling class." into jb-mr2-docs
Katie McCormick [Mon, 23 Sep 2013 20:43:42 +0000 (13:43 -0700)]
am a9fcf662: Merge "New Scheduling class." into jb-mr2-docs

* commit 'a9fcf6620d418268ab3e9ee8b13b37e85825e6f8':
  New Scheduling class.

10 years agoMerge "New Scheduling class." into jb-mr2-docs
Katie McCormick [Mon, 23 Sep 2013 20:40:46 +0000 (20:40 +0000)]
Merge "New Scheduling class." into jb-mr2-docs

10 years agoMerge "Introduce transparent bars to the keyguard." into klp-dev
John Spurlock [Mon, 23 Sep 2013 20:37:29 +0000 (20:37 +0000)]
Merge "Introduce transparent bars to the keyguard." into klp-dev

10 years agoUnmarshall PFDs properly when hand-crafting interface stubs
Amith Yamasani [Mon, 23 Sep 2013 18:16:28 +0000 (11:16 -0700)]
Unmarshall PFDs properly when hand-crafting interface stubs

ParcelFileDescriptors now carry an optional socket fd to communicate
close events. So, make sure that the correct creator is called when
reconstructing parceled PFDs.

Bug: 10759966
Change-Id: Ic6b9ffb8cb7af5f3a12440def595f74682231866

10 years agoCamera2: replace EDQUOT with EUSERS
Zhijun He [Mon, 23 Sep 2013 20:07:57 +0000 (13:07 -0700)]
Camera2: replace EDQUOT with EUSERS

Bug: 10838065
Change-Id: Ib450fcfffecec210c7f11842bf024abd7889bad7

10 years agoMerge "Upload fsck logs to the dropbox when error found" into klp-dev
Ken Sumrall [Mon, 23 Sep 2013 20:07:10 +0000 (20:07 +0000)]
Merge "Upload fsck logs to the dropbox when error found" into klp-dev

10 years agoMerge "Fix issue #10876433: java.lang.IllegalStateException in..." into klp-dev
Dianne Hackborn [Mon, 23 Sep 2013 20:05:45 +0000 (20:05 +0000)]
Merge "Fix issue #10876433: java.lang.IllegalStateException in..." into klp-dev

10 years agoFix issue #10876433: java.lang.IllegalStateException in...
Dianne Hackborn [Mon, 23 Sep 2013 20:00:23 +0000 (13:00 -0700)]
Fix issue #10876433: java.lang.IllegalStateException in...

...ActivityManagerService.updateLruProcessInternalLocked on bluetooth

Don't try to move process records associated with dead service
connections.

Technically we should probably be clearing the binding/service's
app entry so we don't get into this case, but the least intrusive
change for now is this check.

Change-Id: I6683e692eb5a8fa4f8ec1fa31bd63ec3d7f878ef

10 years agoIntroduce transparent bars to the keyguard.
John Spurlock [Sat, 21 Sep 2013 22:41:53 +0000 (18:41 -0400)]
Introduce transparent bars to the keyguard.

Driven by a new framework config bool. Tested on all layouts,
but disabled by default.  Can be enabled with a config overlay.

(Sliding/MultiPane)ChallengeLayout have custom measure/layout
logic that peeks at the root view's padding (!).  So we must keep
the root view's padding = system window insets. However, we need
the scrims + the fullscreen camera widget preview to use the entire
display size if the bars are transparent.

So the approach is to maintain the root view's
(KeyguardViewManager$ViewManagerHost) padding as before via
setFitsSystemWindows(true) but allow non KeyguardHostViews to
extend into the padding if bars are transparent via a custom
measure/draw on the root view.

KeyguardHostView background + challege scrims moved up to the
root view.

Also:
- Remove logspam line for fixed bug.

- Fix status bar staying opaque on interaction on secure keyguard.

Known issues:
- Nav bar blip dismissing global actions, keyguard app widget picker
bars are opaque.  Both will use the new inherit flag once it exists.

- Emergency dialer layout dance, will be fixed in the phone project.

Bug:10606085
Change-Id: I2648b4ee9a54a67324ce9dcbab976ad4da4bbcfa

10 years agoMerge "Fix Java API error where requesting another style for a provided family fails...
Derek Sollenberger [Mon, 23 Sep 2013 19:14:57 +0000 (19:14 +0000)]
Merge "Fix Java API error where requesting another style for a provided family fails" into klp-dev

10 years agoMerge "Work on issue #10759595: preferred tag doesn't prevent..." into klp-dev
Dianne Hackborn [Mon, 23 Sep 2013 18:10:27 +0000 (18:10 +0000)]
Merge "Work on issue #10759595: preferred tag doesn't prevent..." into klp-dev

10 years agoWork on issue #10759595: preferred tag doesn't prevent...
Dianne Hackborn [Mon, 23 Sep 2013 18:08:52 +0000 (11:08 -0700)]
Work on issue #10759595: preferred tag doesn't prevent...

...activity chooser from being shown

Add more useful output when intent filter debugging is enabled.

Change-Id: I3722b03ed625046398e81233cf7fb6aa5ded5eca

10 years agoMerge "Ensure that activities behind keyguard are paused." into klp-dev
Craig Mautner [Mon, 23 Sep 2013 17:46:30 +0000 (17:46 +0000)]
Merge "Ensure that activities behind keyguard are paused." into klp-dev