OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Icon updates: location, settings, cdma roaming" into klp-dev
John Spurlock [Wed, 4 Sep 2013 13:35:06 +0000 (13:35 +0000)]
Merge "Icon updates: location, settings, cdma roaming" into klp-dev

10 years agoMerge "Remove unused status bar icon stat_sys_secure." into klp-dev
John Spurlock [Wed, 4 Sep 2013 13:32:18 +0000 (13:32 +0000)]
Merge "Remove unused status bar icon stat_sys_secure." into klp-dev

10 years agoIcon updates: location, settings, cdma roaming
John Spurlock [Wed, 4 Sep 2013 13:04:37 +0000 (09:04 -0400)]
Icon updates: location, settings, cdma roaming

Bug:10502089
Change-Id: I2cc1b6bd8e1998830228b1d174cd4af13a1f1b6e

10 years agoMerge "Add provideAssistData attr to public.xml" into klp-dev
Adam Skory [Wed, 4 Sep 2013 12:22:10 +0000 (12:22 +0000)]
Merge "Add provideAssistData attr to public.xml" into klp-dev

10 years agoFix the build.
Ben Murdoch [Wed, 4 Sep 2013 12:09:10 +0000 (13:09 +0100)]
Fix the build.

Fix javadoc typo.

Change-Id: I3e5f8f43650ce7b0958512bacc36e0ee744efa40

10 years agoAdd provideAssistData attr to public.xml
Adam Skory [Sat, 31 Aug 2013 03:53:33 +0000 (04:53 +0100)]
Add provideAssistData attr to public.xml

http://ag/323631 added the provideAssistData
attribute to the Service manifest tag.

It did not, however, add that attribute to
public.xml - making it impossible to actually
build a service that defines said tag.

So, add it.

