Commit Graph

19564 Commits

Author SHA1 Message Date
Jeff Brown
5ae0810722 am 48731318: Merge "Always log StrictMode violations on ENG builds."
* commit '4873131858a78708d42ffbdae0753c1bcd04d46f':
  Always log StrictMode violations on ENG builds.
2011-10-10 11:51:34 -07:00
Jeff Brown
10628ccc66 am 222b92a7: Merge "Implement CloseGuard in ContentResolver."
* commit '222b92a7322346e544188ca040bef1e27ab2b71a':
  Implement CloseGuard in ContentResolver.
2011-10-10 11:51:33 -07:00
Jeff Brown
f2569eeee3 am 326e8748: Merge "Clean up handrolled Binder proxies. Bug: 5332296"
* commit '326e8748f082f3c794fcfcd7c87c688a0564a964':
  Clean up handrolled Binder proxies. Bug: 5332296
2011-10-10 11:51:32 -07:00
Jeff Brown
4873131858 Merge "Always log StrictMode violations on ENG builds." 2011-10-10 11:48:53 -07:00
Jeff Brown
222b92a732 Merge "Implement CloseGuard in ContentResolver." 2011-10-10 11:48:49 -07:00
Jeff Brown
326e8748f0 Merge "Clean up handrolled Binder proxies. Bug: 5332296" 2011-10-10 11:48:39 -07:00
Gilles Debunne
69b36766b8 am 59ba2b2f: Merge "Bug 5250788: LatinIME slows down as amount of Text increases"
* commit '59ba2b2fabf91af7685f3c00eea7fc155d05f1fc':
  Bug 5250788: LatinIME slows down as amount of Text increases
2011-10-10 10:56:02 -07:00
Gilles Debunne
59ba2b2fab Merge "Bug 5250788: LatinIME slows down as amount of Text increases" 2011-10-10 10:54:51 -07:00
Steve Block
17283fbfac am b19c7878: Improve documentation for WebView.loadUrl() to specify charset
* commit 'b19c7878cc48746b7dda7ebdf1c85f6a7e6996a3':
  Improve documentation for WebView.loadUrl() to specify charset
2011-10-10 09:05:16 -07:00
Steve Block
b19c7878cc Improve documentation for WebView.loadUrl() to specify charset
Bug: 5435233
Change-Id: I69a8e0c551b58f284cfa95dccfc0ea49b0bbf05f
2011-10-10 16:57:05 +01:00
satok
e3e608cb4c am bdb3df82: Merge "Add a hidden flag for the auto correction indicator in SuggestionSpan"
* commit 'bdb3df82bb800de6f86de6b5bb2a4d29e09b3383':
  Add a hidden flag for the auto correction indicator in SuggestionSpan
2011-10-10 01:16:19 -07:00
satok
bdb3df82bb Merge "Add a hidden flag for the auto correction indicator in SuggestionSpan" 2011-10-10 01:08:27 -07:00
satok
9ca4b4377c Add a hidden flag for the auto correction indicator in SuggestionSpan
Bug: 5245468

Change-Id: Ic111554da86fefd47dd9a26c1bd41e4ee57dc552
2011-10-10 16:38:33 +09:00
Dianne Hackborn
d1270cee86 am f6497e45: Merge "Calling close() outside of the main thread breaks stuff."
* commit 'f6497e45fae88788b1c67d815458355a1f2f65b5':
  Calling close() outside of the main thread breaks stuff.
2011-10-09 17:16:15 -07:00
Dianne Hackborn
f6497e45fa Merge "Calling close() outside of the main thread breaks stuff." 2011-10-09 17:14:49 -07:00
Jeff Sharkey
1825da11a9 am d78a38ca: Merge "Move battery stats to xt_qtaguid for data stats."
* commit 'd78a38cae2f041629326d475333f43fd81ae4137':
  Move battery stats to xt_qtaguid for data stats.
2011-10-09 17:10:15 -07:00
Jeff Sharkey
d78a38cae2 Merge "Move battery stats to xt_qtaguid for data stats." 2011-10-09 17:08:23 -07:00
Dianne Hackborn
229edbc38d Calling close() outside of the main thread breaks stuff.
Too dangerous to fix at this point.

Change-Id: I7de5bfecd757fbae635b02c2c2d9ba7ce3bcb435
2011-10-09 16:01:40 -07:00
Jeff Brown
d5875d98f0 Always log StrictMode violations on ENG builds.
The drop-box is too quiet and it masking real problems from
developers.  On ENG builds, use both logging and the drop-box
to ensure that problems are noticed promptly.

Change-Id: Id8fb8d392a7e01b532b73cb1a026b0d1f17af742
2011-10-09 15:01:11 -07:00
Jeff Brown
baaf8c3f55 Implement CloseGuard in ContentResolver.
Also, don't try to close the cursor from the finalizer,
it just won't work because quite probably the Binder underneath
it has already been finalized or is about to be.

