Commit Graph

19225 Commits

Author SHA1 Message Date
Scott Main
b13ae138a3 am e187d814: Merge "docs: fix markup in javadocs Change-Id: I1f9be842f40c813134fbcd5fdbbead5647fb72e5"
* commit 'e187d8148a07de282e907eeeb4b33a8b38653e84':
  docs: fix markup in javadocs Change-Id: I1f9be842f40c813134fbcd5fdbbead5647fb72e5
2011-09-26 21:57:10 -07:00
Scott Main
e187d8148a Merge "docs: fix markup in javadocs Change-Id: I1f9be842f40c813134fbcd5fdbbead5647fb72e5" 2011-09-26 21:55:24 -07:00
Scott Main
4510705b28 docs: fix markup in javadocs
Change-Id: I1f9be842f40c813134fbcd5fdbbead5647fb72e5
2011-09-26 21:53:24 -07:00
Fabrice Di Meglio
b29da57694 am 3a6c2e98: am a200a23a: Merge "Bug 5332065: IOOB in case the suggestionSpan has been removed" into ics-factoryrom
* commit '3a6c2e985534aeaef04661e2875a8745022c334a':
  Bug 5332065: IOOB in case the suggestionSpan has been removed
2011-09-26 20:42:49 -07:00
Fabrice Di Meglio
3a6c2e9855 am a200a23a: Merge "Bug 5332065: IOOB in case the suggestionSpan has been removed" into ics-factoryrom
* commit 'a200a23af10dfcbbe46d10e868c2eae9f2c794a4':
  Bug 5332065: IOOB in case the suggestionSpan has been removed
2011-09-26 20:40:54 -07:00
Jeff Sharkey
516e760ffa am ba8dea03: Merge "Overlay to configure data usage network types."
* commit 'ba8dea03f3494abf87885469d53634d416bc860a':
  Overlay to configure data usage network types.
2011-09-26 19:17:09 -07:00
Gilles Debunne
14ed50a9a3 Bug 5332065: IOOB in case the suggestionSpan has been removed
I don't understand how the SuggSpan that has been tapped to display
the popup can have disappeared when an item is clicked.

This problem seems specific to monkey test with a race condition somewhere.

Change-Id: I447b6563a1b959dc3c1ead31cde2d9bcad369765
2011-09-26 15:59:24 -07:00
Jeff Sharkey
ba8dea03f3 Merge "Overlay to configure data usage network types." 2011-09-26 15:34:06 -07:00
Chet Haase
63c3ffac6b am f425ca97: Merge "Fix display list issue that was crashing an external app."
* commit 'f425ca9772d5f722fc9a2569b474eb880fd89569':
  Fix display list issue that was crashing an external app.
2011-09-26 14:48:20 -07:00
Chet Haase
f425ca9772 Merge "Fix display list issue that was crashing an external app." 2011-09-26 14:46:19 -07:00
Chet Haase
6e6db61809 Fix display list issue that was crashing an external app.
The app was removing a View whilst in its onDraw() method. This meant
that we asked it for its display list and it invalidated that display list
(by removing itself) before it returned from onDraw(). We later attempted to
draw that invalid display list into its parent nad died in native code.

The fix is to check the state of the display list after the call to getDisplayList()
and to avoid doing further work with it if it's invalid.

Change-Id: I14a342b4fe79c8dce2626ff61237b447040e7f42
2011-09-26 14:32:26 -07:00
Gilles Debunne
a61fd5eb71 am 52edaa9c: Merge "Bug 5250788: TextView gets slower as the text length grows"
* commit '52edaa9cfb612bd20b0f718dc95e576f55d9367e':
  Bug 5250788: TextView gets slower as the text length grows