Now that the attribute is where it should be,
restore @link notation to ServiceInfo.java
without breaking the offline docs build
( see http://ag//340279 ).

Also, make some log warnings related to
providing assist data slightly more verbose.

Bug: 10573008
Change-Id: Ie2bcb411c182d69738a2fa4a74de3171b9b9c455

10 years agoSubtitleController: update to new CaptioningManager APIs
Lajos Molnar [Wed, 4 Sep 2013 05:52:36 +0000 (22:52 -0700)]
SubtitleController: update to new CaptioningManager APIs

This resolves the build issue.

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

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 4 Sep 2013 04:44:27 +0000 (04:44 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 4 Sep 2013 04:43:47 +0000 (04:43 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 4 Sep 2013 04:43:28 +0000 (04:43 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Show loading, error, and info messages as footers." into klp-dev
Jeff Sharkey [Wed, 4 Sep 2013 04:34:17 +0000 (04:34 +0000)]
Merge "Show loading, error, and info messages as footers." into klp-dev

10 years agoMerge "Updated documents UX around action bar." into klp-dev
Jeff Sharkey [Wed, 4 Sep 2013 04:34:15 +0000 (04:34 +0000)]
Merge "Updated documents UX around action bar." into klp-dev

10 years agoMerge "Internal subtitle base support" into klp-dev
Lajos Molnar [Wed, 4 Sep 2013 04:28:00 +0000 (04:28 +0000)]
Merge "Internal subtitle base support" into klp-dev

10 years agoFix for build breakage. Remove documentation link to hidden registerListener API.
Aravind Akella [Wed, 4 Sep 2013 02:37:24 +0000 (19:37 -0700)]
Fix for build breakage. Remove documentation link to hidden registerListener API.

Change-Id: Iba5d623bf12f1b6654f570febcc65d591d309038

10 years agoMerge "Reader mode NFC API: move to callback model." into klp-dev
Martijn Coenen [Wed, 4 Sep 2013 00:48:20 +0000 (00:48 +0000)]
Merge "Reader mode NFC API: move to callback model." into klp-dev

10 years agoMerge "Sanity check users before committing new Android ID" into klp-dev
Christopher Tate [Wed, 4 Sep 2013 00:48:06 +0000 (00:48 +0000)]
Merge "Sanity check users before committing new Android ID" into klp-dev

10 years agoMerge "camera2: Don't NPE when closing the CameraDevice" into klp-dev
Igor Murashkin [Wed, 4 Sep 2013 00:44:31 +0000 (00:44 +0000)]
Merge "camera2: Don't NPE when closing the CameraDevice" into klp-dev

10 years agoMerge "Fix pre tag formatting in getDragToOpenListener documentation" into klp-dev
Alan Viverette [Wed, 4 Sep 2013 00:44:11 +0000 (00:44 +0000)]
Merge "Fix pre tag formatting in getDragToOpenListener documentation" into klp-dev

10 years agoMerge "Sensor batching. Implementation for registerListener(with batch support) and...
Aravind Akella [Wed, 4 Sep 2013 00:41:52 +0000 (00:41 +0000)]
Merge "Sensor batching. Implementation for registerListener(with batch support) and flush APIs." into klp-dev

10 years agoMerge "UX improvements to the restrictions PIN" into klp-dev
Geoffrey Borggaard [Wed, 4 Sep 2013 00:41:26 +0000 (00:41 +0000)]
Merge "UX improvements to the restrictions PIN" into klp-dev

10 years agoInternal subtitle base support
Lajos Molnar [Thu, 15 Aug 2013 23:12:54 +0000 (16:12 -0700)]
Internal subtitle base support

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

10 years agoShow loading, error, and info messages as footers.
Jeff Sharkey [Tue, 3 Sep 2013 22:25:52 +0000 (15:25 -0700)]
Show loading, error, and info messages as footers.

A provider can include extras in their Cursors to indicate that
loading is ongoing, or include an error or informational message,
which are now shown in footer views.

Fix registration to always get change notifications.

Test provider that verifies common provider behavior of holding
a reference to "cloud" resources that are released by GC when the
remote Cursor is closed.  Also used to validate Recents behavior
for slow providers.

Bug: 10599268
Change-Id: I331c31058dbb80261e7d279b851197c65ac87e32

10 years agoSensor batching. Implementation for registerListener(with batch support) and flush...
Aravind Akella [Thu, 27 Jun 2013 19:04:16 +0000 (12:04 -0700)]
Sensor batching. Implementation for registerListener(with batch support) and flush APIs.

Bug: 10109508
Change-Id: I6dfdd986bd8c3368cb568fa7d90abf9c03de9aef

10 years agoSanity check users before committing new Android ID
Christopher Tate [Tue, 3 Sep 2013 23:57:34 +0000 (16:57 -0700)]
Sanity check users before committing new Android ID

In creation/deletion cycling we can wind up racing and attempting
to establish the Android ID on first access *after* the user has
already been deleted.  Cope gracefully with this outcome.

Bug 10608503

Change-Id: I169d5052e5a2e354ce0e1f61258e45e31f5ba171

10 years agoMerge "Add methods for managing subtitle overlays in VideoView" into klp-dev
Alan Viverette [Tue, 3 Sep 2013 23:51:34 +0000 (23:51 +0000)]
Merge "Add methods for managing subtitle overlays in VideoView" into klp-dev

10 years agoMerge "Ensure list scrolling API is in parity with view scrolling API" into klp-dev
Alan Viverette [Tue, 3 Sep 2013 23:33:02 +0000 (23:33 +0000)]
Merge "Ensure list scrolling API is in parity with view scrolling API" into klp-dev

10 years agoMerge "Prevent NPE when cloning gradients Bug #10436856" into klp-dev
Romain Guy [Tue, 3 Sep 2013 23:32:33 +0000 (23:32 +0000)]
Merge "Prevent NPE when cloning gradients Bug #10436856" into klp-dev

10 years agoAdd methods for managing subtitle overlays in VideoView
Alan Viverette [Tue, 3 Sep 2013 23:17:56 +0000 (16:17 -0700)]
Add methods for managing subtitle overlays in VideoView

Overlays are added directly to the VideoView, laid out to the
size of the video view, and rendered in draw().

BUG: 10260603
Change-Id: Ie8c30e5e6dcd5c6e1a2063af898afce0108a87bf

10 years agoPrevent NPE when cloning gradients
Romain Guy [Tue, 3 Sep 2013 23:08:00 +0000 (16:08 -0700)]
Prevent NPE when cloning gradients
Bug #10436856

Change-Id: I98cbce941a06842112b8caa3753a3fa32b227da9

10 years agoEnsure list scrolling API is in parity with view scrolling API
Alan Viverette [Tue, 3 Sep 2013 23:01:51 +0000 (16:01 -0700)]
Ensure list scrolling API is in parity with view scrolling API

Change-Id: Icaf533c0085b80f3c52cc026e0da7468698724f9

10 years agoMerge "VideoView: add addSubtitleSource" into klp-dev
Lajos Molnar [Tue, 3 Sep 2013 22:51:32 +0000 (22:51 +0000)]
Merge "VideoView: add addSubtitleSource" into klp-dev

10 years agoMerge "Block ble adv api based on resource config" into klp-dev
Matthew Xie [Tue, 3 Sep 2013 22:36:09 +0000 (22:36 +0000)]
Merge "Block ble adv api based on resource config" into klp-dev

10 years agoMerge "Fix issue #10461469: KLP API Review: EXTRA_SHUTDOWN_USERSPACE_ONLY" into klp-dev
Dianne Hackborn [Tue, 3 Sep 2013 22:04:43 +0000 (22:04 +0000)]
Merge "Fix issue #10461469: KLP API Review: EXTRA_SHUTDOWN_USERSPACE_ONLY" into klp-dev

10 years agoFix issue #10461469: KLP API Review: EXTRA_SHUTDOWN_USERSPACE_ONLY
Dianne Hackborn [Tue, 3 Sep 2013 21:34:12 +0000 (14:34 -0700)]
Fix issue #10461469: KLP API Review: EXTRA_SHUTDOWN_USERSPACE_ONLY

Maybe adding more words will make it more clear. :)

Change-Id: Ie729eaba1df542d4ffcd0502ccba3807d641fd72

10 years agoMerge "Update Bitmap.Config.ARGB_4444 documentation Bug #10510122" into klp-dev
Romain Guy [Tue, 3 Sep 2013 21:41:39 +0000 (21:41 +0000)]
Merge "Update Bitmap.Config.ARGB_4444 documentation Bug #10510122" into klp-dev

10 years agoUpdated documents UX around action bar.
Jeff Sharkey [Tue, 3 Sep 2013 21:17:06 +0000 (14:17 -0700)]
Updated documents UX around action bar.

Change action bar to match current design; drawer is always available
and navigation dropdown is used to interact with current traversal
path in hierarchy.  On first launch, show recents with drawer
expanded.  On subsequent launches, resume from last location with
drawer closed.  If last location root isn't applicable, then behave
like initial launch.  Move sort order into action bar submenu.

Delete documents using contract.  Use unstable provider when
inflating DocumentInfo from Uri.

Bug: 1033021910510851
Change-Id: I6e94637d70ebca156a6c5d50272e878156d0dd62

10 years agoMerge "Insert home task into history when sending to back." into klp-dev
Craig Mautner [Tue, 3 Sep 2013 21:06:49 +0000 (21:06 +0000)]
Merge "Insert home task into history when sending to back." into klp-dev

10 years agoMerge "Dim status icons / battery / clock on opaque bars." into klp-dev
John Spurlock [Tue, 3 Sep 2013 20:30:47 +0000 (20:30 +0000)]
Merge "Dim status icons / battery / clock on opaque bars." into klp-dev

10 years agoMerge "Improve constant names for settings injection API" into klp-dev
Tom O'Neill [Tue, 3 Sep 2013 20:25:56 +0000 (20:25 +0000)]
Merge "Improve constant names for settings injection API" into klp-dev

10 years agoDim status icons / battery / clock on opaque bars.
John Spurlock [Tue, 3 Sep 2013 20:23:49 +0000 (16:23 -0400)]
Dim status icons / battery / clock on opaque bars.

Apply consistent alpha to the other status bar elements
now that they are intrinsically brighter than before.

Bug:10602822
Change-Id: I8ca6ddc844f9c58ddf2a1df8d1a5bd7fb71932d1

10 years agoMerge "Don't call setLastChosen if it's a chooser activity instance" into klp-dev
Amith Yamasani [Tue, 3 Sep 2013 20:22:15 +0000 (20:22 +0000)]
Merge "Don't call setLastChosen if it's a chooser activity instance" into klp-dev

10 years agoInsert home task into history when sending to back.
Craig Mautner [Tue, 3 Sep 2013 19:15:57 +0000 (12:15 -0700)]
Insert home task into history when sending to back.

- There is an assumption that moving a task to the back moves it
behind the home activity. This fix ensures that the home activity
will be launched by some activity before the task that has been
moved to the back.

- Convert "private final" declarations to private only.

- Convert container tests for size()==0 to isEmpty().

- Remove unused variable.

Fixes bug 10228536.

Change-Id: I51741ee7a09652e27afffcc50c14953bf0aa27ea

10 years agoMerge "Remove deprecated ACCESS_DRM permission." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 19:42:13 +0000 (19:42 +0000)]
Merge "Remove deprecated ACCESS_DRM permission." into klp-dev

10 years agoDon't call setLastChosen if it's a chooser activity instance
Amith Yamasani [Tue, 3 Sep 2013 19:30:44 +0000 (12:30 -0700)]
Don't call setLastChosen if it's a chooser activity instance

Bug: 10605359
Change-Id: If76f5cf2f45442dc25f9bfbd20a4d671b9caa358

10 years agoMerge "Add drawable for Apdu Services, fix build." into klp-dev
Martijn Coenen [Tue, 3 Sep 2013 19:29:45 +0000 (19:29 +0000)]
Merge "Add drawable for Apdu Services, fix build." into klp-dev

10 years agoAdd drawable for Apdu Services, fix build.
Martijn Coenen [Tue, 3 Sep 2013 19:24:18 +0000 (12:24 -0700)]
Add drawable for Apdu Services, fix build.

Change-Id: I7c138adb60b2efe19377b58b35360cd234628424

10 years agoMerge "Don't ever disable the status/nav bar." into klp-dev
John Spurlock [Tue, 3 Sep 2013 19:12:54 +0000 (19:12 +0000)]
Merge "Don't ever disable the status/nav bar." into klp-dev

10 years agoMerge "Skip packages with missing metadata." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 19:04:55 +0000 (19:04 +0000)]
Merge "Skip packages with missing metadata." into klp-dev

10 years agoRemove deprecated ACCESS_DRM permission.
Jeff Sharkey [Tue, 3 Sep 2013 19:04:39 +0000 (12:04 -0700)]
Remove deprecated ACCESS_DRM permission.

The permission no longer exists, so don't assign it to media.

Bug: 9967611
Change-Id: I5e11fcfc265310cbc3c2a8812a13e68b717fa476

10 years agoSkip packages with missing metadata.
Jeff Sharkey [Tue, 3 Sep 2013 19:01:20 +0000 (12:01 -0700)]
Skip packages with missing metadata.

Otherwise this would result in NPE, and packages.list would never
be updated.

Bug: 10577538
Change-Id: I35a4407dbc283ab20a4c45a2ea1a14b04044c98c

10 years agoMerge "Add tracing to WebView API methods and callbacks" into klp-dev
Kristian Monsen [Tue, 3 Sep 2013 18:54:50 +0000 (18:54 +0000)]
Merge "Add tracing to WebView API methods and callbacks" into klp-dev

10 years agoam 7081684f: am c236f992: am 5e52ee6e: Doc change: small refinement of brand usage...
Dirk Dougherty [Tue, 3 Sep 2013 18:50:57 +0000 (11:50 -0700)]
am 7081684f: am c236f992: am 5e52ee6e: Doc change: small refinement of brand usage guidelines.

* commit '7081684f17a3ec768b6048434f47578631249de6':
  Doc change: small refinement of brand usage guidelines.

10 years agoUpdate Bitmap.Config.ARGB_4444 documentation
Romain Guy [Tue, 3 Sep 2013 18:50:23 +0000 (11:50 -0700)]
Update Bitmap.Config.ARGB_4444 documentation
Bug #10510122

ARGB_4444 is deprecated and always replaced with ARGB_8888.

Change-Id: I0da96216af701a7df00ad35913066fbfa997d790

10 years agoam c236f992: am 5e52ee6e: Doc change: small refinement of brand usage guidelines.
Dirk Dougherty [Tue, 3 Sep 2013 18:48:34 +0000 (11:48 -0700)]
am c236f992: am 5e52ee6e: Doc change: small refinement of brand usage guidelines.

* commit 'c236f99234bbcc9b1ced14777b179adb59922b0f':
  Doc change: small refinement of brand usage guidelines.

10 years agoam 5e52ee6e: Doc change: small refinement of brand usage guidelines.
Dirk Dougherty [Tue, 3 Sep 2013 18:44:24 +0000 (11:44 -0700)]
am 5e52ee6e: Doc change: small refinement of brand usage guidelines.

* commit '5e52ee6ecf08b299b433104798e736e2bc3904d5':
  Doc change: small refinement of brand usage guidelines.

10 years agoDon't ever disable the status/nav bar.
John Spurlock [Tue, 3 Sep 2013 18:44:16 +0000 (14:44 -0400)]
Don't ever disable the status/nav bar.

Revert part of the fix for b/8682123 until we figure out why
the window state does not flip to SHOWING in BarController.

Bug:10488453
Change-Id: Ic5d60a6d945b470fd519dc01de30690e61c62e01

10 years agoNFC: @hide and remove abstract from processCommandApdu().
Martijn Coenen [Tue, 3 Sep 2013 18:38:19 +0000 (11:38 -0700)]
NFC: @hide and remove abstract from processCommandApdu().

Replaced by new version with Bundle extras.

Bug: 10550349
Change-Id: If5f284c6d9b14ab32670ebc84881f459813b5b56

10 years agoDoc change: small refinement of brand usage guidelines.
Dirk Dougherty [Tue, 3 Sep 2013 17:08:54 +0000 (10:08 -0700)]
Doc change: small refinement of brand usage guidelines.

Change-Id: I3e7513ee6b5cc0dd0204ca5b78c9fd13e4c8cf4a

10 years agoMerge "Fix build; add new ScaleGestureDetector constructor" into klp-dev
Mindy Pereira [Tue, 3 Sep 2013 18:32:02 +0000 (18:32 +0000)]
Merge "Fix build; add new ScaleGestureDetector constructor" into klp-dev

10 years agoFix build; add new ScaleGestureDetector constructor
Mindy Pereira [Tue, 3 Sep 2013 18:27:02 +0000 (11:27 -0700)]
Fix build; add new ScaleGestureDetector constructor

Change-Id: I1b6e7ef36ce79852acd6cefe03fc94143641ff0e

10 years agoMerge "Bug fixes in the printer dialog activity and fused printer loader." into klp-dev
Svetoslav Ganov [Tue, 3 Sep 2013 18:02:57 +0000 (18:02 +0000)]
Merge "Bug fixes in the printer dialog activity and fused printer loader." into klp-dev

10 years agoMerge "Crashes in TouchExplorer on two finger swipe." into klp-dev
Svetoslav Ganov [Tue, 3 Sep 2013 18:02:15 +0000 (18:02 +0000)]
Merge "Crashes in TouchExplorer on two finger swipe." into klp-dev

10 years agoMerge "Revert "Add permissions for the InCallUI Split."" into klp-dev
Santos Cordon [Tue, 3 Sep 2013 17:43:29 +0000 (17:43 +0000)]
Merge "Revert "Add permissions for the InCallUI Split."" into klp-dev

10 years agoRevert "Add permissions for the InCallUI Split."
Santos Cordon [Tue, 3 Sep 2013 17:42:04 +0000 (17:42 +0000)]
Revert "Add permissions for the InCallUI Split."

This reverts commit bf84eb5ed579d13b74c97b995299ca61cafedea6.

Change-Id: I40e311174898a741f5053501290833420355ad03

10 years agoMerge "Add doubletap swipe to scalegesturedetector" into klp-dev
Mindy Pereira [Tue, 3 Sep 2013 17:38:36 +0000 (17:38 +0000)]
Merge "Add doubletap swipe to scalegesturedetector" into klp-dev

10 years agoMerge "Change name back to CreateJavaInputStreamAdaptor." into klp-dev
Leon Scroggins III [Tue, 3 Sep 2013 17:37:10 +0000 (17:37 +0000)]
Merge "Change name back to CreateJavaInputStreamAdaptor." into klp-dev

10 years agoMerge "Revert "Enhancement for OnInfo callback on DRM Framework"" into klp-dev
Jeff Tinker [Tue, 3 Sep 2013 17:35:57 +0000 (17:35 +0000)]
Merge "Revert "Enhancement for OnInfo callback on DRM Framework"" into klp-dev

10 years agoMerge changes Ic710807d,I88dfcc8c into klp-dev
Kenny Root [Tue, 3 Sep 2013 17:28:40 +0000 (17:28 +0000)]
Merge changes Ic710807d,I88dfcc8c into klp-dev

* changes:
  Unhide functions to allow ECDSA support
  Add support for DSA and ECDSA key types

10 years agoMerge "HCE API review." into klp-dev
Martijn Coenen [Tue, 3 Sep 2013 17:25:01 +0000 (17:25 +0000)]
Merge "HCE API review." into klp-dev

10 years agoMerge "Public API for RemoteControlClient ratings and editable metadata" into klp-dev
Jean-Michel Trivi [Tue, 3 Sep 2013 17:19:55 +0000 (17:19 +0000)]
Merge "Public API for RemoteControlClient ratings and editable metadata" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 3 Sep 2013 17:16:06 +0000 (10:16 -0700)]
Import translations. DO NOT MERGE

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

