110787 Commits

Author SHA1 Message Date
Jeff Brown
61d806c76a Merge "Docs changes pursuant to API review feedback." into klp-dev 2013-08-24 00:47:16 +00:00
Jeff Brown
511cd35fcc Docs changes pursuant to API review feedback.
Change-Id: I74c51791192f7fefad4e299d25c91438cbf6ab73
2013-08-23 17:44:47 -07:00
destradaa
9e73cce6ac Merge "Fix leaks of JNI objects in the local reference table" into klp-dev 2013-08-24 00:44:37 +00:00
destradaa
b75cb3aeb4 Fix leaks of JNI objects in the local reference table
Change-Id: I769502f8b13e0025707abdf98c24f2cac0604602
2013-08-23 17:26:16 -07:00
Tim Murray
c264e04400 Merge "Add garbage collection hooks" into klp-dev 2013-08-23 23:40:48 +00:00
Chong Zhang
5de1faca16 Merge "wifi-display: add certification options" into klp-dev 2013-08-23 23:18:52 +00:00
Jeff Sharkey
365768fd35 Merge "Return EXIF thumbnails when available." into klp-dev 2013-08-23 23:18:11 +00:00
Jeff Sharkey
98d6212327 Merge "Add CancellationSignal support to file operations." into klp-dev 2013-08-23 23:17:47 +00:00
Chong Zhang
1f3ecaae63 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
2013-08-23 16:02:09 -07:00
Dirk Dougherty
570cd0f4c0 am f1fea527: am be2f72a1: am 2c30fe8a: Doc change: fix typo in policy docs.
* commit 'f1fea52744eeaeed37a674c3fc94b7e1dbcda341':
  Doc change: fix typo in policy docs.
2013-08-23 15:53:01 -07:00
Dirk Dougherty
f1fea52744 am be2f72a1: am 2c30fe8a: Doc change: fix typo in policy docs.
* commit 'be2f72a187cfe15adb2760c05e78ca9905f8bb8d':
  Doc change: fix typo in policy docs.
2013-08-23 15:50:08 -07:00
Dirk Dougherty
be2f72a187 am 2c30fe8a: Doc change: fix typo in policy docs.
* commit '2c30fe8aedc5af2845e97b9005d6dce570f9d8eb':
  Doc change: fix typo in policy docs.
2013-08-23 15:45:53 -07:00
Baligh Uddin
4f5e080486 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 21:26:48 +00:00
Baligh Uddin
881de10cfc Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 21:26:42 +00:00
Tim Murray
2f2472c42b Add garbage collection hooks
bug 10428172

Change-Id: I6365aa58bbc99aa134e1f261a5819e07a7d70fb0
2013-08-23 13:35:19 -07:00
Svetoslav Ganov
826debf5f8 Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev 2013-08-23 20:00:29 +00:00
Jeff Sharkey
6398343e83 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
2013-08-23 12:19:19 -07:00
John Huang
83bc5a8a86 Merge "Additional logging to debug lost Wifi APs" into klp-dev 2013-08-23 19:13:49 +00:00
Baligh Uddin
8a2df16745 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 18:59:50 +00:00
Baligh Uddin
e1f9e2f60d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 18:59:33 +00:00
Vinit Deshapnde
e8fabf98fb 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
2013-08-23 11:53:40 -07:00
Zhijun He
4cabe3eae8 Merge "ImageReader: Fix API doc table misalignment issue" into klp-dev 2013-08-23 18:49:42 +00:00
Svetoslav Ganov
44720af55a 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
2013-08-23 18:36:33 +00:00
Dirk Dougherty
2c30fe8aed Doc change: fix typo in policy docs.
Change-Id: Ic9df2511f50d9ead2dcbf4353f387e9106ce4222
2013-08-23 11:31:29 -07:00
Jeff Sharkey
bd3b902567 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
2013-08-23 11:27:25 -07:00
Jason Monk
4359d56420 Merge "System binds PAC Local Proxy instead of self start" into klp-dev 2013-08-23 17:53:33 +00:00
Dirk Dougherty
b8d3a3de67 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.
2013-08-23 10:21:07 -07:00
Dirk Dougherty
2a804e49dd 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.
2013-08-23 10:18:10 -07:00
Dirk Dougherty
1b6d199009 am 80bd95bf: Merge "Doc change: update Google Play policies descriptions." into jb-mr2-docs
* commit '80bd95bf86e43e5bbca6a08ede708524e5024a1c':
  Doc change: update Google Play policies descriptions.
