Commit Graph

33996 Commits

Author SHA1 Message Date
Dianne Hackborn
d8c06fab80 am 80213add: Merge "Fix issue #10671878: Proc stats needs to remove old data structures" into klp-dev
* commit '80213adddaec79981aff47c81bdaac38725f2644':
  Fix issue #10671878: Proc stats needs to remove old data structures
2013-09-09 14:08:19 -07:00
Alan Viverette
b198dbaf19 am 013634cc: Merge "Add WebVTT caption renderer" into klp-dev
* commit '013634cc44d62fe90cd3e80a7530cffdc79f9715':
  Add WebVTT caption renderer
2013-09-09 14:08:14 -07:00
Eric Rowe
f2a24a0672 am 93d71945: Merge "Add PID and application to Java crash printout" into klp-dev
* commit '93d71945d88f38b784de3c12d7ae781e97735582':
  Add PID and application to Java crash printout
2013-09-09 14:08:12 -07:00
Dianne Hackborn
80213addda Merge "Fix issue #10671878: Proc stats needs to remove old data structures" into klp-dev 2013-09-09 20:37:02 +00:00
Alan Viverette
013634cc44 Merge "Add WebVTT caption renderer" into klp-dev 2013-09-09 20:31:14 +00:00
Eric Rowe
93d71945d8 Merge "Add PID and application to Java crash printout" into klp-dev 2013-09-09 19:57:20 +00:00
Tom O'Neill
a849dd6214 am fb75487f: Merge "Explain what warnIfCallingFromSystemProcess() is about" into klp-dev
* commit 'fb75487f8af748feb83ce3116c4d6dcc4e819027':
  Explain what warnIfCallingFromSystemProcess() is about
2013-09-09 12:44:00 -07:00
Tom O'Neill
fb75487f8a Merge "Explain what warnIfCallingFromSystemProcess() is about" into klp-dev 2013-09-09 19:41:25 +00:00
Eric Rowe
35980b2cf5 Add PID and application to Java crash printout
Bug: 10568405
Change-Id: I508e89bf7ea58e15a8460099036e270139b2e2a9
2013-09-09 11:40:31 -07:00
Chet Haase
f58ad4ef20 am bbddd49d: Merge "Propagate pivot values of 0 to native layer" into klp-dev
* commit 'bbddd49d6dc1b72dc81d4bb0033dea578066853e':
  Propagate pivot values of 0 to native layer
2013-09-09 10:37:56 -07:00
Chet Haase
4f38f7a937 am b44ab987: Merge "TextChange transition now uses CharSequence instead of String" into klp-dev
* commit 'b44ab9872a0b6d325a38c79dfcae81ff5fc8622e':
  TextChange transition now uses CharSequence instead of String
2013-09-09 10:37:53 -07:00
Chet Haase
bbddd49d6d Merge "Propagate pivot values of 0 to native layer" into klp-dev 2013-09-09 17:36:48 +00:00
Chet Haase
b44ab9872a Merge "TextChange transition now uses CharSequence instead of String" into klp-dev 2013-09-09 17:36:13 +00:00
Alan Viverette
1519a1588a am 23f31a1c: Merge "Only activate FastScroller when it\'s needed" into klp-dev
* commit '23f31a1c4ed313790921427df82f36960d9e9706':
  Only activate FastScroller when it's needed
2013-09-09 10:27:42 -07:00
Alan Viverette
109753dd83 am 498301d8: Merge "Add drag-to-open for action bar submenus" into klp-dev
* commit '498301d8b554f3806ddb01acd2ea98c27132a0e2':
  Add drag-to-open for action bar submenus
2013-09-09 10:27:37 -07:00
Alan Viverette
23f31a1c4e Merge "Only activate FastScroller when it's needed" into klp-dev 2013-09-09 17:24:32 +00:00
Alan Viverette
498301d8b5 Merge "Add drag-to-open for action bar submenus" into klp-dev 2013-09-09 17:24:05 +00:00
Jeff Sharkey
7c4f14924e am 30590646: Merge "Remember mode and sort on per-directory basis." into klp-dev
* commit '30590646d6846a4db76d416c70ee68a3f9f359b5':
  Remember mode and sort on per-directory basis.
2013-09-09 10:06:37 -07:00
Jeff Sharkey
30590646d6 Merge "Remember mode and sort on per-directory basis." into klp-dev 2013-09-09 17:04:47 +00:00
Dianne Hackborn
be4c1d74a7 Fix issue #10671878: Proc stats needs to remove old data structures
We now keep track of which process and service states are actively
in use, and remove any that are not in use during a commit.  The
activity manager needed to be tweaked to report this data, and ensure
it does not try to operate on one of these structures when not in
use.

Also some other fixes:

- We now keep track of process names associated with services, for
display in the UI.
- Keep track of total run time for each service, also for UI.
- The parceled format is more efficient, not storing duplicates of
process/package names, and writing times as ints when possible.
- Reduced commit period from 1 day to 12 hours, so that our UI can
be a little closer at its attempt to display the stats over 1 day.

Change-Id: Ifeda0ffe963a7b49d8eb2a3f6923f3a5e71a4e43
2013-09-09 09:49:52 -07:00
Amith Yamasani
f0f7913152 am 910adb11: Merge "Throw an exception if isValidFragment is not overridden for KK targets" into klp-dev
* commit '910adb11abc84bf4a113ac130c3998082cc84294':
  Throw an exception if isValidFragment is not overridden for KK targets
2013-09-09 09:45:10 -07:00
Amith Yamasani
910adb11ab Merge "Throw an exception if isValidFragment is not overridden for KK targets" into klp-dev 2013-09-09 16:43:16 +00:00
Tom O'Neill
365632e8ee Explain what warnIfCallingFromSystemProcess() is about
- Helps the next person to hit a bug like b/10621831

Change-Id: Id44dc57472516ec5f574d22d4c131ab9870648db
2013-09-09 09:34:58 -07:00
Jeff Sharkey
d182bb641f Remember mode and sort on per-directory basis.
Persist the last user-selected list/grid mode and sort order for
each directory.  Remembered user choice always overrides provider
hinting.

Filter out recent documents that don't match requested MIME type, and
show recents in grid mode when picking images.  Hide mode and sort
order in recents.

Add hinting flag for backend to indicate a directory would like to be
sorted by last modified.  Include explicit root in DocumentStack and
clearly mark derived fields.

Bug: 10392047, 10608506
Change-Id: I2dd3a0e4112852ebf87e7dbb08b3781c86587dcf
2013-09-09 09:16:09 -07:00
Chet Haase
183e2a351d Propagate pivot values of 0 to native layer
Logic in pivotXY setters noops when the new value equals
the previous value. However, the initial value is "0" even
though we actually use a value of the view's midpoint by
default. If an app sets a new value of 0, we don't send it
down to the native layer because it's the same as the initial
value, even though we're actually using a midpoint value instead.
This causes a conflict between the matrix used for invalidations
(which use the actual values the app set) and the matrix used
for rendering (which uses the default midpoint values).

The fix is to make sure we send down the initial value, even when it
equals the default value, by checking to see whether this is the
first time we're setting the pivot.

Issue #9337635 Clipping and bad rendering of view corners when y pivot is set

Change-Id: I4aa20c4a3c9a866ca17df3e067232b832d0ef504
2013-09-09 08:39:35 -07:00
Dianne Hackborn
ab98aec612 am 4b989781: Merge "Work on issue #10130785: Restore silence and vibrate settings..." into klp-dev
* commit '4b98978157295c6e7ea21b70ffcf9edffc41f0e1':
  Work on issue #10130785: Restore silence and vibrate settings...
2013-09-08 12:33:48 -07:00
Dianne Hackborn
4b98978157 Merge "Work on issue #10130785: Restore silence and vibrate settings..." into klp-dev 2013-09-08 19:31:06 +00:00
Svetoslav Ganov
d8adcd219d am c7222124: Merge "Printers for a disappearing print serivce incorrectly removed." into klp-dev
* commit 'c72221242e560b4176e6fb9e3eec1c32cc1b96c3':
  Printers for a disappearing print serivce incorrectly removed.
2013-09-07 15:07:09 -07:00
Svetoslav Ganov
c72221242e Merge "Printers for a disappearing print serivce incorrectly removed." into klp-dev 2013-09-07 22:05:14 +00:00
Ying Wang
4700175a26 am d57de6af: Fix docs build.
* commit 'd57de6afb8981dc1663d41a842ab7cdae93427a1':
  Fix docs build.
2013-09-06 22:59:40 -07:00
Ying Wang
d57de6afb8 Fix docs build.
Change-Id: I6fd0d711b2cc7726fdaa9119ee467ed6fab82de1
2013-09-06 22:53:16 -07:00
Alan Viverette
b9f2722f6f Only activate FastScroller when it's needed
Removes code that was incorrectly handling ACTION_DOWN when the
host ListView started intercepting events for its own use. Fixes
handling of short lists and changes resulting from toggling the
FastScroller enabled state.

BUG: 10651874
Change-Id: I7b088b46d00a372a0a55291db892cc059f1aed20
2013-09-06 19:39:47 -07:00
Michael Wright
8091f2262f am edaf6af1: Merge "Remove tap to click from touch nav devices" into klp-dev
* commit 'edaf6af16a5c33557a9c4ed00f9bebdac0dd83aa':
  Remove tap to click from touch nav devices
2013-09-06 19:05:47 -07:00
Michael Wright
d13fa0018b am 7b4f60de: Merge "Special case game controller fallback keys for Japan" into klp-dev
* commit '7b4f60deb2819496733c0c85c57c6236900fe0c2':
  Special case game controller fallback keys for Japan