10 years agoRevert "Enhancement for OnInfo callback on DRM Framework"
Jeff Tinker [Fri, 30 Aug 2013 23:04:34 +0000 (23:04 +0000)]
Revert "Enhancement for OnInfo callback on DRM Framework"

This reverts commit 6fd97b7d93c5eeaefb2695786b35d1672c88b0cf.

Fixes Fatal signal 6 (SIGABRT)" when playing or downloading a video
bug: 10542864

Change-Id: I85b84d6b602079571be1a7237c907716db9cdf54

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 3 Sep 2013 17:07:16 +0000 (10:07 -0700)]
Import translations. DO NOT MERGE

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

10 years agoUnhide functions to allow ECDSA support
Kenny Root [Tue, 3 Sep 2013 16:45:55 +0000 (09:45 -0700)]
Unhide functions to allow ECDSA support

Bug: 10600582
Change-Id: Ic710807d7e771737521e0abd83af2f666ec1199c

10 years agoMerge "Add permissions for the InCallUI Split." into klp-dev
Santos Cordon [Tue, 3 Sep 2013 16:45:24 +0000 (16:45 +0000)]
Merge "Add permissions for the InCallUI Split." into klp-dev

10 years agoCrashes in TouchExplorer on two finger swipe.
Svetoslav Ganov [Tue, 3 Sep 2013 16:24:48 +0000 (09:24 -0700)]
Crashes in TouchExplorer on two finger swipe.

