OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Touch up the Hotword API" into klp-dev
Sandeep Siddhartha [Tue, 27 Aug 2013 02:24:25 +0000 (02:24 +0000)]
Merge "Touch up the Hotword API" into klp-dev

10 years agoTouch up the Hotword API
Sandeep Siddhartha [Tue, 27 Aug 2013 00:59:34 +0000 (17:59 -0700)]
Touch up the Hotword API

- Few comments got missed from the last review

Change-Id: I933912c51794875be5d129351d4f06bc040537a6

10 years agoFix docs build.
Ying Wang [Tue, 27 Aug 2013 00:48:22 +0000 (17:48 -0700)]
Fix docs build.

Change-Id: I7bfcfea052de6959230bb361400e760eab35b78c

10 years agoMerge "Add Service API to perform Hotword recognition" into klp-dev
Sandeep Siddhartha [Tue, 27 Aug 2013 00:38:40 +0000 (00:38 +0000)]
Merge "Add Service API to perform Hotword recognition" into klp-dev

10 years agoAdd Service API to perform Hotword recognition
Sandeep Siddhartha [Fri, 23 Aug 2013 23:40:08 +0000 (16:40 -0700)]
Add Service API to perform Hotword recognition

Change-Id: I855330b255a12cce309aa11e0b7cde5b8e061043

10 years agoMerge "Increase sampling data size limits" into klp-dev
Vinit Deshapnde [Tue, 27 Aug 2013 00:23:10 +0000 (00:23 +0000)]
Merge "Increase sampling data size limits" into klp-dev

10 years agoMerge "Tweak visibility logic for inflated view scenarios" into klp-dev
Chet Haase [Mon, 26 Aug 2013 23:29:34 +0000 (23:29 +0000)]
Merge "Tweak visibility logic for inflated view scenarios" into klp-dev

10 years agoTweak visibility logic for inflated view scenarios
Chet Haase [Mon, 26 Aug 2013 14:34:12 +0000 (07:34 -0700)]
Tweak visibility logic for inflated view scenarios

Previously, Visibility would determine whether a given view was
worthy of a transition by checking the visibility of that view's
parent hierarchy. This is done to avoid fading every view in
a hierarchy when only the top-most node should be faded.

However, the logic was flawed because it assumed the end scene
parent was stable between scenes, which is not the case with inflated
layout scenes, in which the parent views are not the same, even though they
may represent the same parents (via ids).

The new approach is to check information on both the start and end scene
parents, and to take ids into account when checking the state of these
parents in the start/end scenes. Also, avoid this logic altogether if the
transition is targeted at specific views (don't bother checking the
parents if the transition was told to fade specific views).

Issue #10442447 Transitions: Fades don't happen correctly in some situations

Change-Id: Icea24b892f2eff2d37c6436ccfe4e288aac84178

10 years agoMerge "Expand documentation around ViewParent#childHasTransientStateChanged" into...
Adam Powell [Mon, 26 Aug 2013 22:32:04 +0000 (22:32 +0000)]
Merge "Expand documentation around ViewParent#childHasTransientStateChanged" into klp-dev

10 years agoMerge ""Year" is an authorized metadate long field." into klp-dev
Jean-Michel Trivi [Mon, 26 Aug 2013 22:28:12 +0000 (22:28 +0000)]
Merge ""Year" is an authorized metadate long field." into klp-dev

10 years agoIncrease sampling data size limits
Vinit Deshapnde [Mon, 26 Aug 2013 22:11:01 +0000 (15:11 -0700)]
Increase sampling data size limits

Integer doesn't seem to like number > 2 Gig; so converting all bits of
samples to long; and handling exceptions that may crash the service

Bug: 10459447
Change-Id: I1291e97ba6d0ab7304dc6a6e8ef819d17491e017

10 years agoMerge "Fix an exception caused by incorrect data handling" into klp-dev
Vinit Deshapnde [Mon, 26 Aug 2013 21:50:20 +0000 (21:50 +0000)]
Merge "Fix an exception caused by incorrect data handling" into klp-dev

10 years agoExpand documentation around ViewParent#childHasTransientStateChanged
Adam Powell [Mon, 26 Aug 2013 21:29:44 +0000 (14:29 -0700)]
Expand documentation around ViewParent#childHasTransientStateChanged

Bug 10461020

Change-Id: Id27df5de171b01effae949bcb1ce69bd4101b5ee

10 years agoFix padding for simple_list_item_2
Adam Powell [Fri, 23 Aug 2013 19:05:14 +0000 (12:05 -0700)]
Fix padding for simple_list_item_2