2011-09-26 14:20:56 -07:00
Gilles Debunne
52edaa9cfb Merge "Bug 5250788: TextView gets slower as the text length grows" 2011-09-26 14:18:14 -07:00
Fabrice Di Meglio
98db742abc am 8013290d: Merge "Fix bug #5366547 TruncateAt.MARQUEE should be replaces with "two dot" ellipsis on hardware that dont support MARQUEE"
* commit '8013290dd0e9d3eabc3611d7eca47aa50bdceed0':
  Fix bug #5366547 TruncateAt.MARQUEE should be replaces with "two dot" ellipsis on hardware that dont support MARQUEE
2011-09-26 12:19:10 -07:00
Fabrice Di Meglio
4dad016de3 am 8eb34ed8: Merge "Fix bug #5344067 android.text.DynamicLayout.sStaticLayout can hold onto an Activity, potential memory leak"
* commit '8eb34ed88cdc43408bb73a806d6e998782d5c9b9':
  Fix bug #5344067 android.text.DynamicLayout.sStaticLayout can hold onto an Activity, potential memory leak
2011-09-26 12:19:08 -07:00
Fabrice Di Meglio
8013290dd0 Merge "Fix bug #5366547 TruncateAt.MARQUEE should be replaces with "two dot" ellipsis on hardware that dont support MARQUEE" 2011-09-26 12:16:41 -07:00
Fabrice Di Meglio
8eb34ed88c Merge "Fix bug #5344067 android.text.DynamicLayout.sStaticLayout can hold onto an Activity, potential memory leak" 2011-09-26 12:16:30 -07:00
Jeff Sharkey
630a171216 Overlay to configure data usage network types.
Specify which network types should be counted when computing data
usage totals.

Bug: 5361005
Change-Id: I830caed1a29199892d209a692b50f8b3e144cafe
2011-09-26 10:50:30 -07:00
Gilles Debunne
60e10f2494 am ea1c7f3c: Merge "Bug 5248215: Even though I turned off the Spelling correction, it still shows up"
* commit 'ea1c7f3c5175f6e83dddd381b9a809ec52a9320f':
  Bug 5248215: Even though I turned off the Spelling correction, it still shows up
2011-09-26 10:40:27 -07:00
Gilles Debunne
ea1c7f3c51 Merge "Bug 5248215: Even though I turned off the Spelling correction, it still shows up" 2011-09-26 10:38:58 -07:00
Kenny Root
59ad0330ac am 8a663c89: Merge "Allow non-required package verifiers"
* commit '8a663c89a3b5bda4e749a58d0434b130260eabb2':
  Allow non-required package verifiers
2011-09-26 09:55:56 -07:00
Kenny Root
8a663c89a3 Merge "Allow non-required package verifiers" 2011-09-26 09:53:06 -07:00
Steve Block
e0047612e4 am 2cdbe2f1: Merge "Update the error for WebView thread violations to make clear that it\'s not fatal"
* commit '2cdbe2f1cf0157bf49913c46cc806169e0f9ecc6':
  Update the error for WebView thread violations to make clear that it's not fatal
2011-09-26 08:42:29 -07:00
Steve Block
2cdbe2f1cf Merge "Update the error for WebView thread violations to make clear that it's not fatal" 2011-09-26 08:41:09 -07:00
Steve Block
7a01d94c5e Update the error for WebView thread violations to make clear that it's not fatal
- Update the description
- Use Throwable rather than RuntimeException
- Log as a warning rather than an error

Bug: 5313494
Change-Id: If13ce2088e7080122db14e5e0565f64e6d6f4320
2011-09-26 14:59:12 +01:00
Ben Murdoch
409af6c487 am e0b0578a: Merge "Force a WebView pictureset invalidation on screen rotation."
* commit 'e0b0578a1efe6dc3ed259835ce0ceb939a0ecee6':
  Force a WebView pictureset invalidation on screen rotation.
2011-09-26 06:21:07 -07:00
Ben Murdoch
e0b0578a1e Merge "Force a WebView pictureset invalidation on screen rotation." 2011-09-26 06:19:56 -07:00
Jeff Sharkey
b7b79b10fd am 61c0818f: Merge "Watch network subtype, tethering teardown, empty."
* commit '61c0818f2425691e67921ee41ca80e62d2cb9004':
  Watch network subtype, tethering teardown, empty.
