31947 Commits

Author SHA1 Message Date
Wink Saville
f3110dfc84 When we disconnect shutdown the StateMachine.
Need to stop the StateMachine threads and release
all resources when we disconnect.

bug: 6342470
Change-Id: Ibf7a2ebf4f7ecd667c5d95579e66ecd5086103ea
2012-05-29 12:41:09 -07:00
Wink Saville
bbf30dfd76 Enhance StateMachine Quitting and logging support.
Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.

Rename halting to onHalting.

Add onQuitting

Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.


bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7
2012-05-29 12:40:46 -07:00
Romain Guy
98fd5a5fbc am ed130313: am 94328c30: Merge "Clear bitmap references from display lists as early as possible Bug #6555840" into jb-dev
* commit 'ed1303132912f0d39bcd008c3efbc0422d7433fc':
  Clear bitmap references from display lists as early as possible Bug #6555840
2012-05-24 14:33:53 -07:00
Romain Guy
ed13031329 am 94328c30: Merge "Clear bitmap references from display lists as early as possible Bug #6555840" into jb-dev
* commit '94328c308bc8d283841ac6434d47b4c56389a388':
  Clear bitmap references from display lists as early as possible Bug #6555840
2012-05-24 14:28:22 -07:00
Romain Guy
94328c308b Merge "Clear bitmap references from display lists as early as possible Bug #6555840" into jb-dev 2012-05-24 14:25:44 -07:00
Romain Guy
38c2ece5ce Clear bitmap references from display lists as early as possible
Bug #6555840

Apps like Google+ with large bitmaps displayed in listivews could
run into memory issues because of these references.

Change-Id: I39486bda13ce00c5a3b6481139ad54547506a8b4
2012-05-24 14:20:56 -07:00
Fabrice Di Meglio
c30d1ad8f3 am 07e28d1e: am 0100625b: Merge "Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev
* commit '07e28d1e9bd7373c83cb66d5d9e93ae9af1f090d':
  Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)
2012-05-24 11:13:42 -07:00
George Mount
a893591ff6 am 4f313676: am 222f5613: Merge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev
* commit '4f3136768038398e109a66d393d74858d2754a34':
  Use setCustomSelectActionModeCallback to disallow action bar.
2012-05-24 11:13:25 -07:00
Fabrice Di Meglio
07e28d1e9b am 0100625b: Merge "Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev
* commit '0100625bb316ecbd99873b72756ffba8613c3456':
  Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)
2012-05-24 10:45:54 -07:00
Fabrice Di Meglio
0100625bb3 Merge "Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev 2012-05-24 10:42:23 -07:00
Ben Murdoch
b9fcb1334d resolved conflicts for merge of cde7efde to master
Change-Id: I44433670a897c23b3bd388cbba9cfacf80e3345f
2012-05-24 18:02:56 +01:00
George Mount
4f31367680 am 222f5613: Merge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev
* commit '222f56135026627637e9db4801d6532b1ff16657':
  Use setCustomSelectActionModeCallback to disallow action bar.
2012-05-24 09:56:16 -07:00
George Mount
222f561350 Merge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev 2012-05-24 09:53:17 -07:00
Ben Murdoch
cde7efde0c am a95e9da7: Merge "Make the WebCore thread watchdog opt in." into jb-dev
* commit 'a95e9da760198b06afe0c1bbe828c2f75b52070e':
  Make the WebCore thread watchdog opt in.
2012-05-24 09:33:30 -07:00
Ben Murdoch
a95e9da760 Merge "Make the WebCore thread watchdog opt in." into jb-dev 2012-05-24 09:30:10 -07:00
Brian Colonna
bb05da29e6 am af239b5f: am fd824487: Merge "Fix 6449259: FUL no longer overlaps music controls" into jb-dev
* commit 'af239b5f74ab95a7f373134e5e94fe51317bfa0c':
  Fix 6449259: FUL no longer overlaps music controls
2012-05-24 08:59:54 -07:00
Brian Colonna
af239b5f74 am fd824487: Merge "Fix 6449259: FUL no longer overlaps music controls" into jb-dev
* commit 'fd824487dc2dd3eb386148af9a0618aab9a99c60':
  Fix 6449259: FUL no longer overlaps music controls
2012-05-24 08:55:29 -07:00
Brian Colonna
fd824487dc Merge "Fix 6449259: FUL no longer overlaps music controls" into jb-dev 2012-05-24 08:50:58 -07:00
George Mount
7e9f62ef48 Use setCustomSelectActionModeCallback to disallow action bar.
Bug 5993716
 Use setCustomSelectActionModeCallback rather than
 setLongClickListener to disallow custom action block so
 that long press can bring up the paste window.