Bug 9267688

Change-Id: I33270d9661581e116e16fd9216387a4fbdd72351

10 years agoMerge "Move functor GL setup to just before functor" into klp-dev
Chris Craik [Mon, 26 Aug 2013 20:50:50 +0000 (20:50 +0000)]
Merge "Move functor GL setup to just before functor" into klp-dev

10 years agoMerge "Use transient state to preserve accessibility focus in ListView" into klp-dev
Alan Viverette [Mon, 26 Aug 2013 20:49:49 +0000 (20:49 +0000)]
Merge "Use transient state to preserve accessibility focus in ListView" into klp-dev

10 years agoMerge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev
Alan Viverette [Mon, 26 Aug 2013 20:49:27 +0000 (20:49 +0000)]
Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev

10 years agoMerge "Reconcile drag-to-open and touch event interception" into klp-dev
Alan Viverette [Mon, 26 Aug 2013 20:48:58 +0000 (20:48 +0000)]
Merge "Reconcile drag-to-open and touch event interception" into klp-dev

10 years agoMerge "Fix unpremul setting in BitmapRegionDecoder." into klp-dev
Leon Scroggins III [Mon, 26 Aug 2013 20:47:22 +0000 (20:47 +0000)]
Merge "Fix unpremul setting in BitmapRegionDecoder." into klp-dev

10 years agoMerge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev
Edward Jee [Mon, 26 Aug 2013 20:33:45 +0000 (20:33 +0000)]
Merge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev

10 years agoMerge "camera2: CameraDevice#configureOutputs now deletes unused streams" into klp-dev
Igor Murashkin [Mon, 26 Aug 2013 20:22:14 +0000 (20:22 +0000)]
Merge "camera2: CameraDevice#configureOutputs now deletes unused streams" into klp-dev

10 years agoam 032c5630: am bb6b1ff0: am d608d5e3: add jb mr2 uses-feature items to reference...
Scott Main [Mon, 26 Aug 2013 20:15:35 +0000 (13:15 -0700)]
am 032c5630: am bb6b1ff0: am d608d5e3: add jb mr2 uses-feature items to reference page and fix a couple doc bugs

* commit '032c56305eb69fcbf0d0baa8dd0276d3821bc0b7':
  add jb mr2 uses-feature items to reference page and fix a couple doc bugs

10 years agoam bb6b1ff0: am d608d5e3: add jb mr2 uses-feature items to reference page and fix...
Scott Main [Mon, 26 Aug 2013 20:12:20 +0000 (13:12 -0700)]
am bb6b1ff0: am d608d5e3: add jb mr2 uses-feature items to reference page and fix a couple doc bugs

* commit 'bb6b1ff012edac329bf4c3e7121651220259e64c':
  add jb mr2 uses-feature items to reference page and fix a couple doc bugs

10 years agoam d608d5e3: add jb mr2 uses-feature items to reference page and fix a couple doc...
Scott Main [Mon, 26 Aug 2013 20:09:46 +0000 (13:09 -0700)]
am d608d5e3: add jb mr2 uses-feature items to reference page and fix a couple doc bugs

* commit 'd608d5e3fa08cd9935f03144b192ea5934c715a8':
  add jb mr2 uses-feature items to reference page and fix a couple doc bugs

10 years agoadd jb mr2 uses-feature items to reference page and fix a couple doc bugs
Scott Main [Mon, 26 Aug 2013 19:31:09 +0000 (12:31 -0700)]
add jb mr2 uses-feature items to reference page and fix a couple doc bugs

Change-Id: I1b95d98b083af3dad55f19a9e68f69460d4e6e57

10 years agoMerge "Add new logging for system bar window state." into klp-dev
John Spurlock [Mon, 26 Aug 2013 19:43:26 +0000 (19:43 +0000)]
Merge "Add new logging for system bar window state." into klp-dev

10 years agoAdd new logging for system bar window state.
John Spurlock [Mon, 26 Aug 2013 19:37:58 +0000 (15:37 -0400)]
Add new logging for system bar window state.

And re-enable PhoneStatusBar dump output in bugreports.

Bug:10488453
Change-Id: If39b32e82dee59f3c166c5a948d379030da0ea01

10 years agoMerge "Better aidl generated dependency" into klp-dev
Ying Wang [Mon, 26 Aug 2013 19:18:34 +0000 (19:18 +0000)]
Merge "Better aidl generated dependency" into klp-dev