2011-09-25 23:46:03 -07:00
Jeff Sharkey
61c0818f24 Merge "Watch network subtype, tethering teardown, empty." 2011-09-25 23:44:10 -07:00
Fabrice Di Meglio
09175735c5 Fix bug #5344067 android.text.DynamicLayout.sStaticLayout can hold onto an Activity, potential memory leak
- make the StaticLayout constructor not depending on the text as we just need the "generate()" call to be done

Change-Id: I65249e65ed6446b6ac13dbf8c8f58fcdf54046cb
2011-09-25 16:48:04 -07:00
Adam Powell
513d200fd0 am 83131db9: Merge "Fix bug 5358705 - Request no full-screen mode of the IME when a SearchView is expanded in an action bar"
* commit '83131db9a8ff490f936c4c962b31c28f67cb7ad0':
  Fix bug 5358705 - Request no full-screen mode of the IME when a SearchView is expanded in an action bar
2011-09-25 14:47:21 -07:00
Fabrice Di Meglio
cb332649e4 Fix bug #5366547 TruncateAt.MARQUEE should be replaces with "two dot" ellipsis on hardware that dont support MARQUEE
- introduce TruncateAt.END_SMALL
- code refactoring for suppressing use of hardcoded constants

Change-Id: I70e24857cd5d6bd012a743cbc0ba46fbd06d5457
2011-09-25 14:39:27 -07:00
Adam Powell
53f56c4f51 Fix bug 5358705 - Request no full-screen mode of the IME when a
SearchView is expanded in an action bar

This is a case where we always know there will be room on screen for
the user to meaningfully use the UI in the absence of full-screen
extract mode. Save the old state and restore it when we go in and out
of expanded action bar mode.

Change-Id: I4ae2c5df4f581c6824e6a1f7ff8d97fd86d8e260
2011-09-25 13:50:57 -07:00
Jeff Brown
c976aec618 am 4c253119: Merge "Prevent unintended rotations. Bug: 4981385"
* commit '4c253119db0ce753e46ec3809b54b9e357d363db':
  Prevent unintended rotations. Bug: 4981385
2011-09-23 18:29:49 -07:00
Jeff Brown
4c253119db Merge "Prevent unintended rotations. Bug: 4981385" 2011-09-23 18:28:01 -07:00
Jeff Brown
c0347aa19f Prevent unintended rotations.
Bug: 4981385

Changed the orientation listener to notify the policy whenever
its proposed orientation changes, and changes the window manager
to notify the orientation listener when the actual orientation
changes.  This allows us to better handle the case where the
policy has rejected a given proposal at one time (because the
current application forced orientation) but might choose
to accept the same proposal at another time.

It's important that the proposal always be up to date.  A proposal
becomes irrelevant as soon as the phone posture changes such
that we can no longer determine the orientation with confidence
(such as when a device is placed flat on a table).

Simplified the orientation filtering.  Now we just wait 200ms
for the device to be still before issuing a proposal.  The idea
is that if the device is moving around a lot, we assume that
the device is being picked up or put down or otherwise in
the process of being moved.  We don't want to change the rotation
until that's all settled down.  However, we do want to tolerate
a certain amount of environmental noise.

(The previous confidence algorithm was also designed along
these lines but it was less direct about waiting for things
to settle.  Instead it simply made orientation changes take
longer than usual while unsettled, but the extra delay was often
too much or too little.  This one should be easier to tune.)

Change-Id: I09e6befea1f0994b6b15d424f3182859c0d9a530
2011-09-23 17:26:09 -07:00
Kenny Root
05ca4c9064 Allow non-required package verifiers
* Verifiers can be specified in the AndroidManifest.xml

* Those verifiers can respond to the new Intent action