Change-Id: I916e77dcea7914c02191f0ecda37cd126318807d
2012-05-24 07:43:27 -07:00
Ben Murdoch
2b5d66824b Make the WebCore thread watchdog opt in.
Add a setting on WebViewCore to control whether we monitor
the responsiveness of the WebCore thread. Default is not
to monitor.

Bug: 6447214
Change-Id: Ia95e5c769d458dcd24ae50660b2f22e93851956f
2012-05-24 13:01:57 +01:00
satok
5284148f28 am 77f79a39: am f927e17a: Use correct spell check locale
* commit '77f79a39c0e6aa540f8204adb39ec6671ee053e7':
  Use correct spell check locale
2012-05-24 01:43:32 -07:00
satok
77f79a39c0 am f927e17a: Use correct spell check locale
* commit 'f927e17ae543b6edeae8200cc86c59c3ee740670':
  Use correct spell check locale
2012-05-24 01:39:35 -07:00
satok
f927e17ae5 Use correct spell check locale
Bug: 6542210
Change-Id: I414aa2321f30e396996d90fb8e90c1dbb3bb7b9e
2012-05-24 16:52:54 +09:00
Adam Powell
b24f0c99d6 am 7c485c38: am 75ac4e84: Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev
* commit '7c485c38045dd5a94f80d7eec05931afafd6579c':
  Fix a bug with deferred position scrolling in lists while data changes are pending
2012-05-23 17:54:55 -07:00
Adam Powell
7c485c3804 am 75ac4e84: Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev
* commit '75ac4e8479a415b4bec657b8f333e38d160b6b3e':
  Fix a bug with deferred position scrolling in lists while data changes are pending
2012-05-23 17:51:15 -07:00
Adam Powell
75ac4e8479 Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev 2012-05-23 17:49:21 -07:00
Adam Powell
161abf3d44 Fix a bug with deferred position scrolling in lists while data changes
are pending

Save the pending position scroll until the data change is actually
serviced before posting it to run. This avoids handler loops on
GONE subtrees or when the view is detached.

Bug 6547649

Change-Id: Iab108cfcb7dd11ece703762d311a5f5985f38c3b
2012-05-23 17:24:27 -07:00
Fabrice Di Meglio
13fe2a5330 Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)
- use an ID instead of a String for StorageVolume description
- use this ID for getting the correct localized version of the description string

Change-Id: I30f3080fce2c889be38bfdf9f5121dffcf8a99e8
2012-05-23 16:38:09 -07:00
Svetoslav Ganov
db120c4dd2 am 1de7af86: am a587b890: Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev
* commit '1de7af86d720accda08df4c5bcf0b55da90f9208':
  ActivityChooser view not handling its removal and relayout properly.
2012-05-23 16:12:15 -07:00
Romain Guy
425f126a0f am a865d7d7: am df3633b3: Merge "Make it harder for apps to mess up ViewGroup\'s internal state Bug #6421288" into jb-dev
* commit 'a865d7d7d3612d99e3b1407793610056c7df163c':
  Make it harder for apps to mess up ViewGroup's internal state Bug #6421288
2012-05-23 16:08:53 -07:00
Svetoslav Ganov
1de7af86d7 am a587b890: Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev
* commit 'a587b890bb0c2f800fe4dfd3267f26366d00d32c':
  ActivityChooser view not handling its removal and relayout properly.
2012-05-23 16:08:49 -07:00
Svetoslav Ganov
a587b890bb Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev 2012-05-23 16:06:47 -07:00
Romain Guy
a865d7d7d3 am df3633b3: Merge "Make it harder for apps to mess up ViewGroup\'s internal state Bug #6421288" into jb-dev
* commit 'df3633b38969e134c5370449b8247827c705ac1e':
  Make it harder for apps to mess up ViewGroup's internal state Bug #6421288
2012-05-23 16:05:15 -07:00
Romain Guy
df3633b389 Merge "Make it harder for apps to mess up ViewGroup's internal state Bug #6421288" into jb-dev 2012-05-23 15:49:50 -07:00
Svetoslav Ganov
748ee2e82a ActivityChooser view not handling its removal and relayout properly.
1. ActivityChooserView did not hide the popup window when detached.

bug:6544220

2. ActivityChooserView was calling show popup when it was already
   showing it resulting in an incrrect update and losing one item
   per rotation.

bug:6522041

Change-Id: Iec1682ca5d27e38caf57214fa86060edf82a2166
2012-05-23 15:21:16 -07:00
George Mount
cf73e52825 am 5354a327: am 8871403a: Merge "Show caret handle when clicking in the middle of text." into jb-dev
* commit '5354a3277736b57daa0003409ce37c5b5f3b2236':
  Show caret handle when clicking in the middle of text.