10 years agoam 59adfca6: (-s ours) am 33283a97: am dce52cdb: DO NOT MERGE: MDST is not ready...
Wink Saville [Mon, 26 Aug 2013 18:53:14 +0000 (11:53 -0700)]
am 59adfca6: (-s ours) am 33283a97: am dce52cdb: DO NOT MERGE: MDST is not ready until connected to DcTracker.

* commit '59adfca65dc35274684831577ec41046b418a688':
  DO NOT MERGE: MDST is not ready until connected to DcTracker.

10 years agoam 33283a97: am dce52cdb: DO NOT MERGE: MDST is not ready until connected to DcTracker.
Wink Saville [Mon, 26 Aug 2013 18:50:10 +0000 (11:50 -0700)]
am 33283a97: am dce52cdb: DO NOT MERGE: MDST is not ready until connected to DcTracker.

* commit '33283a9726a29b5a79d7885fe194d52c0ebe7450':
  DO NOT MERGE: MDST is not ready until connected to DcTracker.

10 years agoam dce52cdb: DO NOT MERGE: MDST is not ready until connected to DcTracker.
Wink Saville [Mon, 26 Aug 2013 18:47:20 +0000 (11:47 -0700)]
am dce52cdb: DO NOT MERGE: MDST is not ready until connected to DcTracker.

* commit 'dce52cdbf1eab8bd979bf4676973699c39f7b32e':
  DO NOT MERGE: MDST is not ready until connected to DcTracker.

10 years agoam 4e6e1749: am b42beeaf: am e63411f2: In isMobileOk don\'t execute finally if mobile...
Wink Saville [Mon, 26 Aug 2013 18:46:29 +0000 (11:46 -0700)]
am 4e6e1749: am b42beeaf: am e63411f2: In isMobileOk don\'t execute finally if mobile data is not supported.

* commit '4e6e1749eda5a2c84538b0064fdc219aab3605e1':
  In isMobileOk don't execute finally if mobile data is not supported.

10 years agoam b42beeaf: am e63411f2: In isMobileOk don\'t execute finally if mobile data is...
Wink Saville [Mon, 26 Aug 2013 18:43:25 +0000 (11:43 -0700)]
am b42beeaf: am e63411f2: In isMobileOk don\'t execute finally if mobile data is not supported.

* commit 'b42beeafcf8117fb4ac41dd91fc9e6113c0d6aae':
  In isMobileOk don't execute finally if mobile data is not supported.

10 years agoFix unpremul setting in BitmapRegionDecoder.
Leon Scroggins III [Mon, 26 Aug 2013 18:27:15 +0000 (14:27 -0400)]
Fix unpremul setting in BitmapRegionDecoder.

requireUnpremultiplied should be the opposite of BitmapOptions.
inPremultiplied, as in BitmapFactory.

Fixes CTS tests.

BUG=10490308

Change-Id: I21b8c057ccdc9b35c69730a7fe8c3b6802ee6dd8

10 years agoam e63411f2: In isMobileOk don\'t execute finally if mobile data is not supported.
Wink Saville [Mon, 26 Aug 2013 18:40:36 +0000 (11:40 -0700)]
am e63411f2: In isMobileOk don\'t execute finally if mobile data is not supported.

* commit 'e63411f28b81a0c9f7fee1d0b3a0765606c9a6f2':
  In isMobileOk don't execute finally if mobile data is not supported.

10 years agoMove functor GL setup to just before functor
Chris Craik [Mon, 26 Aug 2013 18:23:46 +0000 (11:23 -0700)]
Move functor GL setup to just before functor

bug:10399469

Because the stencil setup can issue draws, it *must* come before the
GL state setup.

Change-Id: I52a36213549fc60b091a90cbb923a1f0d35f9a65

10 years ago"Year" is an authorized metadate long field.
Jean-Michel Trivi [Mon, 26 Aug 2013 18:23:32 +0000 (11:23 -0700)]
"Year" is an authorized metadate long field.

MediaMetadataRetriever.METADATA_KEY_YEAR is listed as one of the
 supported long fields but is not declared in the list of authorized
 long keys.

Change-Id: If277f0c300e2bfed10472e23a2eeba08bfa6ed33

10 years agocamera2: CameraDevice#configureOutputs now deletes unused streams
Igor Murashkin [Fri, 23 Aug 2013 23:55:57 +0000 (16:55 -0700)]
camera2: CameraDevice#configureOutputs now deletes unused streams

Bug: 10461554
Change-Id: I3dc48e434d83b18909d25723cc8855c82e1072bc

