77142 Commits

Author SHA1 Message Date
Dianne Hackborn
61af8a8ef7 Working on issue #6561352: java.lang.RuntimeException: Unable to start...
...activity ComponentInfo{com.google.android.googlequicksearchbox
/com.google.android.googlequicksearchbox.SearchActivity}

Add check for a situation where we are saving the state of a
fragment with a -1 index, and fail early in that case with more
debug information.

Change-Id: I03a928dde521fa06664d0036dd9f90eef3247afc
2012-05-30 16:38:30 -07:00
Kenny Root
03e93e51c8 Merge "Move package-wide flags out of parseApplication" into jb-dev 2012-05-30 15:43:42 -07:00
Amith Yamasani
90f658e17d Merge "Preserve account list in order of creation in the database." into jb-dev 2012-05-30 15:43:19 -07:00
Jeff Brown
943a8beca5 Merge "Increase busy timeout." into jb-dev 2012-05-30 15:40:21 -07:00
alanv
325ea8deb8 Don't mark list headers or invalid items as disabled.
Bug: 6581689
Change-Id: I4088cdc7e785e60fe7e30807cdf045131584f29d
2012-05-30 15:36:18 -07:00
Fabrice Di Meglio
f053e2367d Merge "Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText" into jb-dev 2012-05-30 15:31:23 -07:00
Kenny Root
7cb9be26c1 Move package-wide flags out of parseApplication
Being on SD card and being forward-locked are package-wide flags that
shouldn't depend on an APK having an <application> stanza.

Bug: 6563724
Change-Id: If5f2159cd8e3fa136f959b656d82b05ea6bdfae5
2012-05-30 15:30:37 -07:00
Dianne Hackborn
d9137ca87e Add time stamp to content provider connection.
For help in tracking down memory use issues, seeing how long
a connection has been held that is keeping other processes around.

Let's call this for issue #6577613: Unbelievably sluggish nexus-S

Change-Id: Ia3d016c5ed9d2155eea18ec884047e1e1d8a0ad5
2012-05-30 15:29:36 -07:00
Jeff Brown
676c519ec4 Increase busy timeout.
Bug: 6579925
Change-Id: I110d9a98479cbfcc518deef6d59b0f956396b6da
2012-05-30 15:18:51 -07:00
Jeff Brown
9154b87780 Merge "Fix comparison of device source bits." into jb-dev 2012-05-30 15:00:39 -07:00
Eric Laurent
b1fbaaccb6 Send device connection intents from AudioService
AudioService is currently notified of wired headset and A2DP
sink connection states via broadcast intents from WiredAccessoryObserver
and BluetoothA2dpService. This is a problem as there is no guaranty that
AudioService can take actions upon the change before other apps are notified.
For instance, the Play On feature requires the UI to be refreshed when a device
is inserted/removed and we must guaranty that the UI component can read
new A2DP enable state from AudioManager after it receives a device connection state
change intent.

- Added hidden methods to AudioManager so that WiredAccessoryObserver
and BluetoothA2dpService can notify AudioService of device connection directly.
- The wired accessories connection intents are now sent by AudioService.
- The A2DP state change intent is delayed by BluetoothA2DPService when
ACTION_AUDIO_BECOMING_NOISY is sent by AudioService
- ACTION_AUDIO_BECOMING_NOISY intent is not sent when disconnecting A2DP
while a wired headset is present and vice versa.

Bug 6485897.

Change-Id: Ie160b3ee5f451132065530772b868593c90afd94
2012-05-30 14:44:43 -07:00
Jeff Brown
7e4ff4b986 Fix comparison of device source bits.
Bug: 6576743
Change-Id: I6952b052e2ab9e62ddd46ab76f4df37ecc656757
2012-05-30 14:32:16 -07:00
Amith Yamasani
b483a99c6b Preserve account list in order of creation in the database.
This makes it possible to retrieve the account list in the order of creation,
if we want to display them in the account settings screen in that order.

Bug: 6579937

Change-Id: I2025aaa8b770fbb78be978dfde64ef95823fd5aa
2012-05-30 13:58:38 -07:00
Makoto Onuki
bba33cd86e Fix bug 6563184: API compatibility issue with quick contact
Add FLAG_ACTIVITY_NEW_TASK if the starting contentext is not an activity.