1. The logic for finding the active pointer was incorrect. The code was
   iterating over all pointer ids and taking the minimum, i.e. the pointer
   that first went down. The problem was that the down time for pointers
   that are not down was also considered (set to zero), thus sometimes we
   would consider the first pointer that went down to be a pointer that
   is not down at all. Now we are iterating only over the pointers that
   are down.

2. The batched events while waiting to see if the user is exploring or
   gesturing were added even if we were in touch exploration state at which
   point we do not have to batch. As a result we ended up having lefovers
   from a previous gesture when handling the delayed events and crash.

bug:10312546

Change-Id: I4728541ac12e4da4577d22e4314101dd169a52fb

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 3 Sep 2013 16:21:32 +0000 (09:21 -0700)]
Import translations. DO NOT MERGE

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

10 years agoRemove unused status bar icon stat_sys_secure.
John Spurlock [Tue, 3 Sep 2013 16:04:38 +0000 (12:04 -0400)]
Remove unused status bar icon stat_sys_secure.

It was moved behind an undocumented setting three yrs ago.

Bug:10502089
Change-Id: Icef0e3deaa9b09afab98bbb76520b47a16da2069

10 years agoBug fixes in the printer dialog activity and fused printer loader.
Svetoslav Ganov [Tue, 3 Sep 2013 07:11:58 +0000 (00:11 -0700)]
Bug fixes in the printer dialog activity and fused printer loader.