2013-09-06 19:05:44 -07:00
Michael Wright
edaf6af16a Merge "Remove tap to click from touch nav devices" into klp-dev 2013-09-07 02:04:46 +00:00
Michael Wright
7b4f60deb2 Merge "Special case game controller fallback keys for Japan" into klp-dev 2013-09-07 02:04:20 +00:00
Jeff Brown
cbf2b02d6c am 23a5f44c: Merge "Fix native crash when message queue quits." into klp-dev
* commit '23a5f44c5a306b4a70821722a697da55cc3c5db8':
  Fix native crash when message queue quits.
2013-09-06 18:39:09 -07:00
Jeff Brown
23a5f44c5a Merge "Fix native crash when message queue quits." into klp-dev 2013-09-07 01:34:52 +00:00
Sandeep Siddhartha
ea6c0bcd6b am 1cf2b91f: Merge "Fixing build break" into klp-dev
* commit '1cf2b91fe533d9e50bce6e5551ae26bccdb4a965':
  Fixing build break
2013-09-06 18:13:44 -07:00
Jeff Brown
013cf847bc Fix native crash when message queue quits.
Fix a race when quitting the looper's message queue that could
cause the mPtr field to be zeroed out and the native object to
be destroyed while still in use.

This happened due to an optimization that was intended to release
the native looper's file descriptor as soon as the last message
was processed rather than waiting for the finalizer to run.

Bug: 9726217
Change-Id: I695a9a657acfdb3ce65a5737ff20cd11113d15fa
2013-09-06 18:07:12 -07:00
Alan Viverette
d43daf361e Add WebVTT caption renderer
Currently missing support for region anchor points, robust layout
when snapping to lines, and vertical text.

BUG: 10260603
Change-Id: I3463b4aa0039442159144e66922d67f5dfee58ed
2013-09-06 18:06:23 -07:00
Sandeep Siddhartha
05203c1e4b Fixing build break
Change-Id: I89d1416b356423ee795f01b4c3200bcaa3ec8389
2013-09-06 18:04:48 -07:00
Chet Haase
2a83181bd1 TextChange transition now uses CharSequence instead of String
TextChange made a bad assumption that target text views contained
String objects as their text, which is not always the case. For example,
Gmail ActionBar text views may contain SpannableString objects, which
caused a crash due to a bad cast operation.

Fix is to simply use CharSequence instead of String as the value that
is being stored and set on the text view.

Issue #10651858 TextChange transition casts CharSequence to String when not necessarily safe

Change-Id: I3f67f5d5e39201dc0fd2edcd3e4243033cf9ae08
2013-09-06 17:26:43 -07:00
Dianne Hackborn
38ed2a471a Work on issue #10130785: Restore silence and vibrate settings...
...in settings > sound

Add a new ContentProvider API to canonicalize URIs, so they can
be transported across backup/restore.

Change-Id: Ie5af3662f6822a32310e49c7f1e1ff084986c56e
2013-09-06 16:39:59 -07:00
Robert Greenwalt
9234e15d8d am ecd0db5a: Merge "Setting MTU size for specific network." into klp-dev
* commit 'ecd0db5a7391e8234b3ea5d9e21c19f5d6589b0a':
  Setting MTU size for specific network.
2013-09-06 15:44:24 -07:00
Robert Greenwalt
ecd0db5a73 Merge "Setting MTU size for specific network." into klp-dev 2013-09-06 22:42:10 +00:00
Aravind Akella
3d6aa9587d am fcf5809a: Merge "Sensor batching APIs for review." into klp-dev
* commit 'fcf5809ad43669c2e765aa093a8356959469fd9c':
  Sensor batching APIs for review.
2013-09-06 15:37:16 -07:00
Aravind Akella
fcf5809ad4 Merge "Sensor batching APIs for review." into klp-dev 2013-09-06 22:30:19 +00:00
Dianne Hackborn
b6459eb25f am 3e1fdd9e: Merge "Implement issue #10550827: watching gpu memory for occam_svelte" into klp-dev
* commit '3e1fdd9ed02f95fd2dfefc36b34754f2ede1a2af':
  Implement issue #10550827: watching gpu memory for occam_svelte
2013-09-06 15:28:23 -07:00
sy.yun
9d9b74a900 Setting MTU size for specific network.
Able to config network specific MTU size. Normally, the default size of MTU is 1500.
 US - ATT 1410, TMUS 1440, SPRINT 1422
 KR - SKT 1440, KT 1450, LGU+ 1428
 JP - KDDI 1420, SoftBank 1340
 CA - RGS 1430, FIDO 1430, MTS 1430, BELL 1358, SaskTel 1358
 AU - TEL 1400

Bug: 10195070
Change-Id: Ie18650b37a3d44af944f2dae4aa97c04fb12cd5e
2013-09-06 15:26:19 -07:00