Change-Id: I3c03a1acc12798d846c6f321cf46f77a2833172b
2012-05-30 13:44:56 -07:00
Daniel Sandler
1534a66ee9 Simpler background art for notification panels.
Bug: 6515559 // banding due to gradient
Bug: 6563738 // 9-patch self-overlap issues
Change-Id: Iab180e4ad1e92e1c780d54fd609ad8989a07c775
2012-05-30 16:43:30 -04:00
Michael Jurka
6713024727 Merge "Fix issue where "No recent apps" showed initially before loading thumbnails" into jb-dev 2012-05-30 13:39:39 -07:00
Daniel Sandler
c5d2050961 Merge "Visual tweaks to notifications." into jb-dev 2012-05-30 12:55:00 -07:00
Eric Fischer
75856e9691 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-30 12:43:04 -07:00
Daniel Sandler
6387d2f6da Visual tweaks to notifications.
- Smaller right_icons
  - Higher-contrast text colors
  - Dividers between actions
  - Dividers above actions and overflows
  - Consistent 8dp gutter on left of content
  - BigTextStyle should not show line3 unless there is a subtext.
  - Collapse summary ("overflow") text into line3. This is a
    little wild because now the contentText, subText, and
    summaryText all share this spot, but the various
    variables all have different times when they're
    expressed so you have greater control over what shows
    where in the 1U and the expanded form.
  - Do not show contentText in BigText's line3. If you have
    subtext or summarytext, show that; otherwise suppress
    line3 entirely.

Bug: 6558134 // line3
Bug: 6508804 // other visuals
Change-Id: Ib79e818a332d17000e9a8fce333eff8f8cf043aa
2012-05-30 15:28:22 -04:00
Eric Fischer
f4837c03c3 Import translations. DO NOT MERGE
Change-Id: I1b96473984d97eaef2ef616def04315674a57fca
2012-05-30 12:23:20 -07:00
Jim Miller
2a7b17bb26 Fix 6580421: make sure MultiWaveView.reset() makes handle visible
This fixes a bug where sometimes the handle wasn't visble in the
incoming call screen.  The problem was that the animation was
interrupted on its transition from alpha = 0 to alpha = 1 by reset()
and the new handle animation wasn't started.

Change-Id: I3ab4259db1115da20e7f54b91bbfe3b496940214
2012-05-30 12:19:56 -07:00
Eric Fischer
dda62f69f3 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-30 12:14:48 -07:00
Eric Fischer
9cf9b1ee38 Import translations. DO NOT MERGE
Change-Id: Ie7124462acaa16457804e3f9f2ee13cb4b792ceb
2012-05-30 11:59:21 -07:00
Fred Quintana
3c144c3e69 Merge "Add an updateAppPermission() API call to the AccountManagerService AIDL and have the GrantCredentialsPermissionActivity call that instead of a static so that it can be made to run in a different process than the AccountManagerService. Protect this call by checking that the caller has the same UID as the system process." into jb-dev 2012-05-30 11:36:15 -07:00
Dianne Hackborn
f46bd06c68 Merge "Fix issue #6579824: Email crash observed after updating..." into jb-dev 2012-05-30 11:18:33 -07:00
Dianne Hackborn
26627ccc3f Merge "A little debug code from issue #6516197: Places app not getting removed..." into jb-dev 2012-05-30 11:18:08 -07:00
Dianne Hackborn
5f48fca218 Fix issue #6579824: Email crash observed after updating...
...device from JRN59D to JRN60

Deal correctly with multiprocess content providers that need to
be loaded into a secondary process; wasn't correctly detecting the
case where the IContentProvider returned by the activity manager
is null.  (installProvider used to be given the direct IContentProvider,
now it gets the ContentProviderHolder and much check whether the
provider inside is null.)

Change-Id: I888622e275a459031ab849952941f39cf9c02ee0
2012-05-30 11:06:31 -07:00
Jim Miller
a78bdd95b3 Merge "Fix 6578735: don't crash system ui when there's no search activity" into jb-dev 2012-05-30 10:53:15 -07:00
Alice Yang
6c66e9842e Merge "New UI for account picker" into jb-dev 2012-05-30 10:39:42 -07:00
Philip Milne
5ab6e12b45 Merge "Fix 6538388: Home buttons do not respect the no "vibrate on touch" option." into jb-dev 2012-05-30 09:58:47 -07:00
Jim Miller
8ea8a29de7 Fix 6578735: don't crash system ui when there's no search activity
Because SearchPanelView tracks input even when it's not showing, it
was possible to trigger search with a gesture.