1. Fused printers loader was not using the discovered printers to update the
    historical ones. Now if a historical printer is discovered we update its state
    with the discovered, i.e. most recent, information.

2. Fixed a bug in the destination adapter of the print job config dialog that
    was leading to a crash if all printers item is selected when there are no
    discovered printers.

3.  Updated the add printers asset in the all printers screen.

4. Historical printers were not persisted by the print dialog activity.

5. Reduced the number of printers we send per transation to avoid the binder
   transaction size limit. Added sending of printers in chunks in a place
   this was missing.

Change-Id: I88b54888360bc0e53b06bd260c2b832d0d6454b6

10 years agoChange name back to CreateJavaInputStreamAdaptor.
Leon Scroggins III [Tue, 3 Sep 2013 15:35:00 +0000 (11:35 -0400)]
Change name back to CreateJavaInputStreamAdaptor.

In order to fix open source builds, change WrapJavaInputStream's
name back to CreateJavaInputStreamAdaptor.

Remove FIXME in CopyJavaInputStream, and return a more generic type,
since the more specific type was only needed by a change in external/webkit,
which is being reverted since it depends on unreleased code.

Change-Id: I89b0431e357b509a2a0c17a624b31bd49d29070f

10 years agoAdd permissions for the InCallUI Split.
Santos Cordon [Tue, 13 Aug 2013 21:29:47 +0000 (14:29 -0700)]
Add permissions for the InCallUI Split.

