112549 Commits

Author SHA1 Message Date
Marc Wilson
e3af2dd7a7 Merge "Update documentation for speech APIs." into klp-dev 2013-09-11 10:50:34 +00:00
Martijn Coenen
58d2065984 Add support for loading banners from HCE services.
Bug: 10262585
Change-Id: I08f06ce92dd9071dc8ad1390ce9a4b877b05827d
2013-09-11 12:31:10 +02:00
Jeff Sharkey
a339f2e5bb am 1434a407: Merge "More tweaks to match UX spec." into klp-dev
* commit '1434a4075d4582d932023b1720b2a1213e6ea282':
  More tweaks to match UX spec.
2013-09-10 21:20:46 -07:00
Jeff Sharkey
1434a4075d Merge "More tweaks to match UX spec." into klp-dev 2013-09-11 04:18:13 +00:00
Jeff Sharkey
e4984bea95 Request all tethering interfaces, fix corruption.
netd now tracks statistics for tethered interfaces across tethering
sessions, so switch to asking for all tethering stats.  (Currently
we're double-counting all tethering data, ever since it started
tracking across sessions.)

Also catch OOME to handle corrupt stats files, which we then dump to
DropBox and then start over.

Bug: 5868832, 9796109
Change-Id: I2eb2a1bf01b993dd198597d770fe0e022466c6b9
2013-09-10 21:03:30 -07:00
Ruben Brunk
87eac99a21 Remove dependency on JNIHelp header side effects.
Bug: 10680559
Change-Id: I47870d6c48906e0a420c52b7bc5945ffe29c68a2
2013-09-10 20:47:43 -07:00
Jeff Sharkey
ed903213e6 More tweaks to match UX spec.
Fixed text colors to match spec.  Behold The Greyening!  Centered
loader spinner in grid mode.  Show multiple lines in status messages.

Add string descriptions.  Fix bug where toggling size setting didn't
kick a UI rebind.

Bug: 10510022
Change-Id: Icb41ebeb4de0fed8c04fc6cf5213af1587b72641
2013-09-10 20:04:11 -07:00
Jeff Brown
6eade79f90 Ignore ON_AFTER_RELEASE for partial wake locks.
This is a regression in the new power manager.  Apparently
some apps try to use ON_AFTER_RELEASE with partial wake locks
which doesn't make sense.  Ignore the flag just like we used to
prior to JB MR1.

Bug: 10336375
Change-Id: Ib307eb60201612ba9bb03dc4da3365aba0b4848d
2013-09-10 18:45:25 -07:00
Chris Craik
28a1222baf Avoid ref-ing AndroidPixelRefs that wrap others in globalRef/Unref
bug:10691404

Only ref the wrapped pixel refs, so that they are the single source of
correct refcount, since the wrapping pixel ref can change out from
underneath an SkBitmap.

Change-Id: I253b8737d2afdcc567a26725fa40b1d9ef0e6a92
2013-09-10 18:13:48 -07:00
Adam Powell
ad79b90f21 Action bar refactoring and transitions
* Remove the extra occurrence of the Up caret view and reuse the
  standard home view.

* Use new transition APIs to animate changes in action bar content.

Change-Id: I7af3bb580ef4bff7d8dec9e21649b856fe73c77b
2013-09-10 18:09:03 -07:00
Eric Laurent
357263da0e Add HOTWORD as an AudioSource
- This is a low-priority source that can be preempted by others
- This is required for scenarios where someone wants an alway-on
  graceful microphone

Bug: 10640877.

Change-Id: Idb3577541103717cb713a7a93d3762ad2c2f4710
2013-09-10 18:03:10 -07:00
Jeff Brown
cf667ad7d7 am 2f1ef77c: Merge "WirelessChargerDetector: Work around bad sensor timestamps." into klp-dev
* commit '2f1ef77c07da2ed7168f75551dd632026b20f8cc':
  WirelessChargerDetector: Work around bad sensor timestamps.
2013-09-10 17:38:31 -07:00
Jeff Brown
2f1ef77c07 Merge "WirelessChargerDetector: Work around bad sensor timestamps." into klp-dev 2013-09-11 00:35:39 +00:00
Kenny Root
9ffddc7eb5 Reconcile differences between zip implementations
Reconcile the difference between ZipFileRO and java.util.ZipFile to have
the same behavior.

Bug: 10424836
Change-Id: Iff159c9e1a91b59f6c5346dc0278cb9e4bbc1a39
2013-09-11 00:29:18 +00:00
Jeff Brown
20e2875343 WirelessChargerDetector: Work around bad sensor timestamps.
It turns out that on some devices the sensor event timestamp
may be non-monotonic.  This may cause the detector to hold
a wakelock indefinitely if the time jumps backwards.  These
timestamps are not well tested in general so there may be
other artifacts as well.  Use elapsed realtime instead.

