OSDN Git Service

android-x86/frameworks-base.git
11 years agoRevert "Fix media server restart detection mechanism"
Eric Laurent [Thu, 18 Jul 2013 21:08:00 +0000 (14:08 -0700)]
Revert "Fix media server restart detection mechanism"

This reverts commit ca35e4823459189dd57ec5472caf3a617d03b568.

11 years agoCamera2: Remove redundant Keys classes
Eino-Ville Talvala [Fri, 16 Aug 2013 21:11:43 +0000 (14:11 -0700)]
Camera2: Remove redundant Keys classes

Also update tests accordingly

Bug: 10345522
Change-Id: I8c7d17cdfbda6faba09134745a96089bf1b70cb7

11 years agoMerge "NFC: Allow HostApduService to indicate transaction unhandled." into klp-dev
Martijn Coenen [Mon, 19 Aug 2013 20:11:09 +0000 (20:11 +0000)]
Merge "NFC: Allow HostApduService to indicate transaction unhandled." into klp-dev

11 years agoMerge "Request more documents when EXTRA_HAS_MORE." into klp-dev
Jeff Sharkey [Mon, 19 Aug 2013 19:58:55 +0000 (19:58 +0000)]
Merge "Request more documents when EXTRA_HAS_MORE." into klp-dev

11 years agoMerge "Management actions, invalidate caches." into klp-dev
Jeff Sharkey [Mon, 19 Aug 2013 19:55:19 +0000 (19:55 +0000)]
Merge "Management actions, invalidate caches." into klp-dev

11 years agoMerge "Remove duplicate sealed node checks, add missing checks" into klp-dev
Alan Viverette [Mon, 19 Aug 2013 19:50:25 +0000 (19:50 +0000)]
Merge "Remove duplicate sealed node checks, add missing checks" into klp-dev

11 years agoRemove duplicate sealed node checks, add missing checks
Alan Viverette [Mon, 19 Aug 2013 19:28:04 +0000 (12:28 -0700)]
Remove duplicate sealed node checks, add missing checks

Change-Id: Icbe79ba4b74776f845b43f261624d0dbeda4250b

11 years agoam 2d9ee707: am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes...
Dirk Dougherty [Mon, 19 Aug 2013 19:14:17 +0000 (12:14 -0700)]
am 2d9ee707: am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.

* commit '2d9ee70703cb52a16d726eb177f6f4e0be4f93e2':
  doc change: Samples browsing first changes: Samples dir and file starters.

11 years agoMerge "Expose WifiManager.setTdlsEnabled public API" into klp-dev
Vinit Deshapnde [Mon, 19 Aug 2013 19:14:03 +0000 (19:14 +0000)]
Merge "Expose WifiManager.setTdlsEnabled public API" into klp-dev

11 years agoMerge changes I6d125624,I549a9211 into klp-dev
Eino-Ville Talvala [Mon, 19 Aug 2013 19:12:53 +0000 (19:12 +0000)]
Merge changes I6d125624,I549a9211 into klp-dev

* changes:
  Camera2: Fixed issue with HashSet not being initialized
  Camera2: Documentation fixes, mostly capitalization mistakes

11 years agoam 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: Samples dir...
Dirk Dougherty [Mon, 19 Aug 2013 19:12:05 +0000 (12:12 -0700)]
am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.

* commit '364fe3a856e7bd0c0a35724c2f42d381d8616370':
  doc change: Samples browsing first changes: Samples dir and file starters.

11 years agoam b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.
Dirk Dougherty [Mon, 19 Aug 2013 19:09:45 +0000 (12:09 -0700)]
am b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.

* commit 'b6bc020d728960dc876a510c9e40cc441a9a9b6b':
  doc change: Samples browsing first changes: Samples dir and file starters.

11 years agoNFC: Allow HostApduService to indicate transaction unhandled.
Martijn Coenen [Thu, 15 Aug 2013 04:04:14 +0000 (21:04 -0700)]
NFC: Allow HostApduService to indicate transaction unhandled.

This will cause the OS to show UI that allows the user to pick
another application that could potentially handle the transaction.

Also, tweak processCommandApdu() method to take a Bundle to be more
future-proof.

Bug: 10262585
Change-Id: If9d060341b472fac0349f539c04b87e85fe79dfb

