28138 Commits

Author SHA1 Message Date
Jeff Sharkey
05790a276c am 04876317: Merge "Lock SyncQueue when user starting, copy RSC list." into jb-mr1-dev
* commit '04876317518b89888ee52e68caec26f6061eb621':
  Lock SyncQueue when user starting, copy RSC list.
2012-10-16 13:34:53 -07:00
Jeff Sharkey
0487631751 Merge "Lock SyncQueue when user starting, copy RSC list." into jb-mr1-dev 2012-10-16 13:32:28 -07:00
Jeff Sharkey
a706e2fd00 Lock SyncQueue when user starting, copy RSC list.
Document SyncQueue locking policy and protect in onUserStarting()
and clearAllBackoffs().  Return copy of ServiceInfo list from
RegisteredServicesCache instead of exposing locking externally.

Bug: 7357776, 7352537
Change-Id: I6a32ca98a355b639d4207a88bde572179beae359
2012-10-16 13:27:12 -07:00
Fabrice Di Meglio
d23b26b6fd am b858ecd3: Merge "Fix bug #7345139: The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev
* commit 'b858ecd3a94add574503d4dd21084ad289bc5c27':
  Fix bug #7345139: The First Volume Down Click looses its place on the volume slider
2012-10-16 13:25:51 -07:00
Fabrice Di Meglio
b858ecd3a9 Merge "Fix bug #7345139: The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev 2012-10-16 13:23:37 -07:00
Matthew Xie
8a4dfb9ce8 am a3d5b688: Merge "Add serial port profile support and allow to connect to rfcomm channel without sdp discovery" into jb-mr1-dev
* commit 'a3d5b688cf500f456127f1c2639ed9323ba50e9c':
  Add serial port profile support and allow to connect to rfcomm channel without sdp discovery
2012-10-16 13:00:36 -07:00
Matthew Xie
a3d5b688cf Merge "Add serial port profile support and allow to connect to rfcomm channel without sdp discovery" into jb-mr1-dev 2012-10-16 12:57:53 -07:00
Fabrice Di Meglio
f37df1b6c2 Fix bug #7345139: The First Volume Down Click looses its place on the volume slider
- make SeekBar follow layout direction changes
- also fix onSizeChanged() missing call to super class

Change-Id: Ide036e673c5f104b12e7321648ac027547e04065
2012-10-16 11:38:26 -07:00
Svetoslav Ganov
d46503d508 am 40b7ea44: Merge "Accessibility focus drawing does not take into account view\'s transformation matrix." into jb-mr1-dev
* commit '40b7ea443612213e9c973393658f07c176c3269e':
  Accessibility focus drawing does not take into account view's transformation matrix.
2012-10-16 11:07:12 -07:00
Svetoslav Ganov
40b7ea4436 Merge "Accessibility focus drawing does not take into account view's transformation matrix." into jb-mr1-dev 2012-10-16 11:03:46 -07:00
zzy
b49a896359 Add serial port profile support and allow to connect to rfcomm channel without sdp discovery
bug 7272974

Change-Id: Idc10edc056b48da2fd96bea84eba3fb73b97bab1
2012-10-15 22:30:29 -07:00
Mathias Agopian
dcfe6ceef0 am 6868d6f3: Revert "Revert "Fix for bug 6050753.""
* commit '6868d6f349610c15256471cc3d5fa708cbfd5f1d':
  Revert "Revert "Fix for bug 6050753.""
2012-10-15 20:47:56 -07:00
Mathias Agopian
6868d6f349 Revert "Revert "Fix for bug 6050753.""
Emergency revert -- fix reboot loop.

This reverts commit 8e63bcc63fd002231f8391af8982eeb235d096c8.

Change-Id: I4373b867d756de09cdf6aa0aba9e6ff8f47bcdbc
2012-10-15 20:45:01 -07:00
Jamie Gennis
38041d6b3c am 809bb404: Merge "Flag window animation transactions as animations." into jb-mr1-dev
* commit '809bb404da66498f1723279542d2a7d1f4512052':
  Flag window animation transactions as animations.
2012-10-15 19:54:18 -07:00
Jamie Gennis
809bb404da Merge "Flag window animation transactions as animations." into jb-mr1-dev 2012-10-15 19:52:05 -07:00
Jamie Gennis
b6ce6e42cc Flag window animation transactions as animations.
This change makes WindowManager use the new eAnimation flag when animating
windows.  This prevents some of the window updates from being combined with
updates from prior animation frames.