Change-Id: Ic759d14acefcea746e0d8e86c0f006d4bc462386

10 years agoAdd support for DSA and ECDSA key types
Kenny Root [Fri, 16 Aug 2013 21:03:29 +0000 (14:03 -0700)]
Add support for DSA and ECDSA key types

(cherry picked from commit f64386fc26efeb245fd90fabaa47b8c8bf9b4613)

Bug: 10600582
Change-Id: I88dfcc8ca602f55fad54bd8bf043aee460c0de24

10 years agoMerge "System print service enabled after every system reboot" into klp-dev
Svetoslav Ganov [Tue, 3 Sep 2013 07:24:57 +0000 (07:24 +0000)]
Merge "System print service enabled after every system reboot" into klp-dev

10 years agoMerge "Filter roots based on incoming request." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:55 +0000 (03:50 +0000)]
Merge "Filter roots based on incoming request." into klp-dev

10 years agoMerge "New recents behavior to match spec." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:27 +0000 (03:50 +0000)]
Merge "New recents behavior to match spec." into klp-dev

10 years agoMerge "Instance state, fix sharing, Durable objects." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:10 +0000 (03:50 +0000)]
Merge "Instance state, fix sharing, Durable objects." into klp-dev

10 years agoMerge "Use Cursors directly when binding documents." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:00 +0000 (03:50 +0000)]
Merge "Use Cursors directly when binding documents." into klp-dev