10 years agoMerge "Enhancement for OnInfo callback on DRM Framework" into klp-dev
Jeff Tinker [Mon, 26 Aug 2013 16:09:08 +0000 (16:09 +0000)]
Merge "Enhancement for OnInfo callback on DRM Framework" into klp-dev

10 years agoMake xxhdpi adb icon consistent with other densities.
Daniel Sandler [Mon, 26 Aug 2013 15:04:02 +0000 (11:04 -0400)]
Make xxhdpi adb icon consistent with other densities.

Bug: 10487353
Change-Id: I50441587988d36e94cfb453ab9706b0ae46b066b

10 years agoFix docs build.
Ying Wang [Sat, 24 Aug 2013 05:20:03 +0000 (22:20 -0700)]
Fix docs build.

Change-Id: I3299e59fd90141fee324129ff3b251bdf8f60f10

10 years agoMerge "Add setting to disable keyguard widgets" into klp-dev
Jim Miller [Sat, 24 Aug 2013 01:28:28 +0000 (01:28 +0000)]
Merge "Add setting to disable keyguard widgets" into klp-dev

10 years agoEnhancement for OnInfo callback on DRM Framework
Takeshi Aimi [Wed, 11 Jul 2012 08:13:38 +0000 (17:13 +0900)]
Enhancement for OnInfo callback on DRM Framework

In DRM framework, plugins can transmit DrmInfoEvent to Java layer.
Although DrmInfoEvent has several entries, current implementation
can only convey integer and String. This change enables plugins
uto propagate a hashmap to Java layer. The hashmap can have
one or more Strings and one byte array as value.

Changes are made by Sony Corporation.

bug: 10459159

Change-Id: I5f2bfb43b676863ef4d220fd4ef1e48777e92752
(cherry picked from commit 84a5b5cab40711e20ba70c5ed4dfeab6b558b53b)

10 years agoMerge "Docs changes pursuant to API review feedback." into klp-dev
Jeff Brown [Sat, 24 Aug 2013 00:47:15 +0000 (00:47 +0000)]
Merge "Docs changes pursuant to API review feedback." into klp-dev

10 years agoDocs changes pursuant to API review feedback.
Jeff Brown [Sat, 24 Aug 2013 00:43:37 +0000 (17:43 -0700)]
Docs changes pursuant to API review feedback.

Change-Id: I74c51791192f7fefad4e299d25c91438cbf6ab73

10 years agoMerge "Fix leaks of JNI objects in the local reference table" into klp-dev
destradaa [Sat, 24 Aug 2013 00:44:37 +0000 (00:44 +0000)]
Merge "Fix leaks of JNI objects in the local reference table" into klp-dev

10 years agoAdd setting to disable keyguard widgets
Jim Miller [Wed, 21 Aug 2013 01:58:32 +0000 (18:58 -0700)]
Add setting to disable keyguard widgets

This allows disabling keyguard widgets through Settings.
On new devices, the setting is turned off by default.  If the
user currently has widgets in keyguard, then we keep them
and re-enable the setting.

Change-Id: I7258921231d439925ac8627105710efa99309094

10 years agoFix leaks of JNI objects in the local reference table
destradaa [Sat, 24 Aug 2013 00:26:16 +0000 (17:26 -0700)]
Fix leaks of JNI objects in the local reference table

Change-Id: I769502f8b13e0025707abdf98c24f2cac0604602

10 years agoBetter aidl generated dependency
Ying Wang [Fri, 23 Aug 2013 23:50:13 +0000 (16:50 -0700)]
Better aidl generated dependency

Previously if an imported aidl file has been deleted or moved,
the generated dependency file still contains the stale file name,
and make will fail with "No rule to make target <the deleted/moved
file>".
This change uses technique described in section "Automatic Dependency
Generation", Chapter 8 of "Managing Projects with GNU Make (3d
Edition)".
The same technique is used by the Android platform build system to
generate C/C++ header dependencies.

Bug: 10459179
Change-Id: Ib0c01a4234ef1af994487fdc846cdf8d13a675f6

10 years agoMerge "Add garbage collection hooks" into klp-dev
Tim Murray [Fri, 23 Aug 2013 23:40:47 +0000 (23:40 +0000)]
Merge "Add garbage collection hooks" into klp-dev

10 years agoMerge "wifi-display: add certification options" into klp-dev
Chong Zhang [Fri, 23 Aug 2013 23:18:52 +0000 (23:18 +0000)]
Merge "wifi-display: add certification options" into klp-dev