Change-Id: I6363cd30f32abe15412948d126e0bcc5f62943c5
2011-10-09 15:01:10 -07:00
Dianne Hackborn
59ce1f3d7c am 43ee0ab8: Fix issue #5433910: RTE while adding an account from settings
* commit '43ee0ab8777632cf171b598153fc2c427586d332':
  Fix issue #5433910: RTE while adding an account from settings
2011-10-09 14:24:39 -07:00
Dianne Hackborn
43ee0ab877 Fix issue #5433910: RTE while adding an account from settings
Make the new marshalling/unmarshalling code for the long sparse
array of ints always consistent.

And sane.

Change-Id: Ifbfbe6e56f59e469acb66257c504b1168d6566fa
2011-10-09 14:11:05 -07:00
Jeff Sharkey
1059c3c30a Move battery stats to xt_qtaguid for data stats.
Replace TrafficStats calls by reading values from xt_qtaguid kernel
module. To keep BatteryStatsImpl changes lightweight, cache recently
parsed stats. Tracks mobile ifaces from ConnectivityService.

Refactor xt_qtaguid parsing into factory outside of NMS. Add stats
grouping based on UID, and total based on limiting filters like iface
prefix and UID.

Bug: 4902271
Change-Id: I533f116c434b77f93355bf95b839e7478528505b
2011-10-09 13:49:08 -07:00
Dianne Hackborn
e74f480bd1 am 421fa274: Fix issue #5418999: [From My Phone] - ANR when navigating back from OneUp view
* commit '421fa2744556d6483007bc2a6a1e4030811142f9':
  Fix issue #5418999: [From My Phone] - ANR when navigating back from OneUp view
2011-10-09 13:13:36 -07:00
Jeff Brown
df6611d8c0 Clean up handrolled Binder proxies.
Bug: 5332296

We can't replace these with AIDL generated proxies just yet, but
at least we can make them a little more conformant.

Change-Id: I1814f76d0f9c5e44a7fd85a12b2e3c2b7e3c9daa
2011-10-09 13:00:35 -07:00
Dianne Hackborn
421fa27445 Fix issue #5418999: [From My Phone] - ANR when navigating back from OneUp view
Close cursors asynchronously.

Change-Id: I32c106d26c0443710789344bf823c288eaf31db5
2011-10-09 12:50:45 -07:00
Costin Manolache
db582d17a2 am 6d288bd2: Merge "b/5399355 StringIndexOutOfBoundsException from AccountManagerService"
* commit '6d288bd2f3596ce268a3a3278f005d8757c79d63':
  b/5399355 StringIndexOutOfBoundsException from AccountManagerService
2011-10-07 17:56:05 -07:00
Costin Manolache
6d288bd2f3 Merge "b/5399355 StringIndexOutOfBoundsException from AccountManagerService" 2011-10-07 17:54:05 -07:00
Dianne Hackborn
be870e81e8 am ba8ecd20: Merge "Fix how we hide and show the nav bar."
* commit 'ba8ecd206cc6f175767f952d380c88f70ece04cf':
  Fix how we hide and show the nav bar.
2011-10-07 15:14:55 -07:00
Dianne Hackborn
ba8ecd206c Merge "Fix how we hide and show the nav bar." 2011-10-07 15:12:17 -07:00
Jeff Brown
f27eeeb28b am 270928bd: Merge changes Idbfeb3cc,I03e8e2e7,Iff9eed78
* commit '270928bd4a1db1dc0d989f4e9897a81ab865e30e':
  Fix regression in CursorWindow.getString() Bug: 5332296
  Clean up CursorWindow lifetime. Bug: 5332296
  Fix regression in CursorWindow.copyStingToBuffer. Bug: 5332296
2011-10-07 15:09:29 -07:00
Michael Kolb
d4fd84dabc am b762d1e5: Merge "Handle audio focus in HTML5 audio"
* commit 'b762d1e5eaae9f04f1141feaa402e3f8939d28cc':
  Handle audio focus in HTML5 audio
2011-10-07 15:09:24 -07:00
Jeff Brown
270928bd4a Merge changes Idbfeb3cc,I03e8e2e7,Iff9eed78
* changes:
  Fix regression in CursorWindow.getString() Bug: 5332296
  Clean up CursorWindow lifetime. Bug: 5332296
  Fix regression in CursorWindow.copyStingToBuffer. Bug: 5332296
2011-10-07 15:08:24 -07:00
Michael Kolb
b762d1e5ea Merge "Handle audio focus in HTML5 audio" 2011-10-07 15:07:29 -07:00
Dianne Hackborn
df89e65bf0 Fix how we hide and show the nav bar.
The PhoneWindowManager is now responsible for hiding and showing
the nav bar.

For hiding, it just moves it off the screen (easy way to get a
nice slide animation on and off).  At the same time, we use a
new WM facility to put up a fake input window to capture all
touch events.

When a touch event is received, we force the system UI to clear
the navigation hiding bit so it will be shown again.