11 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 19 Aug 2013 18:38:51 +0000 (18:38 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

11 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 19 Aug 2013 18:37:08 +0000 (18:37 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

11 years agodoc change: Samples browsing first changes: Samples dir and file starters.
Dirk Dougherty [Tue, 9 Jul 2013 20:18:15 +0000 (13:18 -0700)]
doc change: Samples browsing first changes: Samples dir and file starters.

Change-Id: I6cc8c03bf4c2bcc771d4531619db5b3acd62601f

11 years agoMerge "Remove a fixed-length buffer in the wifi code." into klp-dev
Elliott Hughes [Mon, 19 Aug 2013 18:08:48 +0000 (18:08 +0000)]
Merge "Remove a fixed-length buffer in the wifi code." into klp-dev

11 years agoMerge "Allow for more than one home app." into klp-dev
Craig Mautner [Mon, 19 Aug 2013 16:01:56 +0000 (16:01 +0000)]
Merge "Allow for more than one home app." into klp-dev

11 years agoMerge "Expose KEY_REPEAT_PREVIOUS_FRAME_AFTER and KEY_PUSH_BLANK_BUFFERS_ON_STOP...
Andreas Huber [Mon, 19 Aug 2013 15:39:29 +0000 (15:39 +0000)]
Merge "Expose KEY_REPEAT_PREVIOUS_FRAME_AFTER and KEY_PUSH_BLANK_BUFFERS_ON_STOP" into klp-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 19 Aug 2013 15:23:40 +0000 (08:23 -0700)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 19 Aug 2013 14:49:07 +0000 (07:49 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Use panel tracking as signal preventing auto-collapse." into klp-dev
John Spurlock [Mon, 19 Aug 2013 14:35:19 +0000 (14:35 +0000)]
Merge "Use panel tracking as signal preventing auto-collapse." into klp-dev

11 years agoMerge "Transition bars to opaque on user interaction." into klp-dev
John Spurlock [Mon, 19 Aug 2013 14:34:26 +0000 (14:34 +0000)]
Merge "Transition bars to opaque on user interaction." into klp-dev

11 years agoMerge "Lose navigation bar icon alpha in transparent modes." into klp-dev
John Spurlock [Mon, 19 Aug 2013 14:33:51 +0000 (14:33 +0000)]
Merge "Lose navigation bar icon alpha in transparent modes." into klp-dev

11 years agoTransition bars to opaque on user interaction.
John Spurlock [Sat, 17 Aug 2013 21:18:08 +0000 (17:18 -0400)]
Transition bars to opaque on user interaction.

When the transient bars are revealed, smoothly transition the
bar style to opaque to blend with the other panel chrome.

Bug:8706719
Change-Id: I65e5b22e2f91a3db0394c0f571127397ba692f46

11 years agoRequest more documents when EXTRA_HAS_MORE.
Jeff Sharkey [Mon, 19 Aug 2013 05:26:48 +0000 (22:26 -0700)]
Request more documents when EXTRA_HAS_MORE.

Implement EXTRA_HAS_MORE and EXTRA_REQUEST_MORE contract with
document providers.  Providers can include EXTRA_HAS_MORE when
additional data is available with additional cost, such as a network
request.

Listen to content changes based on returned cursor instead of
original Uri.  Include a test backend to exercise.  UX still under
development.

Bug: 10350207
Change-Id: Iaa8954df55a1a1c0aa96eb8a4fd288e12c2fbb01

11 years agoManagement actions, invalidate caches.
Jeff Sharkey [Mon, 19 Aug 2013 00:38:20 +0000 (17:38 -0700)]
Management actions, invalidate caches.

In manage mode, touching launches a VIEW intent for the file.  Also
adds actions for sharing and deleting.

Move roots and thumbnail caches into Application object, and flush
cache when thumbnail size changes.  Listen for package changes and
broadcasts that should invalidate our roots cache.

Pick default grid/list mode based on provider hint.

Bug: 10329983103302101037883410330069
Change-Id: I75afb1c58ab71bb9d55852b1059da7257a376248

11 years agoMerge "Resized thumbnails; async; extend MatrixCursor." into klp-dev
Jeff Sharkey [Sun, 18 Aug 2013 20:53:29 +0000 (20:53 +0000)]
Merge "Resized thumbnails; async; extend MatrixCursor." into klp-dev

11 years agoMerge "Adding support for Absolute Volume" into klp-dev
Matthew Xie [Sun, 18 Aug 2013 19:46:42 +0000 (19:46 +0000)]
Merge "Adding support for Absolute Volume" into klp-dev

11 years agoMerge "Update WebView.postUrl documentation." into klp-dev
Ben Murdoch [Sun, 18 Aug 2013 15:11:42 +0000 (15:11 +0000)]
Merge "Update WebView.postUrl documentation." into klp-dev

11 years agoResized thumbnails; async; extend MatrixCursor.
Jeff Sharkey [Tue, 7 May 2013 19:41:33 +0000 (12:41 -0700)]
Resized thumbnails; async; extend MatrixCursor.

When requesting thumbnails, check if their dimensions are larger
than requested, and downscale to avoid memory pressure.  Load them
async and with LruCache.

Extend MatrixCursor so that RowBuilder can offer() columns without
requiring they know the projection map.  This makes it easier to
respond to query() calls, where the remote side controls the
projection map.  Use it to handle custom projections in external
storage backend.

Update date/time formatting to match spec.

Bug: 1033341810331689
Change-Id: I7e947a8e8068af8a39b55e6766b3241de4f3fc16

11 years agoAllow for more than one home app.
Craig Mautner [Sun, 18 Aug 2013 00:04:56 +0000 (17:04 -0700)]
Allow for more than one home app.

Having a single mHomeProcess in ActivityManagerService ignores the
possibility of multiple processes serving as home. Particularly when
we have a home activity that only serves to launch the true home
activity.

Fixes bug b10296766

Change-Id: I9e5c9c955c64f4b3df856b6bc66d6a0d93f85aab

11 years agoUse panel tracking as signal preventing auto-collapse.
John Spurlock [Sat, 17 Aug 2013 18:05:49 +0000 (14:05 -0400)]
Use panel tracking as signal preventing auto-collapse.

Keeping track of pointer down at the window view level is unreliable
since gestures can be stolen.

Bug:10328256
Bug:10226720
Change-Id: I92d72f9eed73f90d2a7c5b30a3f6a4aa6549f799

11 years agoMerge "Fix padding resolution" into klp-dev
Alan Viverette [Sat, 17 Aug 2013 02:00:39 +0000 (02:00 +0000)]
Merge "Fix padding resolution" into klp-dev

11 years agoMerge "Fix hardware layers lifecycle Bug #10075732" into klp-dev
Romain Guy [Sat, 17 Aug 2013 01:41:28 +0000 (01:41 +0000)]
Merge "Fix hardware layers lifecycle Bug #10075732" into klp-dev

11 years agoFix hardware layers lifecycle
Romain Guy [Sat, 17 Aug 2013 01:38:29 +0000 (18:38 -0700)]
Fix hardware layers lifecycle
Bug #10075732

Hardware layers could survive across EGL terminate events.

Change-Id: Ie8565d55cb29fe6625fa1584d695edfecd37ab5e

11 years agoMerge "Fix typo in JavaDoc for TypeEvaluator." into klp-dev
Sascha Haeberling [Sat, 17 Aug 2013 01:16:22 +0000 (01:16 +0000)]
Merge "Fix typo in JavaDoc for TypeEvaluator." into klp-dev

11 years agoMerge "Refactor CameraService to handle errors properly." into klp-dev
Ruben Brunk [Sat, 17 Aug 2013 00:29:37 +0000 (00:29 +0000)]
Merge "Refactor CameraService to handle errors properly." into klp-dev

11 years agoExpose WifiManager.setTdlsEnabled public API
Vinit Deshapnde [Sat, 17 Aug 2013 00:16:45 +0000 (17:16 -0700)]
Expose WifiManager.setTdlsEnabled public API

Bug: 10221775

Change-Id: I559e4a2afd525a03c8a13fd151eca4638426d03e

11 years agoMerge "Richer ParcelFileDescriptor close events." into klp-dev
Jeff Sharkey [Sat, 17 Aug 2013 00:05:36 +0000 (00:05 +0000)]
Merge "Richer ParcelFileDescriptor close events." into klp-dev

11 years agoMerge "wifi: Do not use prefix for p2p commands" into klp-dev
Dmitry Shmidt [Fri, 16 Aug 2013 23:43:25 +0000 (23:43 +0000)]
Merge "wifi: Do not use prefix for p2p commands" into klp-dev

11 years agoMerge "Better Transition interruption" into klp-dev
Chet Haase [Fri, 16 Aug 2013 23:38:47 +0000 (23:38 +0000)]
Merge "Better Transition interruption" into klp-dev

11 years agoMerge "Add comments to new hidden API in LocationRequest. Document their purpose...
David Christie [Fri, 16 Aug 2013 23:37:48 +0000 (23:37 +0000)]
Merge "Add comments to new hidden API in LocationRequest. Document their purpose and permissions required in case this is unhidden in a different code line." into klp-dev

11 years agoAdd comments to new hidden API in LocationRequest.
David Christie [Fri, 16 Aug 2013 23:16:27 +0000 (16:16 -0700)]
Add comments to new hidden API in LocationRequest.
Document their purpose and permissions required in case
this is unhidden in a different code line.

Change-Id: I42f6f950157f488cf51b361e3411861ff98794e8

11 years agoMerge "Use pending.xml to persist sync ops." into klp-dev
Matthew Williams [Fri, 16 Aug 2013 23:10:57 +0000 (23:10 +0000)]
Merge "Use pending.xml to persist sync ops." into klp-dev

11 years agoMerge "Fix JNI method called with exception pending" into klp-dev
Jeff Tinker [Fri, 16 Aug 2013 23:04:54 +0000 (23:04 +0000)]
Merge "Fix JNI method called with exception pending" into klp-dev

11 years agoMerge "Use default class loader when creating a LocationRequest from Parcel. This...
David Christie [Fri, 16 Aug 2013 22:55:20 +0000 (22:55 +0000)]
Merge "Use default class loader when creating a LocationRequest from Parcel. This seems to be the standard usage, and there are rare reports of requestLocationUpdates giving NullPointerExceptions on the first call to requestLocationUpdates but not on subsequent calls (b/10207898)." into klp-dev

11 years agoMerge "Ensure LocationRequest's worksource defaults to null Helps to make sure the...
David Christie [Fri, 16 Aug 2013 22:45:34 +0000 (22:45 +0000)]
Merge "Ensure LocationRequest's worksource defaults to null Helps to make sure the service doesn't throw a SecurityException for not having the UPDATE_DEVICE_STATS permission." into klp-dev

11 years agoMerge "Fix NPE in DateFormat.is24HourFormat." into klp-dev
Elliott Hughes [Fri, 16 Aug 2013 22:14:42 +0000 (22:14 +0000)]
Merge "Fix NPE in DateFormat.is24HourFormat." into klp-dev

11 years agoFix padding resolution
Alan Viverette [Fri, 16 Aug 2013 22:03:35 +0000 (15:03 -0700)]
Fix padding resolution

BUG: 10361243
Change-Id: I61b03c08b45ca9c921bf787274bdbb3f174bbc7e

11 years agoMerge "Prevent ANR in apps using drawPath() Bug #10347089" into klp-dev
Romain Guy [Fri, 16 Aug 2013 21:56:39 +0000 (21:56 +0000)]
Merge "Prevent ANR in apps using drawPath() Bug #10347089" into klp-dev

11 years agoFix NPE in DateFormat.is24HourFormat.
Elliott Hughes [Fri, 16 Aug 2013 18:56:35 +0000 (11:56 -0700)]
Fix NPE in DateFormat.is24HourFormat.

In some cases, we end up being called by code that doesn't have a valid
Context. It got away with this historically because it wasn't formatting
times (just dates), so it never went down a path that tried to query the
user's 12/24-hour preference. This patch just ensures that we don't try
to get the preference unless we actually need it.

Bug: 10339015

(cherry picked from commit 8d8ef00c8276200f108433922761401817fd9a50)

Change-Id: If074a67fa52943c0ec7bb5c5bbe5a11f54fb1f97

11 years agoRemove a fixed-length buffer in the wifi code.
Elliott Hughes [Fri, 9 Aug 2013 21:59:39 +0000 (14:59 -0700)]
Remove a fixed-length buffer in the wifi code.

Also increase the size of the buffer we do need, simplify the code, and
fix some of the error checking.

(cherry-pick of 56968581ce77d3c0ee4286da6b0d5548874934b9.)

Bug: http://code.google.com/p/android/issues/detail?id=36193
Bug: 10363597
Change-Id: Iadd2ee25469a37ddf06c3292b675a4cbcc4ecfa3

11 years agoPrevent ANR in apps using drawPath()
Romain Guy [Fri, 16 Aug 2013 21:44:38 +0000 (14:44 -0700)]
Prevent ANR in apps using drawPath()
Bug #10347089

If an app clears its path cache before stopping background tasks, it could
get into an infinite loop in PathCache::trim().

Change-Id: Ieb865b762e7b00aebaba0c023769c2db286a94f5

11 years agoMerge "Fix old remaining i18n bugs on TimePicker:" into klp-dev
Fabrice Di Meglio [Fri, 16 Aug 2013 21:38:29 +0000 (21:38 +0000)]
Merge "Fix old remaining i18n bugs on TimePicker:" into klp-dev

11 years agoRicher ParcelFileDescriptor close events.
Jeff Sharkey [Sun, 11 Aug 2013 19:54:42 +0000 (12:54 -0700)]
Richer ParcelFileDescriptor close events.

When reading from the end of a pipe or socket, there is no way to
tell if the other end has finished successfully, encountered an error,
or outright crashed.  To solve this, we create a second socketpair()
as a communication channel between the two ends of a pipe or
socket pair, sending a status code with details about why the
ParcelFileDescriptor was closed.

The writer end of a pipe or socket can closeWithError() to send a
message to the reader end.  When the reader encounters EOF, they
call checkError() to detect if any error occured.  This also detects
the case where the remote process died without sending a success
message.

This design is also extended to support regular files on disk, using
the communication channel above to detect various remote close events
or crashes, and delivering that event to a supplied OnCloseListener.

Replaces JNI with best-practice Libcore.os calls, and deprecates
some flags to match Context.

Bug: 10330121
Change-Id: I8cfa1e4fb6f57397667c7f785106193e0faccad3

11 years agoFix old remaining i18n bugs on TimePicker:
Fabrice Di Meglio [Fri, 16 Aug 2013 00:49:49 +0000 (17:49 -0700)]
Fix old remaining i18n bugs on TimePicker:

- put am/pm on the left side of hours for hu, zh, ja and ko Locales
- use the hours/minutes separator from the Locale (fi, sr, ...)
- updated layouts (better for Arabic, Farsi and Hebrew)
- support double digits format for 12h and single digit format for
24h (it, ja, vi, ...)
- fix setIs24HourView(boolean) behavior: do not lose the current hour
value when switching from 12h to 24h

Change-Id: If66cb6f802d894f0a2357b43eede6854791f3b67

11 years agoEnsure LocationRequest's worksource defaults to null
David Christie [Fri, 16 Aug 2013 21:12:59 +0000 (14:12 -0700)]
Ensure LocationRequest's worksource defaults to null
Helps to make sure the service doesn't throw a
SecurityException for not having the UPDATE_DEVICE_STATS
permission.

Change-Id: I9be0302f1378d2c4441e6b7d5ce472ed0d5fbd80

11 years agoMerge "media: Fix ImageReader only using maxImages=1 no matter what" into klp-dev
Igor Murashkin [Fri, 16 Aug 2013 21:02:11 +0000 (21:02 +0000)]
Merge "media: Fix ImageReader only using maxImages=1 no matter what" into klp-dev

11 years agoMerge "Clear FBO cache on full memory flush" into klp-dev
Romain Guy [Fri, 16 Aug 2013 20:56:59 +0000 (20:56 +0000)]
Merge "Clear FBO cache on full memory flush" into klp-dev

11 years agoLose navigation bar icon alpha in transparent modes.
John Spurlock [Fri, 16 Aug 2013 19:06:51 +0000 (15:06 -0400)]
Lose navigation bar icon alpha in transparent modes.

Also decouple visual style from bar mode in preparation for future
changes.

Bug:10344949
Change-Id: I8e5a94b023cd6a6606c3aab485f81b1494295cee

11 years agoClear FBO cache on full memory flush
Romain Guy [Fri, 16 Aug 2013 20:55:29 +0000 (13:55 -0700)]
Clear FBO cache on full memory flush

Change-Id: I44e06d5d15cd899a0522c62d7c0d042170665abb

11 years agoFix JNI method called with exception pending
Jeff Tinker [Fri, 16 Aug 2013 20:46:02 +0000 (13:46 -0700)]
Fix JNI method called with exception pending

bug: 10313912
Change-Id: I8390905334f2e37f210adced52c31e7a431d4f55

11 years agoBetter Transition interruption
Chet Haase [Thu, 25 Jul 2013 01:40:55 +0000 (18:40 -0700)]
Better Transition interruption

Previously, a running transition on a scene root would simply
be canceled when a new transition was started. This would result in
abrupt scene changes, especially in generic use cases where apps/widgets
would spawn multiple transitions in successive rendering frames due to
small changes in view properties.

The new approach is to check all running animations against new transitions.
If there are overlapping properties that are being set to different values,
the new animations win and the old ones are canceled. If the end values are the
same, the new animations are noop'd and the old ones are allowed to continue
as-is.

There was also improvement to capturing state while other transitions are
running, necessary in this new world where old transitions are allowed to
continue running. Now, transitions are pause()'d while values are captured,
then resume()'d after capturing is done. This allows the system to see what the
real view properties are, instead of the mid-animation values.

Change-Id: I8e77fb9c1967087a682bb26a45763005f5ca9179

11 years agoAdding support for Absolute Volume
John Du [Fri, 19 Jul 2013 18:30:34 +0000 (11:30 -0700)]
Adding support for Absolute Volume

Change-Id: I7bbc6f9296221ca219a50a5e377ebac9dcf5a407

11 years agomedia: Fix ImageReader only using maxImages=1 no matter what
Igor Murashkin [Thu, 15 Aug 2013 02:05:17 +0000 (19:05 -0700)]
media: Fix ImageReader only using maxImages=1 no matter what

- No longer return null when some bad error happens
- Throws OutOfResourcesException when images need to be closed
- Throws IllegalStateException when an unknown internal error happens

Bug: 10333400
Change-Id: Ia53a5dd33f9ce53abd036e080e6fcc4ded9b251d

11 years agoMerge "MediaFormat: added subtitle format" into klp-dev
Lajos Molnar [Fri, 16 Aug 2013 19:15:24 +0000 (19:15 +0000)]
Merge "MediaFormat: added subtitle format" into klp-dev

11 years agoMerge "Camera2: Add user tag to CaptureRequest" into klp-dev
Eino-Ville Talvala [Fri, 16 Aug 2013 19:14:15 +0000 (19:14 +0000)]
Merge "Camera2: Add user tag to CaptureRequest" into klp-dev

11 years agoUse pending.xml to persist sync ops.
Matthew Williams [Tue, 13 Aug 2013 22:53:31 +0000 (15:53 -0700)]
Use pending.xml to persist sync ops.

Support pending ops by producing badly formed xml.
fixed bug that stopped alarm manager from updating if the
next alarm time is in the past.
Use new AlarmManager API for old AM behaviour - to set
exact alarms.

Change-Id: I57090f9c7155996298be7ec968a88f17ac1938a7

11 years agoRefactor CameraService to handle errors properly.
Ruben Brunk [Thu, 8 Aug 2013 20:05:30 +0000 (13:05 -0700)]
Refactor CameraService to handle errors properly.

Bug: 10361136

- Connect calls now return status_t error flags.

Change-Id: Ibce9ab047348cfcade7e70a2ef03f5a833e13af8

11 years agoMerge "Modify wifi BatchedScan." into klp-dev
Robert Greenwalt [Fri, 16 Aug 2013 18:17:51 +0000 (18:17 +0000)]
Merge "Modify wifi BatchedScan." into klp-dev

11 years agoCamera2: Add user tag to CaptureRequest
Eino-Ville Talvala [Thu, 8 Aug 2013 23:56:28 +0000 (16:56 -0700)]
Camera2: Add user tag to CaptureRequest

Bug: 10360518
Change-Id: I781341b4c598c28ee5dd7551b8e05ab19b8fff0d

11 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 16 Aug 2013 18:02:17 +0000 (18:02 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

11 years agoam 59616de7: am 8f5a76d2: am b4f96287: add latest Roboto fonts to DAC and update...
Scott Main [Fri, 16 Aug 2013 18:02:03 +0000 (11:02 -0700)]
am 59616de7: am 8f5a76d2: am b4f96287: add latest Roboto fonts to DAC and update download links

* commit '59616de7ea4719cc3a6f75f8d4ff80d7d735d8c1':
  add latest Roboto fonts to DAC and update download links

11 years agoMerge "Forward events to ListPopupWindow, highlight touched items" into klp-dev
Alan Viverette [Fri, 16 Aug 2013 17:56:42 +0000 (17:56 +0000)]
Merge "Forward events to ListPopupWindow, highlight touched items" into klp-dev

11 years agoam 8f5a76d2: am b4f96287: add latest Roboto fonts to DAC and update download links
Scott Main [Fri, 16 Aug 2013 17:58:52 +0000 (10:58 -0700)]
am 8f5a76d2: am b4f96287: add latest Roboto fonts to DAC and update download links

* commit '8f5a76d2bf011a7ae72d4c6845ee41fb63b21698':
  add latest Roboto fonts to DAC and update download links

11 years agoMerge "Update documentation for FastScroller and SectionIndexer" into klp-dev
Alan Viverette [Fri, 16 Aug 2013 17:56:40 +0000 (17:56 +0000)]
Merge "Update documentation for FastScroller and SectionIndexer" into klp-dev

11 years agoam b4f96287: add latest Roboto fonts to DAC and update download links
Scott Main [Fri, 16 Aug 2013 17:55:07 +0000 (10:55 -0700)]
am b4f96287: add latest Roboto fonts to DAC and update download links

* commit 'b4f96287285cd0886954d1576157b7a38995af88':
  add latest Roboto fonts to DAC and update download links

11 years agoadd latest Roboto fonts to DAC and update download links
Scott Main [Fri, 16 Aug 2013 17:41:31 +0000 (10:41 -0700)]
add latest Roboto fonts to DAC and update download links

Change-Id: I6232cf02486d5b82d503ebe8c6035a7da2a1093d

11 years agoUpdate WebView.postUrl documentation.
Ben Murdoch [Fri, 16 Aug 2013 15:43:22 +0000 (16:43 +0100)]
Update WebView.postUrl documentation.

Clarify format of the 'data' parameter.

Bug: 10188709
Change-Id: Ib0f7553153916ed7b5cc611da5eb481979bf3f93

11 years agoMerge "Add an API supportsSwitchingToNextInput" into klp-dev
Satoshi Kataoka [Fri, 16 Aug 2013 07:08:51 +0000 (07:08 +0000)]
Merge "Add an API supportsSwitchingToNextInput" into klp-dev

11 years agoFix typo in JavaDoc for TypeEvaluator.
Sascha Haeberling [Fri, 16 Aug 2013 02:37:32 +0000 (19:37 -0700)]
Fix typo in JavaDoc for TypeEvaluator.

Change-Id: Ice2b2db117e1f91ad70ed55d4cc0b14b86804c1c

11 years agoUpdate documentation for FastScroller and SectionIndexer
Alan Viverette [Fri, 16 Aug 2013 01:16:06 +0000 (18:16 -0700)]
Update documentation for FastScroller and SectionIndexer

BUG: 3341285
Change-Id: I0607031576eaaecaebe848437cfbacd0d1a4b161

11 years agoForward events to ListPopupWindow, highlight touched items
Alan Viverette [Fri, 16 Aug 2013 01:05:52 +0000 (18:05 -0700)]
Forward events to ListPopupWindow, highlight touched items

Moves most of the drag-to-open behavior into ListPopupWindow's
particular implementation of ListView. Uses hidden View API for
forwarding events between different windows.

Overflow menu opens on first touch, closes on touch end outside
the overflow button. Clicks that occur during drag-to-open mode
result in alpha animation of the selector drawable.

BUG: 9437139
Change-Id: I70f540555a03450638a27880b3ae3b031ca6e2ed

11 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 16 Aug 2013 00:28:16 +0000 (00:28 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

11 years agoMerge "Documents management mode; API adjustment." into klp-dev
Jeff Sharkey [Fri, 16 Aug 2013 00:08:05 +0000 (00:08 +0000)]
Merge "Documents management mode; API adjustment." into klp-dev

11 years agoDocuments management mode; API adjustment.
Jeff Sharkey [Thu, 15 Aug 2013 23:17:41 +0000 (16:17 -0700)]
Documents management mode; API adjustment.

Create documents manage mode to support Downloads and transient
storage devices.  Locks user into requested backend root, and forces
file sizes on and sorting by last modified.

Separate API constants for Documents versus Roots, and give concrete
MIME types for roots.

Treat null sizes as unknown.  Documents are always enabled in list
so that divider is drawn.  Mark external storage file as writable.

Bug: 103299831033299310332952
Change-Id: I05f4fdf5b04041a38e1ba7fb30202a3b0c615bf6

11 years agoUse default class loader when creating a LocationRequest from Parcel.
David Christie [Thu, 15 Aug 2013 23:01:42 +0000 (16:01 -0700)]
Use default class loader when creating a LocationRequest from Parcel.
This seems to be the standard usage, and there are rare reports of
requestLocationUpdates giving NullPointerExceptions on the first call
to requestLocationUpdates but not on subsequent calls (b/10207898).

Change-Id: If7a873fba5a2cd77b836ff3fda89105da20104ac

11 years agoMerge "LE: Add support for the HID-over-GATT profile (2/3)" into klp-dev
Zhihai Xu [Thu, 15 Aug 2013 22:46:14 +0000 (22:46 +0000)]
Merge "LE: Add support for the HID-over-GATT profile (2/3)" into klp-dev

11 years agoMerge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev
John Spurlock [Thu, 15 Aug 2013 22:13:14 +0000 (22:13 +0000)]
Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev

11 years agoLE: Add support for the HID-over-GATT profile (2/3)
Andre Eisenbach [Fri, 8 Mar 2013 02:07:35 +0000 (18:07 -0800)]
LE: Add support for the HID-over-GATT profile (2/3)

bug:8330048
Change-Id: I600563d81dec1638dc35e31e19f61d6c04f09ae8

11 years agoMerge "DocumentsUI handles GET_CONTENT; hinting, errors." into klp-dev
Jeff Sharkey [Thu, 15 Aug 2013 21:53:54 +0000 (21:53 +0000)]
Merge "DocumentsUI handles GET_CONTENT; hinting, errors." into klp-dev

11 years agoCamera2: Fixed issue with HashSet not being initialized
Benjamin Hendricks [Thu, 15 Aug 2013 21:10:12 +0000 (14:10 -0700)]
Camera2: Fixed issue with HashSet not being initialized

Bug: 10345921
Change-Id: I6d12562484b0ed9c59b22e231c3dd050e046b58d

11 years agoCamera2: Documentation fixes, mostly capitalization mistakes
Benjamin Hendricks [Thu, 15 Aug 2013 19:46:22 +0000 (12:46 -0700)]
Camera2: Documentation fixes, mostly capitalization mistakes

Bug: 10343538
Change-Id: I549a92117c6ecca385e55c0ca2187c5ee82f024b

11 years agoMaintain TRANSIENT_*_BAR flags until transient bars hidden.
John Spurlock [Wed, 14 Aug 2013 21:57:38 +0000 (17:57 -0400)]
Maintain TRANSIENT_*_BAR flags until transient bars hidden.

Also factor common bar-management code into a separate helper
class called BarController instead of continuing to pollute
PhoneWindowManager with duplicate logic.

Bug:10345412
Change-Id: I880900e61daa6c2c53b169e4885e68ebc62ecb6c

11 years agoDocumentsUI handles GET_CONTENT; hinting, errors.
Jeff Sharkey [Thu, 15 Aug 2013 18:24:03 +0000 (11:24 -0700)]
DocumentsUI handles GET_CONTENT; hinting, errors.

Document browser now takes over all GET_CONTENT requests that request
openable Uris. It shows both storage backends and includes other apps
that respond to GET_CONTENT. Only grants transient read permissions.

Better guarding against throwing storage backends. Send sort order
and local-only hinting to backends.

Require that OPEN/CREATE_DOC users include openable category.

Bug: 1033011210329976103407411033168910329971
Change-Id: Ieb8768a6d71201816046f4a4c48832061a313c28

11 years agoConvert 4444 bitmaps to 8888
Romain Guy [Thu, 15 Aug 2013 19:54:53 +0000 (12:54 -0700)]
Convert 4444 bitmaps to 8888
Bug #10206452

Change-Id: I928c9189b0d80741490b01a739959d8c2d5312a7
(cherry picked from commit a2cdb59b186d0ee51f110c1a7d358911573d48bf)

11 years agoMerge "wifi: Send event without prefix to p2p0" into klp-dev
Dmitry Shmidt [Thu, 15 Aug 2013 19:32:33 +0000 (19:32 +0000)]
Merge "wifi: Send event without prefix to p2p0" into klp-dev

11 years agoMerge "Bound touch and tool axes lengths below at 0" into klp-dev
Michael Wright [Thu, 15 Aug 2013 19:26:43 +0000 (19:26 +0000)]
Merge "Bound touch and tool axes lengths below at 0" into klp-dev

11 years agoGracefully handle missing directories.
Jeff Sharkey [Thu, 15 Aug 2013 18:50:02 +0000 (11:50 -0700)]
Gracefully handle missing directories.

Bug: 10295932
Change-Id: I9d18682d0ba57bf7f77d043ee8dab286ee80ba2a