Bug: 7353840
Change-Id: I5a9f8fa2c1a2f5f08363a45cd9f28bb97cd77080
2012-10-15 19:19:50 -07:00
Svetoslav Ganov
78bd9835eb Accessibility focus drawing does not take into account view's transformation matrix.
1.  We are using the view drawing bounds but did not take into account the transformation
    matrix. This leads to showing ugly artifacts on the launcher's hotseat which is
    pretty much the first thing we see.

2. Updated the documentation of View.getDrawingRect to be more explicit that the
   results does not have the transformation matrix applied.

bug:7354033

Change-Id: Ief2e0ea8da05471d71e215ce4497d94ff6e92d1a
2012-10-15 19:13:29 -07:00
Romain Guy
cb09dba0b8 am 69fbc3c0: Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev
* commit '69fbc3c089e3399ebd94cc3a7ba846f426a7b32d':
  Revert "Fix for bug 6050753."
2012-10-15 18:47:46 -07:00
Romain Guy
8ab33df56b am edefaa25: Merge "Ensure we always request conformant OpenGL ES 2.0 contexts" into jb-mr1-dev
* commit 'edefaa25db7c9cd4facab258a0fd5913c6493bd0':
  Ensure we always request conformant OpenGL ES 2.0 contexts
2012-10-15 18:47:42 -07:00
Romain Guy
69fbc3c089 Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev 2012-10-15 18:45:03 -07:00
Romain Guy
edefaa25db Merge "Ensure we always request conformant OpenGL ES 2.0 contexts" into jb-mr1-dev 2012-10-15 18:43:59 -07:00
Raph Levien
b9e224ccb5 am 6f8c1bad: Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev
* commit '6f8c1bad8a7891f50eda2d3d14f774e28b8f8107':
  Fix for bug 7344916 text view flickers when you hit enter
2012-10-15 18:25:13 -07:00
Raph Levien
6f8c1bad8a Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev 2012-10-15 18:19:50 -07:00
Romain Guy
8efca54693 Ensure we always request conformant OpenGL ES 2.0 contexts
Change-Id: I6b9d6f2dace02ad28baef6811007302b8e552a54
2012-10-15 18:09:49 -07:00
Raph Levien
f5c1a8798f Fix for bug 7344916 text view flickers when you hit enter
The flickering was caused by trying to scroll to the cursor position
while the view was in an inconsistent state (text updated to change the
number of lines, but layout not done yet). This patch defers the actual
setting of the cursor until layout is done, when layout is pending.

Change-Id: I8ed3a402beb8058ac7a7f3935afeb946a23308ab
2012-10-15 17:22:26 -07:00
Romain Guy
807e4375e9 am f2e28abb: Merge "Update javadoc" into jb-mr1-dev
* commit 'f2e28abb1375c5ca513eac9dcde5c349f771de0f':
  Update javadoc
2012-10-15 14:22:20 -07:00
Romain Guy
f2e28abb13 Merge "Update javadoc" into jb-mr1-dev 2012-10-15 14:19:29 -07:00
Jeff Sharkey
ec8d1280ac am 532c9c45: Merge "Protect more service dump() methods." into jb-mr1-dev
* commit '532c9c4543135463ee1f39b282d3156a3e226d50':
  Protect more service dump() methods.
2012-10-15 14:03:53 -07:00
Romain Guy
8e63bcc63f Revert "Fix for bug 6050753."
This reverts commit c29f031598811486d83f418fd08fbfe1fc41788a.
2012-10-15 13:24:58 -07:00
Romain Guy
edc9005289 Update javadoc
Some View.post*() methods can be invoked from arbitrary thread
independently of whether the View is attached to a window.

Change-Id: I587b5909ab8b06665978d001548d56c8c22043c1
2012-10-15 12:31:57 -07:00
Jeff Sharkey
52801aae89 Protect more service dump() methods.
Bug: 6406965
Change-Id: Ia45a580c1e6f403308e7e540f18f2c0505af0f29
2012-10-15 10:59:51 -07:00
Chris Wren
5d0a560ca4 am 4a01f2b5: Merge "delay onDreamingStarted() to work around asynchrony." into jb-mr1-dev
* commit '4a01f2b5dcb5bcb72358905db402731013195cfd':
  delay onDreamingStarted() to work around asynchrony.
2012-10-15 09:08:17 -07:00
Chris Wren
4a01f2b5dc Merge "delay onDreamingStarted() to work around asynchrony." into jb-mr1-dev 2012-10-15 09:06:37 -07:00
Fabrice Di Meglio
b65b5133e7 am f9307c5c: Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev
* commit 'f9307c5c00bd3e8338bd478fec67a0190d515558':
  Fix bug #7334966 Padding is still broken in RTL languages