2012-05-23 15:00:47 -07:00
Chet Haase
8c5f7616be am ad26d4d6: am 38330ec3: Merge "Avoid running layout transitions on unattached views and windows" into jb-dev
* commit 'ad26d4d6ece6a1aeac208d5b4ac18814fabad034':
  Avoid running layout transitions on unattached views and windows
2012-05-23 14:56:39 -07:00
George Mount
5354a32777 am 8871403a: Merge "Show caret handle when clicking in the middle of text." into jb-dev
* commit '8871403ad2ea885dc9e773b3fb476b54bbf25412':
  Show caret handle when clicking in the middle of text.
2012-05-23 14:55:27 -07:00
Chet Haase
ad26d4d6ec am 38330ec3: Merge "Avoid running layout transitions on unattached views and windows" into jb-dev
* commit '38330ec3b11aec64c549a71fb12fd9b8f63d3730':
  Avoid running layout transitions on unattached views and windows
2012-05-23 14:51:21 -07:00
George Mount
8871403ad2 Merge "Show caret handle when clicking in the middle of text." into jb-dev 2012-05-23 14:50:23 -07:00
Chet Haase
38330ec3b1 Merge "Avoid running layout transitions on unattached views and windows" into jb-dev 2012-05-23 14:48:43 -07:00
Romain Guy
393a52c9f6 Make it harder for apps to mess up ViewGroup's internal state
Bug #6421288

Change-Id: I8c2c597f45391d3c1ae40c8341a68bb25d8ad4d9
2012-05-23 14:32:16 -07:00
Chet Haase
ab3a776827 Avoid running layout transitions on unattached views and windows
LayoutTransition causes artifacts in some situations where a window is just
becoming visible or a container is just being added to the view tree when animations
are kicked off in LayoutTransition due to the normal automatic mechanism of running
animations when views are added/removed/etc. The problem is that containers in these
situations may have children with positions and sizes of (0, 0), causing the animation to
animate from this default/nonsense value to whatever is appropriate for the views when
they are first laid out and drawn. The end result is correct, but the animation is
superfluous and silly.

The fix is to avoid running any kind of transition animation on windows that are not
currently visible or containers that are not currently atached to the view hierarchy.
This should avoid the situation by only allowing the animations to run after the containers
and windows are visible and set up correctly.

Issue #6544410 issue with layout transition when first showing the activity

Change-Id: I737b2598887ef806dec3b02a483a8e8ff2c3d4e2
2012-05-23 14:09:30 -07:00
George Mount
c2813fa759 Show caret handle when clicking in the middle of text.
Bug 6545325

Change-Id: Ibea6daca1da12eec38b05f7f451561d31bb3c983
2012-05-23 14:04:54 -07:00
Chris Wren
e1ee12650e am 7ecc8974: am b72ac9dd: Merge "BigPicture notifications for screenshots." into jb-dev
* commit '7ecc89743d43adeaf3d80c8d630fe37b23f8346e':
  BigPicture notifications for screenshots.
2012-05-23 13:39:36 -07:00
Chris Wren
7ecc89743d am b72ac9dd: Merge "BigPicture notifications for screenshots." into jb-dev
* commit 'b72ac9dd6eb649d6f0583a5782b1780cf4efa088':
  BigPicture notifications for screenshots.
2012-05-23 13:35:56 -07:00
Brian Colonna
bad20898f5 Fix 6449259: FUL no longer overlaps music controls
When Face Unlock was used with pattern backup on a Prime, it was
partially covering the lockscreen music controls that appear when
music is playing.

This makes Face Unlock take up slightly less area when using pattern
backup on phones in portrait layout, regardless of whether the music
controls are showing.  Eventually I would like to make it still use
the full area when the music controls aren't showing, but this is the
safest possible fix for JB and looks ok.

Change-Id: Ib2af440ed0f2729dfff9b58cd154efad43ef5499
2012-05-23 16:33:08 -04:00
Chris Wren
b72ac9dd6e Merge "BigPicture notifications for screenshots." into jb-dev 2012-05-23 13:32:53 -07:00
Daniel Sandler
0fc034f49f am 79934c00: am 81de5a0b: Merge "Stop animating when not showing." into jb-dev
* commit '79934c0048a6bfccdbb6dda0fc45db3240ba5de8':
  Stop animating when not showing.
2012-05-23 11:12:25 -07:00
Daniel Sandler
79934c0048 am 81de5a0b: Merge "Stop animating when not showing." into jb-dev
* commit '81de5a0b11df08b603693b6d3b381ac9f89ebc67':
  Stop animating when not showing.
2012-05-23 11:07:42 -07:00