Bug: 9926451
Change-Id: Idb0b316e22b23aac86837bd25b953daf49f9b758
2013-09-10 17:17:08 -07:00
Jeff Sharkey
fa907baf5e am 042bd400: Merge "Include system packages in packages.list." into klp-dev
* commit '042bd400547dda7dce4a526fb3b68303fa934229':
  Include system packages in packages.list.
2013-09-10 17:12:30 -07:00
Jeff Sharkey
042bd40054 Merge "Include system packages in packages.list." into klp-dev 2013-09-11 00:07:42 +00:00
Amith Yamasani
485d9afe60 am a0a47c73: Merge "Backup and restore ringtone and notification ringtone" into klp-dev
* commit 'a0a47c737951db52af4943f5737da48d30adc6fe':
  Backup and restore ringtone and notification ringtone
2013-09-10 17:05:45 -07:00
Chet Haase
74d31d106b Build layer immediately when setting it in ViewPropertyAnimator
Previously, withLayer() would simply set the layer type in the runnable
called in onAnimationStart(). Now we also call buildLayer(), to get it
out of the way prior to the view drawing for the first time after the
animation begins.

Issue #9422420 ViewPropertyAnimator.withLayer() should build layer immediately

Change-Id: I99923a234f7ca1ec0b6f1b0bf28b62a71ab7eb4d
2013-09-10 17:05:44 -07:00
Amith Yamasani
a0a47c7379 Merge "Backup and restore ringtone and notification ringtone" into klp-dev 2013-09-11 00:03:50 +00:00
Jeff Sharkey
bd56a17df2 am af4d039f: Merge "More UX work for thumbnails, search, management." into klp-dev
* commit 'af4d039fb3a45d4a74683a69ee48071b8338a13d':
  More UX work for thumbnails, search, management.
2013-09-10 17:02:11 -07:00
Jeff Sharkey
af4d039fb3 Merge "More UX work for thumbnails, search, management." into klp-dev 2013-09-10 23:59:43 +00:00
Jeff Sharkey
cc8f710a50 Include system packages in packages.list.
This provides group membership to the FUSE daemon, since system
packages like NFC and Bluetooth hold sdcard_rw.

Bug: 10610659
Change-Id: I7428e999cfa4087ffe220b9d8bd80827191ab997
2013-09-10 16:57:24 -07:00
Jeff Brown
9993f8ff24 am dc6fd0a2: Merge "Propagate input ANR reason to activity manager log." into klp-dev
* commit 'dc6fd0a20a095ac0fb544184d8a4258e80b4a14d':
  Propagate input ANR reason to activity manager log.
2013-09-10 16:55:25 -07:00
Jeff Brown
dc6fd0a20a Merge "Propagate input ANR reason to activity manager log." into klp-dev 2013-09-10 23:52:53 +00:00
Jeff Brown
bd181bb832 Propagate input ANR reason to activity manager log.
Make it a little easier to diagnose input dispatch timeouts by
providing the detailed reason as the ANR annotation in the log.

Bug: 10689184
Change-Id: Ie18fd9ad066b0673d1f57c030e027ad0085f4650
2013-09-10 16:44:24 -07:00
Jeff Sharkey
4ec973925f More UX work for thumbnails, search, management.
Hide non-finished downloads from normal picker UI, but keep them
around in management mode.  Uses a Uri query parameter and a hidden
API on DocumentsProvider.

Scale thumbnails to fit viewport, always show MIME icon while waiting
on thumbnails, and crossfade between them.  Cancel thumbnail tasks
when views are recycled.

Filter directories out of search results for now.  Also leave sort
ordering from backend intact, since it's custom ranking.  Fix
SearchView interaction to dismiss properly and restore across
orientation and drawer state changes.

Hide most actions when drawer is open.  Invalidate RootInfo cache
when locale changes.  Apply sort ordering when showing recent create
directories.  Hide recent summary string when icon is enough for user
to disambiguate.

Bug: 10667184, 10665663
Change-Id: I331d3272a08c497f88dc659d9e112231cb35aa69
2013-09-10 16:40:36 -07:00
Yorke Lee
2f38d460f3 am 4459f498: Merge "Update javadocs for number presentation" into klp-dev
* commit '4459f49869d85a4c88cfa311a9a2af45ecc8d056':
  Update javadocs for number presentation
2013-09-10 16:30:37 -07:00
Yorke Lee
4459f49869 Merge "Update javadocs for number presentation" into klp-dev 2013-09-10 23:25:15 +00:00
Yorke Lee
49e1cf946f Update javadocs for number presentation
Bug: 10461762
Change-Id: Idfd19fb5f522569afa775ce95e0ba975324a0ee2
2013-09-10 15:34:34 -07:00
Craig Mautner
88cfdae667 am cdd82540: Merge "When waiting for activity to finish don\'t reset" into klp-dev
* commit 'cdd82540f2f98e7b4374fdd81e771eb217a27573':
  When waiting for activity to finish don't reset