10 years agoReader mode NFC API: move to callback model.
Martijn Coenen [Tue, 3 Sep 2013 03:38:47 +0000 (20:38 -0700)]
Reader mode NFC API: move to callback model.

Using intents for reader mode doesn't work well for 2 reasons:
1) Intents are used to resolve, but in reader mode we already
   know where to resolve to. Additionally, dispatching an intent
   causes additional latency.
2) Using intents with foreground dispatch was tricky; for every
   call to onNewIntent() with a new tag, there was a call to
   onPause(), which effectively disabled reader mode again,
   causing a discovery loop.

Instead, let the app register a callback, and call that when
we discover a new tag. Also, add new flag to disable platform
sounds, and to change the presence check delay.

Bug: 10360259
Change-Id: I8373543d6cf2f7ca73c9b3e42bb8b51e3ac48cac

10 years agoFilter roots based on incoming request.
Jeff Sharkey [Tue, 3 Sep 2013 00:19:40 +0000 (17:19 -0700)]
Filter roots based on incoming request.

When incoming request is for local-only content, or for ACTION_CREATE,
only include roots advertise those features.

Filters roots based on the allowed MIME types and the supported types
advertised by each root.  This supports displaying Images and Audio
roots only when requesting those content types.  Applies the same
filter when deciding which roots to query for recents.

Fixes advanced filtering instead of limiting to just devices. Update
sorting so that Recent always appears first. Add testing support for
LOCAL_ONLY.

Bug: 1059731710526535
Change-Id: Ic5ccf475c4fe93fd52b29388d369d7f6915c0c42

10 years agoMerge "Refactoring of DocumentsContract." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 00:07:17 +0000 (00:07 +0000)]
Merge "Refactoring of DocumentsContract." into klp-dev

10 years agoSystem print service enabled after every system reboot
Svetoslav Ganov [Mon, 2 Sep 2013 22:24:45 +0000 (15:24 -0700)]
System print service enabled after every system reboot

The system was overriding the user on every boot by turing of all system
print services, i.e. service that are on the system image. Now the system
print service are enabled by default only once per user, the user can later
disable them and the system does not override that. We now have a system
setting with the services we enabled once by default so we never do
default enabling again (unless device is wiped).

bug:10594775

Change-Id: Id3129ccfba95bf57375ea9fec0b5ca0e51bda199

10 years agoNew recents behavior to match spec.
Jeff Sharkey [Mon, 2 Sep 2013 22:07:28 +0000 (15:07 -0700)]
New recents behavior to match spec.