10 years agoMerge "Return EXIF thumbnails when available." into klp-dev
Jeff Sharkey [Fri, 23 Aug 2013 23:18:11 +0000 (23:18 +0000)]
Merge "Return EXIF thumbnails when available." into klp-dev

10 years agoMerge "Add CancellationSignal support to file operations." into klp-dev
Jeff Sharkey [Fri, 23 Aug 2013 23:17:47 +0000 (23:17 +0000)]
Merge "Add CancellationSignal support to file operations." into klp-dev

10 years agowifi-display: add certification options
Chong Zhang [Fri, 3 May 2013 22:55:36 +0000 (15:55 -0700)]
wifi-display: add certification options

When certification mode is enabled:

- Pass wfd session info to wifi display settings

- Allow sink to connect to source

- Add interface in display manager for pausing/resuming session

- Add interface in WifiP2pManager for setting lc, oc and starting
  autonomous GO

Note that we're compliant regardless of certification mode, but
some confusing options (eg. allowing incoming connection from
sink) we want to hide when not being tested.

Bug: 9371882
Change-Id: Icc7dcae4e046453796cfa03f5f197055fabf234b

10 years agoam f1fea527: am be2f72a1: am 2c30fe8a: Doc change: fix typo in policy docs.
Dirk Dougherty [Fri, 23 Aug 2013 22:53:01 +0000 (15:53 -0700)]
am f1fea527: am be2f72a1: am 2c30fe8a: Doc change: fix typo in policy docs.

* commit 'f1fea52744eeaeed37a674c3fc94b7e1dbcda341':
  Doc change: fix typo in policy docs.

10 years agoam be2f72a1: am 2c30fe8a: Doc change: fix typo in policy docs.
Dirk Dougherty [Fri, 23 Aug 2013 22:50:08 +0000 (15:50 -0700)]
am be2f72a1: am 2c30fe8a: Doc change: fix typo in policy docs.

* commit 'be2f72a187cfe15adb2760c05e78ca9905f8bb8d':
  Doc change: fix typo in policy docs.

10 years agoam 2c30fe8a: Doc change: fix typo in policy docs.
Dirk Dougherty [Fri, 23 Aug 2013 22:45:53 +0000 (15:45 -0700)]
am 2c30fe8a: Doc change: fix typo in policy docs.