* PackageManager API for those verifiers: verifyPendingInstall

Change-Id: I4892bce2e6984871e6e93c60a1ca0dae145f5df5
2011-09-23 16:03:03 -07:00
Irfan Sheriff
9858a1bc85 am 15bbaeb0: am c21994bc: Merge "Fix watchdog to stop ping after wifi disconnects" into ics-factoryrom
* commit '15bbaeb0753f5336a5e8ee07e6f796657ecefb73':
  Fix watchdog to stop ping after wifi disconnects
2011-09-23 15:22:54 -07:00
Irfan Sheriff
15bbaeb075 am c21994bc: Merge "Fix watchdog to stop ping after wifi disconnects" into ics-factoryrom
* commit 'c21994bc26df959d1a7161e38b4402b7255ea321':
  Fix watchdog to stop ping after wifi disconnects
2011-09-23 15:20:56 -07:00
Fabrice Di Meglio
4e1842c339 am ba7bc591: Merge "Fix bug #5349461 TextView: text that ends with an ImageSpan causes line height to shrink to ImageSpan height"
* commit 'ba7bc591018c7a8a7f5c123f71161b69652f9bde':
  Fix bug #5349461 TextView: text that ends with an ImageSpan causes line height to shrink to ImageSpan height
2011-09-23 15:20:45 -07:00
Irfan Sheriff
c21994bc26 Merge "Fix watchdog to stop ping after wifi disconnects" into ics-factoryrom 2011-09-23 15:18:37 -07:00
Fabrice Di Meglio
ba7bc59101 Merge "Fix bug #5349461 TextView: text that ends with an ImageSpan causes line height to shrink to ImageSpan height" 2011-09-23 15:18:37 -07:00
Dianne Hackborn
0ba3f30655 am a982ad19: Merge "Fix issue #5173952: Opening a Notification From Lock Screen..."
* commit 'a982ad19d2aee54f714fa3ad9ee4ddbac08dc0fe':
  Fix issue #5173952: Opening a Notification From Lock Screen...
2011-09-23 14:56:48 -07:00
Dianne Hackborn
a982ad19d2 Merge "Fix issue #5173952: Opening a Notification From Lock Screen..." 2011-09-23 14:54:26 -07:00
John Reck
76d4fda68c am 6c984bcb: Merge "Add detail to restorePicture deprecation"
* commit '6c984bcb179c74c2fa3c814596792629d1005355':
  Add detail to restorePicture deprecation
2011-09-23 14:50:39 -07:00
John Reck
6c984bcb17 Merge "Add detail to restorePicture deprecation" 2011-09-23 14:48:52 -07:00
Irfan Sheriff
32f04e9009 Fix watchdog to stop ping after wifi disconnects
- The pings are delayed async messages that were getting handled
after a disconnect as well

- Increase poll time to 200 ms, so we block on a receive for 1ms every 200ms for a
sent packet

Bug: 5361564
Change-Id: I1931a1c4146e78a87407d541d8c3934ff8232604
2011-09-23 14:48:26 -07:00
Svetoslav Ganov
88226bf0da am 83a559e7: Merge "Scroll accessibility events should not populate text."
* commit '83a559e78f57703645066c822a1ec7257c06ba56':
  Scroll accessibility events should not populate text.
2011-09-23 14:07:22 -07:00
Amith Yamasani
7583ac63d7 am e7d70563: Merge "Launch nested preferences with the same theme as parent activity."
* commit 'e7d70563839bbf0ce8d548fe7223229ec2ecd635':
  Launch nested preferences with the same theme as parent activity.
2011-09-23 14:07:19 -07:00
Scott Main
2d31058424 am c86bc42c: Merge "docs: a few additions and revisions to action bar docs"
* commit 'c86bc42cb1b910c1150c8f5aa74c1c160c1359e3':
  docs: a few additions and revisions to action bar docs
2011-09-23 14:07:14 -07:00