2013-09-10 15:14:42 -07:00
Craig Mautner
cdd82540f2 Merge "When waiting for activity to finish don't reset" into klp-dev 2013-09-10 22:11:58 +00:00
John Reck
53760b4a97 am 874ae2ad: Merge "Fix scissor for functor invocation" into klp-dev
* commit '874ae2adf8c24c4b9d68f781239a95ad047e212a':
  Fix scissor for functor invocation
2013-09-10 14:05:32 -07:00
John Reck
874ae2adf8 Merge "Fix scissor for functor invocation" into klp-dev 2013-09-10 21:03:48 +00:00
Tim Murray
19c727bbc6 am 895a4375: Merge "Fix FontRenderer bug." into klp-dev
* commit '895a43751fcf4f33e5437963d75d05c2cd754520':
  Fix FontRenderer bug.
2013-09-10 14:01:53 -07:00
Tim Murray
895a43751f Merge "Fix FontRenderer bug." into klp-dev 2013-09-10 21:00:37 +00:00
Tim Murray
7a454ba5fe Fix FontRenderer bug.
bug 10691313

Change-Id: Icd5341a3c2066e337911f040ddc935c48c8d7cd1
2013-09-10 13:46:49 -07:00
John Reck
25d2f7bc1f Fix scissor for functor invocation
Bug: 10677765
 enableScissor() must precede setScissorFromClip() as
 otherwise setScissorFromClip() doesn't do anything.
 Also make sure to call setScissorFromClip() if
 enableScissor() returns true as enableScissor() calls
 resetScissor() if the scissor state has changed.

Change-Id: I9226b20bb256c92066aae344e4e6407540b6eae9
2013-09-10 20:45:29 +00:00
David Braun
4cd9612c32 am b776122a: Merge "Factor out read/write SMS settings seperate from send/receive." into klp-dev
* commit 'b776122a8aa9fd082fa8aaa216c8a589d709c4c9':
  Factor out read/write SMS settings seperate from send/receive.
2013-09-10 13:35:42 -07:00
David Braun
b776122a8a Merge "Factor out read/write SMS settings seperate from send/receive." into klp-dev 2013-09-10 20:33:28 +00:00
Jason Monk
b28da84896 am e6b4163f: Merge "Verify inputs to PAC resolving." into klp-dev
* commit 'e6b4163f38c18072ef89ec593d4647c581dd9a8a':
  Verify inputs to PAC resolving.
2013-09-10 13:32:08 -07:00
Jason Monk
e6b4163f38 Merge "Verify inputs to PAC resolving." into klp-dev 2013-09-10 20:27:23 +00:00
David Braun
18966a8dd8 Factor out read/write SMS settings seperate from send/receive.
Change-Id: I161782b1508be433c910ec13c0b18e728bf7d2ba
2013-09-10 13:14:46 -07:00
Alan Viverette
d54529c435 am 23819e7e: Merge "Make ListView\'s illegal state exception more helpful" into klp-dev
* commit '23819e7e5d3b5e2c5d4b47b1a8133bc950e1eb82':
  Make ListView's illegal state exception more helpful
2013-09-10 13:08:07 -07:00
Alan Viverette
23819e7e5d Merge "Make ListView's illegal state exception more helpful" into klp-dev 2013-09-10 20:05:59 +00:00
Zhijun He
487a8fc9d4 am 82d11f8e: Merge "MediaMuxer: Add setLocation API" into klp-dev
* commit '82d11f8e94e38e434cb6bc5e3e8d87250956fa1c':
  MediaMuxer: Add setLocation API
2013-09-10 12:43:59 -07:00
Zhijun He
82d11f8e94 Merge "MediaMuxer: Add setLocation API" into klp-dev 2013-09-10 19:41:11 +00:00
Igor Murashkin
900e04c1a2 am 50209368: Merge "camera2: Don\'t NPE in onStatusChanged" into klp-dev
* commit '50209368626d53b1f8a4a6fdf50d280c7cf65a65':
  camera2: Don't NPE in onStatusChanged
2013-09-10 12:31:47 -07:00
Igor Murashkin
5020936862 Merge "camera2: Don't NPE in onStatusChanged" into klp-dev 2013-09-10 19:29:27 +00:00
Kenny Root
3ae0ffe9c6 am 0611f477: am 90e42717: Merge changes I5d2be3c5,I9017256b
* commit '0611f47721e32e5386884881b055fde6eec5e3c0':
  Add argument to binder call to check key types
  Use hostname verifier directly instead of instance
2013-09-10 11:54:32 -07:00