* commit '2c30fe8aedc5af2845e97b9005d6dce570f9d8eb':
  Doc change: fix typo in policy docs.

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 23 Aug 2013 21:26:47 +0000 (21:26 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 23 Aug 2013 21:26:42 +0000 (21:26 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoAdd garbage collection hooks
Tim Murray [Thu, 22 Aug 2013 21:55:26 +0000 (14:55 -0700)]
Add garbage collection hooks

bug 10428172

Change-Id: I6365aa58bbc99aa134e1f261a5819e07a7d70fb0

10 years agoMerge "Print UI bug fixing and printer discovery refactoring." into klp-dev
Svetoslav Ganov [Fri, 23 Aug 2013 20:00:29 +0000 (20:00 +0000)]
Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev

10 years agoReturn EXIF thumbnails when available.
Jeff Sharkey [Wed, 21 Aug 2013 18:33:50 +0000 (11:33 -0700)]
Return EXIF thumbnails when available.

Adds new ExifInterface method to extract the thumbnail range from
a larger image file, and use that to return an AssetFileDescriptor.

When decoding an AssetFileDescriptor thumbnail with offsets, read out
the raw data entirely, since Skia uses lseek() aggressively.

Bug: 10412208
Change-Id: I7906cdf82c0c3794cec7043c801a86f66efeb143

10 years agoMerge "Additional logging to debug lost Wifi APs" into klp-dev
John Huang [Fri, 23 Aug 2013 19:13:49 +0000 (19:13 +0000)]
Merge "Additional logging to debug lost Wifi APs" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 23 Aug 2013 18:59:32 +0000 (18:59 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 23 Aug 2013 18:59:33 +0000 (18:59 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoAdditional logging to debug lost Wifi APs
Vinit Deshapnde [Fri, 23 Aug 2013 18:53:40 +0000 (11:53 -0700)]
Additional logging to debug lost Wifi APs

This change adds some in-memory logging to get some information that
doesn't seem to get captured in bug reports readily. We can remove this
after we've got to the bottom of this issue.

This is the sort of log it produces in bugreport -

WifiConfigStore - Log Begin ----
16:30:06 - loadConfiguredNetwork GoogleGuest
16:30:06 - loadConfiguredNetworks loaded 1networks
16:30:06 - disableAllNetworks
16:30:06 - loadConfiguredNetwork GoogleGuest
16:30:06 - loadConfiguredNetworks loaded 1networks
WifiConfigStore - Log End ----

Bug: 10375978
Change-Id: Iaecd3b391aea3711bf376d6cb520217d3242e6f1

10 years agoMerge "ImageReader: Fix API doc table misalignment issue" into klp-dev
Zhijun He [Fri, 23 Aug 2013 18:49:42 +0000 (18:49 +0000)]
Merge "ImageReader: Fix API doc table misalignment issue" into klp-dev

10 years agoPrint UI bug fixing and printer discovery refactoring.
Svetoslav Ganov [Tue, 20 Aug 2013 23:32:53 +0000 (16:32 -0700)]
Print UI bug fixing and printer discovery refactoring.

1. Added support for selecting a printer from the all printers activity
   that is not in the initial printer selection drop down. The user
   initially sees a sub set of the printers in the drop down and the
   last option is to see all printers in a separate activity. Some
   of the printers in the all printers activity are not shown in the
   initial drop down.

2. Refactored printer discovery by adding (private for now) printer
   discovery app facing APIs. These APIs are needed to support multiple
   printer selection activities (print dialog and all printers activities)
   and also the settings for showing all printers for a service.

   Now multiple apps can request observing for printers and there is
   a centralized mediator that ensures the same printer discovery
   session is used. The mediator dispatches printer discovery specific
   requests to print services. It also aggregates discovered printers
   and delivers them to the interested apps. The mediator minimizes
   printer discovery session creation and starting and stopping discovery
   by sharing the same discovery session and discovery window with
   multiple apps. Lastly, the mediator takes care of print services
   enabled during discovery by bringing them up to the current
   discovery state (create discovery session and start discovery if
   needed). The mediator also reports disappearing of the printers
   of a service removed during discovery and notifies a newly
   registered observers for the currnet printers if the observers are
   added during an active printer discovery session.

3. Fixed bugs in the print UI and implemented some UX tweaks.

Change-Id: I4d0b0c5a6c6f1809b2ba5dbc8e9d63ab3d48f1ef

10 years agoDoc change: fix typo in policy docs.
Dirk Dougherty [Fri, 23 Aug 2013 18:31:29 +0000 (11:31 -0700)]
Doc change: fix typo in policy docs.

Change-Id: Ic9df2511f50d9ead2dcbf4353f387e9106ce4222

10 years agoAdd CancellationSignal support to file operations.
Jeff Sharkey [Tue, 20 Aug 2013 22:20:04 +0000 (15:20 -0700)]
Add CancellationSignal support to file operations.

Since ContentProvider file operations can end up doing substantial
network I/O before returning the file, allow clients to cancel their
file requests with CancellationSignal.

Ideally this would only be needed for openFile(), but ContentResolver
heavily relies on openAssetFile() and openTypedAssetFile() for common
cases.

Also improve documentation to mention reliable ParcelFileDescriptors
and encourage developers to move away from "rw" combination modes,
since they restrict provider flexibility.  Mention more about places
where pipes or socket pairs could be returned.

Improve DocumentsContract documentation.

Bug: 10329944
Change-Id: I49b2825ea433eb051624c4da3b77612fe3ffc99c

10 years agoMerge "System binds PAC Local Proxy instead of self start" into klp-dev
Jason Monk [Fri, 23 Aug 2013 17:53:33 +0000 (17:53 +0000)]
Merge "System binds PAC Local Proxy instead of self start" into klp-dev

10 years agoam 2a804e49: am 1b6d1990: am 80bd95bf: Merge "Doc change: update Google Play policies...
Dirk Dougherty [Fri, 23 Aug 2013 17:21:07 +0000 (10:21 -0700)]
am 2a804e49: am 1b6d1990: am 80bd95bf: Merge "Doc change: update Google Play policies descriptions." into jb-mr2-docs

* commit '2a804e49ddabe79606948955c6d07b3fb8f2499d':
  Doc change: update Google Play policies descriptions.

10 years agoam 1b6d1990: am 80bd95bf: Merge "Doc change: update Google Play policies descriptions...
Dirk Dougherty [Fri, 23 Aug 2013 17:18:10 +0000 (10:18 -0700)]
am 1b6d1990: am 80bd95bf: Merge "Doc change: update Google Play policies descriptions." into jb-mr2-docs

* commit '1b6d199009d32c3b721857b748bc919429f5230b':
  Doc change: update Google Play policies descriptions.

10 years agoam 80bd95bf: Merge "Doc change: update Google Play policies descriptions." into jb...
Dirk Dougherty [Fri, 23 Aug 2013 17:15:42 +0000 (10:15 -0700)]
am 80bd95bf: Merge "Doc change: update Google Play policies descriptions." into jb-mr2-docs

* commit '80bd95bf86e43e5bbca6a08ede708524e5024a1c':
  Doc change: update Google Play policies descriptions.

10 years agoMerge "Doc change: update Google Play policies descriptions." into jb-mr2-docs
Dirk Dougherty [Fri, 23 Aug 2013 17:13:05 +0000 (17:13 +0000)]
Merge "Doc change: update Google Play policies descriptions." into jb-mr2-docs

10 years agoMerge "Add cleanspec for bitmap jni issue" into klp-dev
Chris Craik [Fri, 23 Aug 2013 17:12:10 +0000 (17:12 +0000)]
Merge "Add cleanspec for bitmap jni issue" into klp-dev

10 years agoDoc change: update Google Play policies descriptions.
Dirk Dougherty [Thu, 22 Aug 2013 19:46:10 +0000 (12:46 -0700)]
Doc change: update Google Play policies descriptions.

Change-Id: I4ebc985159db5f24632bac38cff63c7b663794b8

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 23 Aug 2013 17:10:53 +0000 (10:10 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 23 Aug 2013 17:09:45 +0000 (10:09 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 23 Aug 2013 17:08:48 +0000 (10:08 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 23 Aug 2013 17:07:28 +0000 (10:07 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImageReader: Fix API doc table misalignment issue
Zhijun He [Fri, 23 Aug 2013 16:17:29 +0000 (09:17 -0700)]
ImageReader: Fix API doc table misalignment issue

Also cleanup unused macro in ImageReader.

Bug: 10360518
Change-Id: I2332703c92df771a6339ff92069e92d50a6c5cd5

10 years agoRevert GPS status bar icon to the correct size.
John Spurlock [Fri, 23 Aug 2013 12:49:14 +0000 (08:49 -0400)]
Revert GPS status bar icon to the correct size.

Bug:10452779
Change-Id: Idfb5097e33d10be1106c0a10be3d5794388f7d08

10 years agoMerge "Remove more unused icons." into klp-dev
John Spurlock [Fri, 23 Aug 2013 12:22:53 +0000 (12:22 +0000)]
Merge "Remove more unused icons." into klp-dev

10 years agoImprove transparent bar transitions.
John Spurlock [Thu, 22 Aug 2013 01:04:12 +0000 (21:04 -0400)]
Improve transparent bar transitions.

1. Migrate transparent transitions to the new optimized
background color animations.

2. Ensure sysui animation transparent -> opaque has enough
time to run before window manager crops off the content area.

3. Lose the individual alpha on each status bar icon if the bars
are not opaque.  Animate the alpha if visible, make sure they
play together.

4. Documentation typo fix found in AnimatorSet.

Bug:10344949
Change-Id: I615668ce3c552d3df15dbba5cdeeca67549a0220

10 years agoRemove more unused icons.
John Spurlock [Thu, 22 Aug 2013 22:20:17 +0000 (18:20 -0400)]
Remove more unused icons.

By also removing their obsolete layout referents.

Bug:10344949
Change-Id: Iff8bf686507c63239f058de82ebc776d27480b4f

10 years agoDO NOT MERGE. Fix test breakage
satok [Fri, 23 Aug 2013 10:59:50 +0000 (19:59 +0900)]
DO NOT MERGE. Fix test breakage

Change-Id: I0b2b7ce4b9f50910b4795cb480aa86a662b16f7d

10 years agoMerge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev
Satoshi Kataoka [Fri, 23 Aug 2013 09:31:51 +0000 (09:31 +0000)]
Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev

10 years agoAdd cleanspec for bitmap jni issue
Chris Craik [Fri, 23 Aug 2013 05:02:48 +0000 (22:02 -0700)]
Add cleanspec for bitmap jni issue

Change-Id: I0b270a8c1edd28a305e014ad7b0039f56787b25a

10 years agoMerge "Drop touch events when no window was touched." into klp-dev
Jeff Brown [Fri, 23 Aug 2013 03:08:41 +0000 (03:08 +0000)]
Merge "Drop touch events when no window was touched." into klp-dev

10 years agoDrop touch events when no window was touched.
Jeff Brown [Fri, 23 Aug 2013 02:41:29 +0000 (19:41 -0700)]
Drop touch events when no window was touched.

Prevent spurious ANRs in the case where an input event is simply
undeliverable because there is no window at the touched location.
Previously, we would assume that we were just waiting for an
application to start and become available to handle the event but
this assumption is no longer valid.

Monkeys in particular have a tendency to inject events outside
of the boundaries of the display which results in spurious ANRs.
So we should just reject them.

Bug: 9774124
Change-Id: I5c40ce4c942f0557593a229dc5253a0e0bdb8466

10 years agoMerge "Remove input flinger stubs. (DO NOT MERGE)" into klp-dev
Jeff Brown [Fri, 23 Aug 2013 02:32:35 +0000 (02:32 +0000)]
Merge "Remove input flinger stubs.  (DO NOT MERGE)" into klp-dev

10 years agoRemove input flinger stubs. (DO NOT MERGE)
Jeff Brown [Fri, 23 Aug 2013 01:36:09 +0000 (18:36 -0700)]
Remove input flinger stubs.  (DO NOT MERGE)

Bug: 10446930
Change-Id: I6c9fd490f2efd9c359c598eb2a18c4150b446564

10 years agoam d17619f6: am cd4e1c46: am f151391b: fix markup errors in action bar styling, add...
Scott Main [Fri, 23 Aug 2013 02:01:27 +0000 (19:01 -0700)]
am d17619f6: am cd4e1c46: am f151391b: fix markup errors in action bar styling, add more information about using drawables, move \'managing the activity lifecycle\' down a notch, because it\'s less interesting.

* commit 'd17619f6df6bef8a4a18e02afb0294f75cbd56de':
  fix markup errors in action bar styling, add more information about using drawables, move 'managing the activity lifecycle' down a notch, because it's less interesting.

10 years agoMerge "Add a little comment about the enabled value" into klp-dev
Tom O'Neill [Fri, 23 Aug 2013 02:00:28 +0000 (02:00 +0000)]
Merge "Add a little comment about the enabled value" into klp-dev

10 years agoam cd4e1c46: am f151391b: fix markup errors in action bar styling, add more informati...
Scott Main [Fri, 23 Aug 2013 01:58:56 +0000 (18:58 -0700)]
am cd4e1c46: am f151391b: fix markup errors in action bar styling, add more information about using drawables, move \'managing the activity lifecycle\' down a notch, because it\'s less interesting.

* commit 'cd4e1c463eab530657bead6e79efa3215924f1b0':
  fix markup errors in action bar styling, add more information about using drawables, move 'managing the activity lifecycle' down a notch, because it's less interesting.

10 years agoam f151391b: fix markup errors in action bar styling, add more information about...
Scott Main [Fri, 23 Aug 2013 01:54:35 +0000 (18:54 -0700)]
am f151391b: fix markup errors in action bar styling, add more information about using drawables, move \'managing the activity lifecycle\' down a notch, because it\'s less interesting.

* commit 'f151391b72b5ab667ea0681de5bd2fbe0d94d8a9':
  fix markup errors in action bar styling, add more information about using drawables, move 'managing the activity lifecycle' down a notch, because it's less interesting.

10 years agofix markup errors in action bar styling,
Scott Main [Fri, 23 Aug 2013 01:11:01 +0000 (18:11 -0700)]
fix markup errors in action bar styling,
add more information about using drawables,
move 'managing the activity lifecycle' down a notch, because it's less interesting.

Change-Id: I75012207bfaa499ca881ec5cc3a94e8d66addbad

10 years agoEnables AT+ANDROID command in Bluetooth HFP.
Edward Jee [Fri, 16 Aug 2013 11:07:49 +0000 (04:07 -0700)]
Enables AT+ANDROID command in Bluetooth HFP.

Adds another vendor-specific command AT+ANDROID in Bluetooth Hands-Free
Profile. And creates an API function that sends an unsolicited result
code +ANDROID .

Bug: 8736189
Change-Id: I4757c410d31b97511c92f66d71035eb929f9fd29

10 years agoReconcile drag-to-open and touch event interception
Alan Viverette [Fri, 23 Aug 2013 00:26:57 +0000 (17:26 -0700)]
Reconcile drag-to-open and touch event interception

Changes behavior such that dragging on a Spinner that's inside
of a ScrollView will only scroll after a tap delay.

BUG: 10442971
Change-Id: I9fa9c5f0cf99e0cd158f52b6fa7a109ce1b6b8b1