Change-Id: I60f654d279d2ff1799d8a4b69796da8c7e81f3c7
2012-05-30 09:50:00 -07:00
Wei Huang
58296baa78 Merge "Fix startFaceDetection will fail after taking a picture." into jb-dev 2012-05-30 09:43:20 -07:00
Jim Miller
d8c5f10c10 Merge "Fix 6398209: SearchPanel gesture improvements" into jb-dev 2012-05-30 09:26:37 -07:00
George Mount
20c15a4271 Merge "Fix monkey NPE in AutoCompletePopup" into jb-dev 2012-05-30 07:36:11 -07:00
Michael Jurka
d234b32e99 Fix issue where "No recent apps" showed initially before loading thumbnails
Bug: 6573911

Also add additional debugging code for bug 6573911
2012-05-30 07:00:08 -07:00
Satoshi Kataoka
17150cf91b Fix locale in TextServicesManagerService
Bug: 6542210
Change-Id: I1670fac014beb834ec7c065ebf040d0ff3cf4161
2012-05-30 20:36:52 +09:00
Jim Miller
9a720f5eb6 Fix 6398209: SearchPanel gesture improvements
This fixes a few recent regressions caused by other bug fixes:
- add new flags to animateCollapse() so we can selectively close panels. Fixes regression caused by attempt to close recent apps from startAssistActivity() which had the side effect of closing the search panel before the animation completes.
- adds tuneable holdoff delay for responding to home key press.
- minor tweaks to MultiWaveView animations.

Change-Id: Ia48434b8d59e7b0290a5e9783960c2f684068218
2012-05-30 03:36:20 -07:00
Mathias Agopian
38616ccc94 Merge "Fix a stack corruption in sensorservice" into jb-dev 2012-05-29 21:04:39 -07:00
Fabrice Di Meglio
0ed59fae6f Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText
- take the hint layout primary horizontal offset if needed

Change-Id: Ib5c4dd990278e1fd8bb9ba4f4b6940a62dba91e3
2012-05-29 20:32:51 -07:00
Mathias Agopian
8fd03f4ea4 Fix a stack corruption in sensorservice
Bug: 6576732
Change-Id: If0f2fb0d0c35b932fb77cd262e676042145b28f9
2012-05-29 19:46:14 -07:00
Dianne Hackborn
7f96b7961b A little debug code from issue #6516197: Places app not getting removed...
...from recent apps drawer after launching Places app

Change-Id: Ibfa75e9cea2721a7380d7c13dc21504fbce61aee
2012-05-29 18:46:45 -07:00
James Dong
fb910e8ffa Merge "Fixed a buffer overflow issue" into jb-dev 2012-05-29 18:21:38 -07:00
James Dong
54c40e033e Fixed a buffer overflow issue
The allocated array has one byte less than the required length. Allocating the size one byte larger fixes the issue.
contribution was originally from teng.hong@nxp.com

Change-Id: I3aa2e6b995fd18e30649a34f201646082aab44ee
related-to-bug: 6347465
2012-05-29 18:08:51 -07:00
Jean Chalard
01bf82f272 Merge "Add/refine comments to reflect key event policies" into jb-dev 2012-05-29 18:02:29 -07:00
Svetoslav Ganov
a5c896afe8 Merge "Updating the behaviour of accessibility text iterators." into jb-dev 2012-05-29 17:30:16 -07:00
Svetoslav Ganov
48d1daca98 Merge "Accessiblity scroll event firing callback not properly reset." into jb-dev 2012-05-29 17:05:40 -07:00
Svetoslav Ganov
4a812aeb8b Accessiblity scroll event firing callback not properly reset.
1. We use a delayed callback to throttle the amount of accessibility
   scroll events fired by the view tree. The callback to do so was
   not properly reset when removed putting the view tree in a bad
   state resulting in no scroll events being fired at all.

bug:6549005

Change-Id: Ibf72d7e009e4545a336c9471f46015910290703e
2012-05-29 16:46:15 -07:00
Philip Milne
a01a2a89ec Fix 6538388: Home buttons do not respect the no "vibrate on touch" option.
Change-Id: I1792caf4c0501055329611f4c5e237815463d43d
2012-05-29 16:35:23 -07:00
John Reck
2cd50c9d55 Merge "Don't long press if preventDefault is called" into jb-dev 2012-05-29 16:23:10 -07:00
John Reck
2dc3ffd31a Don't long press if preventDefault is called
Bug: 6554060

Change-Id: Iad263c78a0e1504dd10e9ef5b92505bca6991cbc
2012-05-29 16:02:23 -07:00