Updated behavior queries each documents root for recently modified
documents.  It uses a new variant of DirectoryLoader which limits the
maximum number of parallel queries to relieve memory pressure.  When
first started, it waits up to 500ms for everyone to finish, then
publishes whatever results are ready, and then refreshes results as
each straggler finishes.

New RootCursorWrapper that always blends in authority and rootId
columns, which are used for binding root details from blended cursors.

Bug: 1059359610329994
Change-Id: Icc0d4a2f1b6166edc72f78a4c88f444eeba6f2f0

10 years agoFix SynthesisRequest javadoc
Przemyslaw Szczepaniak [Mon, 2 Sep 2013 15:41:05 +0000 (16:41 +0100)]
Fix SynthesisRequest javadoc

Bug: 10548784
Change-Id: I76a89bb9accdeee00c60a668adbdd789b995cd92

10 years agoMerge "Improve the API document for supportsSwitchingToNextInputMethod" into klp-dev
satok [Mon, 2 Sep 2013 05:49:42 +0000 (05:49 +0000)]
Merge "Improve the API document for supportsSwitchingToNextInputMethod" into klp-dev

10 years agoInstance state, fix sharing, Durable objects.
Jeff Sharkey [Mon, 2 Sep 2013 01:41:04 +0000 (18:41 -0700)]
Instance state, fix sharing, Durable objects.

Remember instance state across configuration changes, and enable
rotation.  This remembers current modes and in-progress traversals.

Always finish action modes after launching an action.  Fix sharing
by always putting Uris in extras, and always wrap in a chooser.  Find
common MIME types when sharing multiple documents.  Fix downloads
launching by following directory MIME type change.

Introduce "Durable" which is like Parcelable, but can be used for
both byte[] storage and Parcel transport.  Make both DocumentInfo
and DocumentStack durable.

Disable recents until new behavior is implemented.

Bug: 1046023610446265105336741045634410456702
Change-Id: I4eaf2b0b4cde611c69a1e7b5f1586f6b02019b27

10 years agoUse Cursors directly when binding documents.
Jeff Sharkey [Sun, 1 Sep 2013 04:27:44 +0000 (21:27 -0700)]
Use Cursors directly when binding documents.

Instead of creating a DocumentInfo for every list item, bind the
adapter against Cursor directly.

Create new SortingCursorWrapper which performs sorting at query time
and keeps a O(1) mapping from sorted to unsorted positions in the
underlying Cursor.

Suppress extra loader passes that had been kicked off.  Use unstable
provider when querying to guard against broken providers.

Bug: 1056750610510851
Change-Id: I535814da6b17c38de04a1175e0afcc78c6b966ce

10 years agoRefactoring of DocumentsContract.
Jeff Sharkey [Sat, 31 Aug 2013 22:02:20 +0000 (15:02 -0700)]
Refactoring of DocumentsContract.

Combines related columns and constants onto the same class so they
are easier to discover.  Move back to surfacing roots with columns
so they are consistent with documents.

Advanced roots are represented with a flag instead of distinct
types.  Flags to indicate supporting of well-known media types,
instead of arbitrary an MIME filter.  Reintroduce well-formed rootId
to support recents.

Always use the expanded version of "documents" in constants, methods,
and argument names.

Refactor DocumentProvider method names to clearly distinguish if
a single item or multiple could be returned, and of which type.  Add
documentation to clearly define which methods have already been
overridden.

Bug: 1056750610567557
Change-Id: I981f26ab82f2b520a19aa1ce66f659de50d7fac0

10 years agoMerge "Status bar icons as expressions of white." into klp-dev
John Spurlock [Sat, 31 Aug 2013 14:59:31 +0000 (14:59 +0000)]
Merge "Status bar icons as expressions of white." into klp-dev

10 years agoam 468c60b3: (-s ours) am 00e4c672: am f85aa0fc: Merge "Telephony: SMS over IMS,...
Ed Tam [Sat, 31 Aug 2013 01:14:59 +0000 (18:14 -0700)]
am 468c60b3: (-s ours) am 00e4c672: am f85aa0fc: Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev

* commit '468c60b334321d5790b0b5bd962870939aac0ab2':
  Telephony: SMS over IMS, DO NOT MERGE

10 years agoStatus bar icons as expressions of white.
John Spurlock [Sat, 31 Aug 2013 00:53:26 +0000 (20:53 -0400)]
Status bar icons as expressions of white.

Bug:10502089
Change-Id: Id13badd6c729b79492aec5370dbb3dc2479008fd