2012-10-12 18:28:33 -07:00
Fabrice Di Meglio
f9307c5c00 Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev 2012-10-12 18:25:55 -07:00
Guang Zhu
d3036f7e89 am d4805af6: Merge "use BufferedInputStream in readTextFile" into jb-mr1-dev
* commit 'd4805af6163b6873abbf628f6672a2188e24ef3c':
  use BufferedInputStream in readTextFile
2012-10-12 16:32:47 -07:00
Fabrice Di Meglio
84ebb35f39 Fix bug #7334966 Padding is still broken in RTL languages
- do correct resolution and reset propagation for all RTL properties (padding and drawables included)
- fix CheckedTextView padding too

Change-Id: Ie603683a2324b2a6ef2c03633d01d5726c883b90
2012-10-12 15:54:10 -07:00
Guang Zhu
90619816d9 use BufferedInputStream in readTextFile
With FileInputStream, using assumption of bytes read (as
returned by read function) not matching buffer size as EOF is
not correct, we hit this when reading from /proc in some cases.

BufferedInputStream's behavior matches that assumption due to
its implementation.

Bug: 7342759
Change-Id: Ibb06dbe1fbe33f6f880524f7555ff5542889ea50
2012-10-12 15:50:44 -07:00
Chris Wren
f434d23a16 delay onDreamingStarted() to work around asynchrony.
Bug: 7328682
Change-Id: I86144b0b34eade332543244bb3aff5f9695ff7f7
2012-10-12 18:37:02 -04:00
Jeff Sharkey
92eed99c09 am 95cccb9d: Merge "Make all lockscreen widgets follow haptic flag." into jb-mr1-dev
* commit '95cccb9d6175cb80d9312fadbe40cf7c4ec9f949':
  Make all lockscreen widgets follow haptic flag.
2012-10-12 15:02:17 -07:00
Jeff Sharkey
95cccb9d61 Merge "Make all lockscreen widgets follow haptic flag." into jb-mr1-dev 2012-10-12 14:59:30 -07:00
Jeff Sharkey
723a725e79 Make all lockscreen widgets follow haptic flag.
Bug: 7337006
Change-Id: I782e498b7528e612c4b06a75b77f5521c951cbd6
2012-10-12 14:26:31 -07:00
Charles Chen
e228b5b920 am 4c38e24a: Merge "Don\'t alter accessibility JS APIs unless a page is about to load." into jb-mr1-dev
* commit '4c38e24afb0fe68d6e9f6e924e6426808be2611a':
  Don't alter accessibility JS APIs unless a page is about to load.
2012-10-12 13:49:39 -07:00
Charles Chen
4c38e24afb Merge "Don't alter accessibility JS APIs unless a page is about to load." into jb-mr1-dev 2012-10-12 13:46:09 -07:00
Amith Yamasani
bede7587df am fe49af26: Merge "Temporarily disable multiuser for specific builds" into jb-mr1-dev
* commit 'fe49af266ea09bb83438c7694051bc950c5c7437':
  Temporarily disable multiuser for specific builds
2012-10-12 13:15:18 -07:00
Amith Yamasani
fe49af266e Merge "Temporarily disable multiuser for specific builds" into jb-mr1-dev 2012-10-12 13:13:25 -07:00
Amith Yamasani
ff54920ed2 Temporarily disable multiuser for specific builds
Enable switching through power menu for other builds

Change-Id: I0bd8450583e078b0a83fb639337427ab84db5ab8
2012-10-12 12:44:49 -07:00
alanv
03e636f33d Don't alter accessibility JS APIs unless a page is about to load.
Previously we were adding and removing the APIs on window attach and
detach, but a page's life cycle is not related to attach/detach. This
patch also ensures that ChromeVox is not null before calling. Includes
formatting fixes and extra comments in the waitForResultTimedLocked
method to improve readability. Fixes parsing of integer resultId, which
was being parsed using Long.

Bug: 7328348
Change-Id: I6b81a8e4d8209f8e99419da9b8250abe57e25048
2012-10-12 11:42:37 -07:00
Fabrice Di Meglio
a1d72e15f6 am 6ffbe600: Merge "Fix bug #7325609 FragmentBreadCrumbs should be RTL-aware" into jb-mr1-dev
* commit '6ffbe600696396a0444f20f61223923146e9520b':
  Fix bug #7325609 FragmentBreadCrumbs should be RTL-aware
2012-10-12 11:42:17 -07:00
Fabrice Di Meglio
6ffbe60069 Merge "Fix bug #7325609 FragmentBreadCrumbs should be RTL-aware" into jb-mr1-dev 2012-10-12 11:39:23 -07:00