This removes a bunch of code from the system UI for hiding and
showing the nav bar.  Also removes the code calling from userActivity()
to the system UI, which was bad.  (Also no longer using userActivity()
fixes bugs around re-showing the nav bar due to key presses and
other wrong things.)

Change-Id: I8c3174873b5bcaa36a92322a51e8f7993e88e551
2011-10-07 14:32:01 -07:00
Michael Kolb
889453b892 Handle audio focus in HTML5 audio
Bug: 5416191

    Video will follow later

Change-Id: I51da05aa0e3c8c0f33151df84d84a65cb7003080
2011-10-07 14:22:29 -07:00
Christopher Tate
b317fde4a1 am e47b89ca: Merge "Fix wallpaper restore"
* commit 'e47b89cabe38bb0a711c3b2a87be9696c7a1f074':
  Fix wallpaper restore
2011-10-07 13:38:37 -07:00
Christopher Tate
e47b89cabe Merge "Fix wallpaper restore" 2011-10-07 13:36:09 -07:00
Jeff Brown
7ce745248d Clean up CursorWindow lifetime.
Bug: 5332296

Removed dead code in SQLiteCursor related to the use of a background
query thread.  This code could result in CursorWindows being modified
concurrently or used after free.  This code is broken, unused and
is just in the way.

Added comments to explain how CursorWindow ownership is
supposed to work for AbstractWindowedCursors.  (There are still cases
where cursor windows get dropped on the floor without being closed.
Those will be taken care of in a subsequent patch.)

Cleaned up SQLiteQuery.fillWindow to eliminate duplicate code and
remove bits that were only needed for background loading, like
returning -1.

Change-Id: I03e8e2e73ff0c11df76d63f57df4c5ada06ae1cb
2011-10-07 13:31:00 -07:00
John Reck
4a1ad5c1ea am 25d888b5: Merge "Fix calc visible to account for action bar"
* commit '25d888b5ff23acf1a9d41bef3e74ee897baf5ad7':
  Fix calc visible to account for action bar
2011-10-07 13:28:33 -07:00
Matthew Xie
035d25170d am cf6bc99b: Merge "Turn off debug messge"
* commit 'cf6bc99b97d398c13bbf7a2d8656670f197d8220':
  Turn off debug messge
2011-10-07 13:28:27 -07:00
Gilles Debunne
287d6c6e12 Bug 5250788: LatinIME slows down as amount of Text increases
Removed unnecessary CharSequenceIterator and made the WordIterator
work on String instead of CharSequence

Submit words to the spell checker by batches.

Refactored WordIterator to make it intrinsically local.

Change-Id: Ie9e30691985a130fa55cd052005ddb22a21761cb
2011-10-07 13:27:52 -07:00
John Reck
25d888b5ff Merge "Fix calc visible to account for action bar" 2011-10-07 13:10:55 -07:00
Matthew Xie
cf6bc99b97 Merge "Turn off debug messge" 2011-10-07 12:57:08 -07:00
Christopher Tate
bf6ee4f509 Fix wallpaper restore
Following a restore of the wallpaper data files, the settingsRestored()
method was binding the new wallpaper by passing null as the component,
because once upon a time that meant just use the configuration that had
just been loaded from the [newly restored] settings filed.  However, at
some point this broke when the load from settings was made a staging
operation, not also the commitment of the changes.

This CL passes the newly-determined component configuration explicitly
to the bind, overriding the product default that may already have been
emplaced by the time the restore happens.

It also turns off the (minor) debugging that had been enabled in
WallpaperBackupHelper while digging into the issue.

Bug 5416839

Change-Id: I963893c236e24c75d10dde75836805295ea42cbb
2011-10-07 12:37:42 -07:00
Adam Powell
3c1d81a1ec am e0f2515b: Merge "Fix bug 5399568 - ListView check states inconsistent after data set change"
* commit 'e0f2515b444ceae20571cbe29e44237d259f54bd':
  Fix bug 5399568 - ListView check states inconsistent after data set change
2011-10-07 11:18:52 -07:00
Adam Powell
e0f2515b44 Merge "Fix bug 5399568 - ListView check states inconsistent after data set change" 2011-10-07 11:16:51 -07:00
Matthew Xie
f0f95112ff Turn off debug messge
Bug 5425619

Change-Id: I7accb88a40604c5b8a8f2323e751a7f8f3cb9da8
2011-10-07 11:15:03 -07:00
Steve Block
3c4b14329f am d8b505d5: Merge "Add WebViewClient.onProceededAfterSslError()"
* commit 'd8b505d50f39a2a8a80eb19578579d1b30762fd2':
  Add WebViewClient.onProceededAfterSslError()
2011-10-07 09:55:25 -07:00
Costin Manolache
85e7279d9c b/5399355 StringIndexOutOfBoundsException from AccountManagerService
Change-Id: I13426a8b57d6fcbc7a43ffd61922439b0fae332c
2011-10-07 09:42:49 -07:00