2013-08-23 10:15:42 -07:00
Dirk Dougherty
80bd95bf86 Merge "Doc change: update Google Play policies descriptions." into jb-mr2-docs 2013-08-23 17:13:05 +00:00
Chris Craik
c78f39d8c2 Merge "Add cleanspec for bitmap jni issue" into klp-dev 2013-08-23 17:12:10 +00:00
Dirk Dougherty
3d205ab01e Doc change: update Google Play policies descriptions.
Change-Id: I4ebc985159db5f24632bac38cff63c7b663794b8
2013-08-23 10:11:44 -07:00
Baligh Uddin
3f6cb532c5 Import translations. DO NOT MERGE
Change-Id: Ieca373df9de5971c95e6954d6262c618420d2eb3
Auto-generated-cl: translation import
2013-08-23 10:10:53 -07:00
Baligh Uddin
7e361bcf7f Import translations. DO NOT MERGE
Change-Id: I7cb875bb18871021fb9972b427713440c8e95be6
Auto-generated-cl: translation import
2013-08-23 10:09:45 -07:00
Baligh Uddin
20e4beea1c Import translations. DO NOT MERGE
Change-Id: Ibbd7d5bc59126933bbcf0370cbdcd590f89d0ad7
Auto-generated-cl: translation import
2013-08-23 10:08:48 -07:00
Baligh Uddin
0df33bc8c2 Import translations. DO NOT MERGE
Change-Id: If677a6d5903c6ca89104660e7ceab63d12357775
Auto-generated-cl: translation import
2013-08-23 10:07:28 -07:00
Zhijun He
af753a2dfc ImageReader: Fix API doc table misalignment issue
Also cleanup unused macro in ImageReader.

Bug: 10360518
Change-Id: I2332703c92df771a6339ff92069e92d50a6c5cd5
2013-08-23 09:25:27 -07:00
John Spurlock
17f832296c Revert GPS status bar icon to the correct size.
Bug:10452779
Change-Id: Idfb5097e33d10be1106c0a10be3d5794388f7d08
2013-08-23 08:49:14 -04:00
John Spurlock
d28cb3e757 Merge "Remove more unused icons." into klp-dev 2013-08-23 12:22:53 +00:00
John Spurlock
b77edbfdab 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
2013-08-23 08:08:24 -04:00
John Spurlock
9320645164 Remove more unused icons.
By also removing their obsolete layout referents.

Bug:10344949
Change-Id: Iff8bf686507c63239f058de82ebc776d27480b4f
2013-08-23 08:07:11 -04:00
satok
9e10408797 DO NOT MERGE. Fix test breakage
Change-Id: I0b2b7ce4b9f50910b4795cb480aa86a662b16f7d
2013-08-23 20:08:15 +09:00
Satoshi Kataoka
d866f5002a Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev 2013-08-23 09:31:51 +00:00
Chris Craik
23bf0e5790 Add cleanspec for bitmap jni issue
Change-Id: I0b270a8c1edd28a305e014ad7b0039f56787b25a
2013-08-22 22:15:25 -07:00
Jeff Brown
5bc1ea4e4a Merge "Drop touch events when no window was touched." into klp-dev 2013-08-23 03:08:41 +00:00
Jeff Brown
0b31d812ab 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
2013-08-22 20:07:08 -07:00
Jeff Brown
ec7a633086 Merge "Remove input flinger stubs. (DO NOT MERGE)" into klp-dev 2013-08-23 02:32:36 +00:00
Jeff Brown
7e458235ac Remove input flinger stubs. (DO NOT MERGE)
Bug: 10446930
Change-Id: I6c9fd490f2efd9c359c598eb2a18c4150b446564
2013-08-22 19:31:21 -07:00
Scott Main
96b4c3791b 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.
2013-08-22 19:01:27 -07:00
Tom O'Neill
ece1320b86 Merge "Add a little comment about the enabled value" into klp-dev 2013-08-23 02:00:28 +00:00