OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Fix bug 5214224 - Align stock framework list item padding for dialogs"
Adam Powell [Fri, 9 Sep 2011 23:12:03 +0000 (16:12 -0700)]
Merge "Fix bug 5214224 - Align stock framework list item padding for dialogs"

12 years agoMerge "Bug 5255124: Move cursor to the end of a word after correction popup alternate...
Gilles Debunne [Fri, 9 Sep 2011 23:01:08 +0000 (16:01 -0700)]
Merge "Bug 5255124: Move cursor to the end of a word after correction popup alternates selection"

12 years agoMerge "Bug 5278456: text highlight color depends on the type of suggestion spans."
Gilles Debunne [Fri, 9 Sep 2011 22:52:09 +0000 (15:52 -0700)]
Merge "Bug 5278456: text highlight color depends on the type of suggestion spans."

12 years agoMerge "Fix another hardcoded frame rate in the media framework test"
James Dong [Fri, 9 Sep 2011 22:50:39 +0000 (15:50 -0700)]
Merge "Fix another hardcoded frame rate in the media framework test"

12 years agoFix bug 5214224 - Align stock framework list item padding for dialogs
Adam Powell [Fri, 9 Sep 2011 22:49:03 +0000 (15:49 -0700)]
Fix bug 5214224 - Align stock framework list item padding for dialogs

Set holo dialog themes to 16dip of padding for list items to align with
theme dialog metrics.

Change-Id: Ia07c08f05fadfe8bbcb596d6fe8a27cc14805c6c

12 years agoMake MediaScanner skip certain directories
Guang Zhu [Thu, 8 Sep 2011 06:55:27 +0000 (23:55 -0700)]
Make MediaScanner skip certain directories

The list of directories to skip are configurable via setprop.
The main motivation is that some test data folder takes long time
to scan, and media scanner may compete for CPU time against perf
tests therefore skewing the results.

Bug: 5263115
Change-Id: I568213e2a4babf6033021c1d336ef0347c0e3315

12 years agoMerge "Pull animation attributes out of main view class."
Dianne Hackborn [Fri, 9 Sep 2011 22:27:44 +0000 (15:27 -0700)]
Merge "Pull animation attributes out of main view class."

12 years agoMerge "Add error codes for channel disconnection / connection."
Jaikumar Ganesh [Fri, 9 Sep 2011 22:19:43 +0000 (15:19 -0700)]
Merge "Add error codes for channel disconnection / connection."

12 years agoMerge "Bug 5214224 - List item metrics"
Adam Powell [Fri, 9 Sep 2011 22:18:01 +0000 (15:18 -0700)]
Merge "Bug 5214224 - List item metrics"

12 years agoMerge "Finalize wifi watchdog default settings"
Irfan Sheriff [Fri, 9 Sep 2011 22:15:13 +0000 (15:15 -0700)]
Merge "Finalize wifi watchdog default settings"

12 years agoMerge "Disable p2p when airplane mode is turned on"
Irfan Sheriff [Fri, 9 Sep 2011 22:11:44 +0000 (15:11 -0700)]
Merge "Disable p2p when airplane mode is turned on"

12 years agoBug 5255124: Move cursor to the end of a word after correction popup alternates selection
Gilles Debunne [Fri, 9 Sep 2011 21:49:26 +0000 (14:49 -0700)]
Bug 5255124: Move cursor to the end of a word after correction popup alternates selection

Change-Id: Idd3edc72edf864f256df173bcf643163192ecbde

12 years agoMerge "Allow lockscreen orientation to be overridden with a system property."
Jim Miller [Fri, 9 Sep 2011 22:01:49 +0000 (15:01 -0700)]
Merge "Allow lockscreen orientation to be overridden with a system property."

12 years agoMerge "Don't check mFilledBuffers whether it is empty or not when the port reconfigur...
James Dong [Fri, 9 Sep 2011 21:56:30 +0000 (14:56 -0700)]
Merge "Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation"

12 years agoAllow lockscreen orientation to be overridden with a system property.
Jim Miller [Fri, 9 Sep 2011 21:12:54 +0000 (14:12 -0700)]
Allow lockscreen orientation to be overridden with a system property.

There are cases where lockscreen changes orientation (when docked, etc.),
but it's not easy to test. This allows lockscreen's behavior to be
overridden by command-line.

Change-Id: I7ce1e2ca0ea03a9034a6f537e33650e99e3594d8

12 years agoMerge "Work on issue #5144065: Tap on Music icon from Home screen - a different app...
Dianne Hackborn [Fri, 9 Sep 2011 21:53:53 +0000 (14:53 -0700)]
Merge "Work on issue #5144065: Tap on Music icon from Home screen - a different app opens"

12 years agoWork on issue #5144065: Tap on Music icon from Home screen - a different app opens
Dianne Hackborn [Fri, 9 Sep 2011 19:35:29 +0000 (12:35 -0700)]
Work on issue #5144065: Tap on Music icon from Home screen - a different app opens

When force stopping an app, when removing its activities also finish any
activities from other apps above it in the task.  This avoids some situations
where the task gets into a bad state where its root becomes a different app.

Change-Id: I79e5cd520ae321bec80adefd2ccc2b0370ace372

12 years agoPull animation attributes out of main view class.
Dianne Hackborn [Fri, 9 Sep 2011 21:43:39 +0000 (14:43 -0700)]
Pull animation attributes out of main view class.

These are now in a separate class that is only allocated when
needed by the view.

Change-Id: I9601bb43b3b4bfdabd982b02f7cd7534437b8ac3

12 years agoBug 5214224 - List item metrics
Adam Powell [Fri, 9 Sep 2011 21:01:55 +0000 (14:01 -0700)]
Bug 5214224 - List item metrics

Base list item padding on the theme. Adjust stock framework list items
to obey this. Adjust text sizes in stock list items based on existing
theme attributes.

Change-Id: I98a441e5494fa1d1d34a5f05e525e54e8b0d78b9

12 years agoMerge "Fix issue #5273986: The power usage of the mp3 background playback..."
Dianne Hackborn [Fri, 9 Sep 2011 21:28:05 +0000 (14:28 -0700)]
Merge "Fix issue #5273986: The power usage of the mp3 background playback..."

12 years agoDisable p2p when airplane mode is turned on
Irfan Sheriff [Fri, 9 Sep 2011 21:10:15 +0000 (14:10 -0700)]
Disable p2p when airplane mode is turned on

Bug: 5286610
Change-Id: Ia895dfbf0d1bc39458f4a4d24595c862750eea38

12 years agoMerge "list_dividers for xh are now 2pixels high."
Peter Ng [Fri, 9 Sep 2011 20:38:40 +0000 (13:38 -0700)]
Merge "list_dividers for xh  are now 2pixels high."

12 years agoDon't check mFilledBuffers whether it is empty or not when the port reconfiguration...
James Dong [Fri, 9 Sep 2011 20:19:59 +0000 (13:19 -0700)]
Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation

Change-Id: Iee9b18449bce9d7565ab5cc7f9e999484051196c
related-to-bug: 5233843

12 years agoFix issue #5273986: The power usage of the mp3 background playback...
Dianne Hackborn [Fri, 9 Sep 2011 20:02:43 +0000 (13:02 -0700)]
Fix issue #5273986: The power usage of the mp3 background playback...

...increased from ~50mA to 260mA

Change-Id: I24d7188185f4ec5ff9e1f29c15472ae56c851e5e

12 years agoFinalize wifi watchdog default settings
Irfan Sheriff [Fri, 9 Sep 2011 19:36:28 +0000 (12:36 -0700)]
Finalize wifi watchdog default settings

- Reduce DNS counts from 15 to 5. 15 was for debug.
- Keep success scenario as atleast 1 being successful
- Wait for a second to start checks (for some setups)
- Use one bar as a start for doing periodic DNS checks
- Do a DNS check every hour (instead of half hour)

Bug: 5284337
Change-Id: Ie64d8cac48318a0c4c59f91ad21f8c6712b71338

12 years agoMerge "Updated CAB done assets"
Peter Ng [Fri, 9 Sep 2011 18:27:40 +0000 (11:27 -0700)]
Merge "Updated CAB done assets"

12 years agoMerge "The time and data pickers did not support IME editor action correctly."
Svetoslav Ganov [Fri, 9 Sep 2011 18:24:24 +0000 (11:24 -0700)]
Merge "The time and data pickers did not support IME editor action correctly."

12 years agolist_dividers for xh are now 2pixels high.
Peter Ng [Fri, 9 Sep 2011 01:42:12 +0000 (18:42 -0700)]
list_dividers for xh  are now 2pixels high.

-1px everywhere but xhdpi
-deleted no dpi
-changed holo_light #000 15%
-changed holo_dark #fff 10%

Change-Id: I1ee16bb21b80655d62b91a2b43b3740700463cc7

12 years agoMerge "Update the sharing UI according to latest UX specs."
Svetoslav Ganov [Fri, 9 Sep 2011 18:18:40 +0000 (11:18 -0700)]
Merge "Update the sharing UI according to latest UX specs."

12 years agoUpdated CAB done assets
Peter Ng [Fri, 9 Sep 2011 18:07:51 +0000 (11:07 -0700)]
Updated CAB done assets

-removed cab background on press and focused

Change-Id: Ib93632955bbaa62497acc82079091019ba7991c3

12 years agoMerge "Adjust layers for system overlays."
Jeff Brown [Fri, 9 Sep 2011 18:06:25 +0000 (11:06 -0700)]
Merge "Adjust layers for system overlays."

12 years agoMerge "Moved FaceLock bind/unbind calls inside of null check"
Brian Colonna [Fri, 9 Sep 2011 17:52:09 +0000 (10:52 -0700)]
Merge "Moved FaceLock bind/unbind calls inside of null check"

12 years agoMerge "Show roaming icon in status bar."
Daniel Sandler [Fri, 9 Sep 2011 17:39:04 +0000 (10:39 -0700)]
Merge "Show roaming icon in status bar."

12 years agoMerge "NPE check in the SyncStateContract BUG:5196483"
Subir Jhanb [Fri, 9 Sep 2011 17:36:09 +0000 (10:36 -0700)]
Merge "NPE check in the SyncStateContract BUG:5196483"

12 years agoMerge "Suppress "Automatic" subtype name in tablet's IME switcher panel"
Ken Wakasa [Fri, 9 Sep 2011 17:19:51 +0000 (10:19 -0700)]
Merge "Suppress "Automatic" subtype name in tablet's IME switcher panel"

12 years agoMerge "Add a form of getAuthToken that both accepts an options Bundle and doesn't...
Fred Quintana [Fri, 9 Sep 2011 16:52:45 +0000 (09:52 -0700)]
Merge "Add a form of getAuthToken that both accepts an options Bundle and doesn't accepts an activity."

12 years agoMerge "Status bar close dragdown resized to 32dp"
Peter Ng [Fri, 9 Sep 2011 16:52:05 +0000 (09:52 -0700)]
Merge "Status bar close dragdown resized to 32dp"

12 years agoSuppress "Automatic" subtype name in tablet's IME switcher panel
Ken Wakasa [Fri, 9 Sep 2011 16:47:49 +0000 (01:47 +0900)]
Suppress "Automatic" subtype name in tablet's IME switcher panel

bug: 5282718
Change-Id: Ibecd6309eba9ac2fe173be7db4ba353e5821bd43

12 years agoMoved FaceLock bind/unbind calls inside of null check
Brian Colonna [Fri, 9 Sep 2011 15:48:16 +0000 (11:48 -0400)]
Moved FaceLock bind/unbind calls inside of null check

- I am not sure under what circumstances mKeyguardView can be null in
  onScreenTurnedOn() and I never saw this behavior before the commit,
  but it can happen and prevent the device from booting

- Patched to fix line length

Change-Id: I39efa5c1d68158af5c108430036fe7c715ef855b

12 years agoMerge "Fix bug 5045498 Unhide Remote Control Client API"
Marco Nelissen [Fri, 9 Sep 2011 15:44:19 +0000 (08:44 -0700)]
Merge "Fix bug 5045498 Unhide Remote Control Client API"

12 years agoMerge "Fix issue 4673378: switching from VoIP to GSM call"
Eric Laurent [Fri, 9 Sep 2011 15:27:04 +0000 (08:27 -0700)]
Merge "Fix issue 4673378: switching from VoIP to GSM call"

12 years agoMerge "Add default videos for background replacement."
Justin Ho [Fri, 9 Sep 2011 14:49:40 +0000 (07:49 -0700)]
Merge "Add default videos for background replacement."

12 years agoFix a bug in InputMethodSubtype constructor
Ken Wakasa [Fri, 9 Sep 2011 11:14:22 +0000 (20:14 +0900)]
Fix a bug in InputMethodSubtype constructor

bug: 5249480

Change-Id: I707e45cc0606dae7824c478ab586fc24d3f417f8

12 years agoMerge "Fix another problem with refreshing the screen when switching to/from overlay"
Mathias Agopian [Fri, 9 Sep 2011 08:50:13 +0000 (01:50 -0700)]
Merge "Fix another problem with refreshing the screen when switching to/from overlay"

12 years agoMerge "Improve SF dumpsys output wrt HWC"
Mathias Agopian [Fri, 9 Sep 2011 08:50:01 +0000 (01:50 -0700)]
Merge "Improve SF dumpsys output wrt HWC"

12 years agoFix another problem with refreshing the screen when switching to/from overlay
Mathias Agopian [Fri, 9 Sep 2011 08:47:48 +0000 (01:47 -0700)]
Fix another problem with refreshing the screen when switching to/from overlay

the previous fix was incorrect. See comment in setupHardwareComposer for
full explanations.

Change-Id: Ib24a9af000b8f95cf7319f9272d34997064ceb6d

12 years agoMerge "Fix 5185505: Add support for weak biometric sensors to lockscreen."
Jim Miller [Fri, 9 Sep 2011 07:58:01 +0000 (00:58 -0700)]
Merge "Fix 5185505: Add support for weak biometric sensors to lockscreen."

12 years agoFix 5185505: Add support for weak biometric sensors to lockscreen.
Jim Miller [Mon, 5 Sep 2011 23:03:14 +0000 (16:03 -0700)]
Fix 5185505: Add support for weak biometric sensors to lockscreen.

Added binder interfaces to the framework.

Change-Id: I7d55b45baa4d1600ebd2a3828e85c3357cfcfb58

12 years agoImprove SF dumpsys output wrt HWC
Mathias Agopian [Fri, 9 Sep 2011 07:49:11 +0000 (00:49 -0700)]
Improve SF dumpsys output wrt HWC

Change-Id: Ibdb7930fa3b521bfd3f44750ed98cfd75f9a01fe

12 years agoMerge "Fix 5278371: OOM in MediaItemThumbnailTest"
Chih-Chung Chang [Fri, 9 Sep 2011 06:38:44 +0000 (23:38 -0700)]
Merge "Fix 5278371: OOM in MediaItemThumbnailTest"

12 years agoFix 5278371: OOM in MediaItemThumbnailTest
Chih-Chung Chang [Fri, 9 Sep 2011 05:58:59 +0000 (13:58 +0800)]
Fix 5278371: OOM in MediaItemThumbnailTest

Because we request 400x240 thumbnails. 100 thumbnails needs 38M,
which is too much. Change it to 70 now.

Also handle the case if the thumbnail callback throws exception.

Change-Id: Iac4ee72f308b7c7a6ae860983197601cf89bee8f

12 years agoMerge "Fix an issue is SF that caused drawing artifacts when hwc changed mode"
Mathias Agopian [Fri, 9 Sep 2011 05:46:25 +0000 (22:46 -0700)]
Merge "Fix an issue is SF that caused drawing artifacts when hwc changed mode"

12 years agoFix an issue is SF that caused drawing artifacts when hwc changed mode
Mathias Agopian [Fri, 9 Sep 2011 01:31:55 +0000 (18:31 -0700)]
Fix an issue is SF that caused drawing artifacts when hwc changed mode

we were not redrawing and/or clearing the FB properly when
hwc moved a layer from/to FB to/from OVERLAY.

In these cases we needed to expand the dirty region to include
the layer that changed mode.

Also split composeSurfaces() which was becoming quite large.

Change-Id: Id6fa1acfc4ff694037fddf7efd037a4405732073

12 years agoMerge "Fix FrameLayout padding when foreground drawable is set"
Michael Jurka [Fri, 9 Sep 2011 03:56:35 +0000 (20:56 -0700)]
Merge "Fix FrameLayout padding when foreground drawable is set"

12 years agoFix FrameLayout padding when foreground drawable is set
Michael Jurka [Fri, 9 Sep 2011 01:26:23 +0000 (18:26 -0700)]
Fix FrameLayout padding when foreground drawable is set

The padding of the foreground drawable was being added to the padding that already existed, even if the foreground drawable was drawing within the padded region. This was preventing having a foreground drawable and a background drawable set on a FrameLayout that overlapped perfectly.

Change-Id: I355ff9323fb49afc5816f47ec9e257e0ff849861

12 years agoMerge "Updated Recent Apps visuals"
Michael Jurka [Fri, 9 Sep 2011 03:36:54 +0000 (20:36 -0700)]
Merge "Updated Recent Apps visuals"

12 years agoUpdated Recent Apps visuals
Peter Ng [Wed, 7 Sep 2011 18:26:53 +0000 (11:26 -0700)]
Updated Recent Apps visuals

-added padding to portrait and landscape layout recent item
-updated drawable stroke on press and drag

Change-Id: I98e0073f5fba6d13f041871337e4dc534bbc1460

12 years agoThe time and data pickers did not support IME editor action correctly.
Svetoslav Ganov [Fri, 9 Sep 2011 01:08:36 +0000 (18:08 -0700)]
The time and data pickers did not support IME editor action correctly.

1. Updated TextView to traverse all focusable items. It was searching focus
   down and up and was missing right and left focusabled. Updated the focus
   seach to use FOCUS_FORWARD and FOCUS_BACKWARD - now all focusable views
   are visited.

2. TimePicker and DatePicker were not specifying the IME options for
   the next and done editor actions.

bug:5264046

Change-Id: Ief80863fc312582f2f76928bf6e915f620c427e5

12 years agoFix issue 4673378: switching from VoIP to GSM call
Eric Laurent [Thu, 8 Sep 2011 22:04:23 +0000 (15:04 -0700)]
Fix issue 4673378: switching from VoIP to GSM call

The problem is that any app can change the audio mode and override
a mode previously set by another app. If two apps (gTalk and Phone) compete
for audio mode ownership, there is no mechanism to maintain coherency
in the actual audio mode selected.

Added a mechanism in AudioService to manage an audio mode request stack.
Any app requesting a mode different from NORMAL enters at the top of the stack
and the requested mode is applied. When an app sets mode back to NORMAL, it exits
the stack and the new mode corresponding to the request at the top of the
stack (if any) is applied.

Change-Id: I68d1755d0922f680df4a19bfc5ab924f5a5d8ccd

12 years agoMerge "Adding null check to prevent monkey crash. (5263199)"
Michael Jurka [Fri, 9 Sep 2011 02:07:02 +0000 (19:07 -0700)]
Merge "Adding null check to prevent monkey crash. (5263199)"

12 years agoAdding null check to prevent monkey crash. (5263199)
Winson Chung [Fri, 9 Sep 2011 02:02:06 +0000 (19:02 -0700)]
Adding null check to prevent monkey crash. (5263199)

Change-Id: I26372c8aa8022659582b31ca5a4279b9590f02f8

12 years agoAdjust layers for system overlays.
Jeff Brown [Fri, 9 Sep 2011 01:51:14 +0000 (18:51 -0700)]
Adjust layers for system overlays.

Prevent system overlays from showing above the notification bar.

Allow secure system overlays to be fullscreen, for the pointer
location view.

Show the drag layer above the notification bar.

Change-Id: Ic8d663792a243cca2cd9952d241d001e0357d551

12 years agoBug 5278456: text highlight color depends on the type of suggestion spans.
Gilles Debunne [Fri, 9 Sep 2011 01:34:22 +0000 (18:34 -0700)]
Bug 5278456: text highlight color depends on the type of suggestion spans.

Change-Id: I76ac02b7688a297c0e83d593f446a4cf2ee36015

12 years agoMerge "Fix bug #2246815 Error popups on EditText should span the width of the screen...
Fabrice Di Meglio [Fri, 9 Sep 2011 01:27:29 +0000 (18:27 -0700)]
Merge "Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field"

12 years agoMerge "Fix bug 5279075 - Handle action bar config changes when action mode is active"
Adam Powell [Fri, 9 Sep 2011 01:23:26 +0000 (18:23 -0700)]
Merge "Fix bug 5279075 - Handle action bar config changes when action mode is active"

12 years agoUpdate the sharing UI according to latest UX specs.
Svetoslav Ganov [Wed, 7 Sep 2011 23:38:40 +0000 (16:38 -0700)]
Update the sharing UI according to latest UX specs.

bug:3362473

Change-Id: Ic302c289e28061f53446f98e5b97573d57d9cfb8

12 years agoFix bug #2246815 Error popups on EditText should span the width of the screen instead...
Fabrice Di Meglio [Fri, 9 Sep 2011 01:15:50 +0000 (18:15 -0700)]
Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field

Part 2

- use "textview_error_popup_default_width" as a dimension resource instead of a basic constant

Change-Id: Ieb89fc416105716ab491749a82390a7e784b1755

12 years agoFix bug 5279075 - Handle action bar config changes when action mode is active
Adam Powell [Fri, 9 Sep 2011 01:09:33 +0000 (18:09 -0700)]
Fix bug 5279075 - Handle action bar config changes when action mode is active

Change-Id: I83d40d2d555b01a9e678231c4f3c5278fab959d7

12 years agoMerge "NetworkManagementService: adjust the qtaguid idx to new kernel"
JP Abgrall [Fri, 9 Sep 2011 01:10:05 +0000 (18:10 -0700)]
Merge "NetworkManagementService: adjust the qtaguid idx to new kernel"

12 years agoMerge "Throw an exception if a both nav and system bars are configured"
Chet Haase [Fri, 9 Sep 2011 00:59:30 +0000 (17:59 -0700)]
Merge "Throw an exception if a both nav and system bars are configured"

12 years agoMerge "Make the SyncManager have wakelocks per account, not per account type, otherwi...
Fred Quintana [Fri, 9 Sep 2011 00:53:03 +0000 (17:53 -0700)]
Merge "Make the SyncManager have wakelocks per account, not per account type, otherwise the parallel sync behavior of gmail can cause the first account to finish to release the wakelock that is used for the other account, which will result in the device going to sleep before the sync is complete."

12 years agoMerge "Fix bug #2246815 Error popups on EditText should span the width of the screen...
Fabrice Di Meglio [Fri, 9 Sep 2011 00:35:01 +0000 (17:35 -0700)]
Merge "Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field"

12 years agoMerge "Fixed digital audio output detection"
Eric Laurent [Fri, 9 Sep 2011 00:21:39 +0000 (17:21 -0700)]
Merge "Fixed digital audio output detection"

12 years agoFix bug #2246815 Error popups on EditText should span the width of the screen instead...
Fabrice Di Meglio [Thu, 8 Sep 2011 22:05:23 +0000 (15:05 -0700)]
Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field

- cap the popup to 240 (Validated with UX team)

Change-Id: I2923825a19b7c79fa0d1233300f42e10bdda8df7

12 years agoMerge "Apply timeout for powerdown event and reset state machine when bluez crashes"
Matthew Xie [Fri, 9 Sep 2011 00:16:50 +0000 (17:16 -0700)]
Merge "Apply timeout for powerdown event and reset state machine when bluez crashes"

12 years agoFixed digital audio output detection
Eric Laurent [Thu, 8 Sep 2011 23:09:21 +0000 (16:09 -0700)]
Fixed digital audio output detection

Fixed bug in WiredAccessoryObserver preventing correct detection of
docks with digital audio connection (S/PDIF)

Change-Id: I96eeebc53952625d75133ce0af68f4f219bce41d

12 years agoThrow an exception if a both nav and system bars are configured
Chet Haase [Thu, 8 Sep 2011 23:19:50 +0000 (16:19 -0700)]
Throw an exception if a both nav and system bars are configured

It was possible for a device to be configured to use a navigation bar
(by setting config_showNavigationBar to true in a config.xml file)
and to use a system bar (by being a tablet device of sufficient size).
The display metrics would be set up for both, but the SystemUI would ignore
the navigation bar, leading to conflict in what would be displayed and how
much room there was on the display. This change throws an exception,
causing SystemUI to fail, when this conflict is detected.

Change-Id: Ib5c19d50ff9444bc33fd53d3dcfa016adc4872ef

12 years agoNetworkManagementService: adjust the qtaguid idx to new kernel
JP Abgrall [Thu, 8 Sep 2011 22:13:26 +0000 (15:13 -0700)]
NetworkManagementService: adjust the qtaguid idx to new kernel

https://partner.source.android.com/g/#/c/8968/ introduced

  idx iface acct_tag_hex uid_tag_int cnt_set ...
  2 wlan0 0x0 10022 0 ...
  3 wlan0 0x0 10022 1 ...
  4 wlan0 0x3010000000000000 10022 0 ...
  5 wlan0 0x3010000000000000 10022 1 ...

so treat it as monotonic starting a idx 1 for header line.

Change-Id: Ie1d0ec9a0b7103620a93b0ef0b01c13fe4162616

12 years agoMerge "AudioTrack: extend callback thread sleep time"
Eric Laurent [Thu, 8 Sep 2011 23:07:40 +0000 (16:07 -0700)]
Merge "AudioTrack: extend callback thread sleep time"

12 years agoMerge "Pass roaming info to ConnectivityService."
Robert Greenwalt [Thu, 8 Sep 2011 23:03:45 +0000 (16:03 -0700)]
Merge "Pass roaming info to ConnectivityService."

12 years agoMake the SyncManager have wakelocks per account, not per account type,
Fred Quintana [Thu, 8 Sep 2011 22:59:56 +0000 (15:59 -0700)]
Make the SyncManager have wakelocks per account, not per account type,
otherwise the parallel sync behavior of gmail can cause the first
account to finish to release the wakelock that is used for the other
account, which will result in the device going to sleep before the
sync is complete.

Change-Id: I7658465ca0956dfd9bb341de03126869e6217d31

12 years agoStatus bar close dragdown resized to 32dp
Peter Ng [Thu, 8 Sep 2011 22:43:52 +0000 (15:43 -0700)]
Status bar close dragdown resized to 32dp

Bug: 5160060
Change-Id: I6960aa025922cd9ad208b6ff4a1d9f132c380436

12 years agoMerge "Don't sleep when inline video start"
Teng-Hui Zhu [Thu, 8 Sep 2011 22:41:54 +0000 (15:41 -0700)]
Merge "Don't sleep when inline video start"

12 years agoMerge "Add support for 3 new blend modes when blending with framebuffer: Add ...
Romain Guy [Thu, 8 Sep 2011 22:34:24 +0000 (15:34 -0700)]
Merge "Add support for 3 new blend modes when blending with framebuffer:   Add   Multiply   Screen"

12 years agoMerge "Always set geometry in queuebuffer"
Pannag Sanketi [Thu, 8 Sep 2011 22:33:31 +0000 (15:33 -0700)]
Merge "Always set geometry in queuebuffer"

12 years agoAdd support for 3 new blend modes when blending with framebuffer:
Romain Guy [Thu, 8 Sep 2011 22:33:03 +0000 (15:33 -0700)]
Add support for 3 new blend modes when blending with framebuffer:
  Add
  Multiply
  Screen

Change-Id: I92a3c2612c86613087568bf0c03cc6f92b5ded44

12 years agoAdd error codes for channel disconnection / connection.
Jaikumar Ganesh [Wed, 7 Sep 2011 21:16:52 +0000 (14:16 -0700)]
Add error codes for channel disconnection / connection.

Channel connection / disconnection was handled as boolean,
doesn't capture all the values. Also make it asynchronous
instead of the dbus call being synchronous.

Change-Id: If30177b9f93b7c83f162fbbc1233edf3e46dbfea

12 years agoMerge "Touch explorer does not cancel long press correctly causing system crash."
Svetoslav Ganov [Thu, 8 Sep 2011 22:23:44 +0000 (15:23 -0700)]
Merge "Touch explorer does not cancel long press correctly causing system crash."

12 years agoMerge "Always disable() through SBMS; watch date."
Jeff Sharkey [Thu, 8 Sep 2011 22:22:51 +0000 (15:22 -0700)]
Merge "Always disable() through SBMS; watch date."

12 years agoMerge "Fix crash while connecting channel."
Jaikumar Ganesh [Thu, 8 Sep 2011 22:20:19 +0000 (15:20 -0700)]
Merge "Fix crash while connecting channel."

12 years agoMerge "Make Bluetooth Health APIs public."
Jaikumar Ganesh [Thu, 8 Sep 2011 22:19:37 +0000 (15:19 -0700)]
Merge "Make Bluetooth Health APIs public."

12 years agoAudioTrack: extend callback thread sleep time
Eric Laurent [Wed, 7 Sep 2011 18:13:23 +0000 (11:13 -0700)]
AudioTrack: extend callback thread sleep time

Do not force wake up the AudioTrack thread every 10ms if no timed
events (loop, markers..) have to be processed.
This will help reduce power consumption.

Change-Id: Icb425b13800690008dd07c27ffac84739e3dbba3

12 years agoFix crash while connecting channel.
Jaikumar Ganesh [Tue, 6 Sep 2011 23:45:52 +0000 (16:45 -0700)]
Fix crash while connecting channel.

When an incoming connection comes and then we disconnect it,
and then launch the outgoing connection - we crash because
the channel path chan.mChannelPath is null.

Change-Id: I9115cc038f7ce85a193bf05d14b2b0a5e0579a69

12 years agoMake Bluetooth Health APIs public.
Jaikumar Ganesh [Wed, 31 Aug 2011 22:36:05 +0000 (15:36 -0700)]
Make Bluetooth Health APIs public.

Fix a few bugs:
  a) Pass a integer token to identify the channel.
  b) Close fds in case of errors.

Change-Id: I2046787be5008769435f2f72a5bd67c19b749da0

12 years agoMerge "Save/restore display lists' canvas properly"
Romain Guy [Thu, 8 Sep 2011 22:06:05 +0000 (15:06 -0700)]
Merge "Save/restore display lists' canvas properly"

12 years agoSave/restore display lists' canvas properly
Romain Guy [Thu, 8 Sep 2011 22:03:39 +0000 (15:03 -0700)]
Save/restore display lists' canvas properly

Change-Id: Ic016f0215f9fe5c67af98f059ecce4ed94994810

12 years agoApply timeout for powerdown event and reset state machine when bluez crashes
Matthew Xie [Thu, 8 Sep 2011 06:32:51 +0000 (23:32 -0700)]
Apply timeout for powerdown event and reset state machine when bluez crashes

The powerdown event was missed some time for unknown reasons and bluez could
crash for unknown reasons. We will debug on the issue. But for the time
being, we add a powerdown timer and process power up event to recover from
bluez crash
bug 5239719

Change-Id: Ie7315fb01e029747951e1a97a2d2f1dce53a997b

12 years agoTouch explorer does not cancel long press correctly causing system crash.
Svetoslav Ganov [Thu, 8 Sep 2011 21:49:41 +0000 (14:49 -0700)]
Touch explorer does not cancel long press correctly causing system crash.

1. The touch explorer was not canceling long press runnable when a finger
   goes down. This was causing system crash in the scenario of one pointer
   down and not moving followed by another pointer down. Since the long press
   runnable posed when the first pointer went down was  not removed it was
   sending events with wrong pointer id leading to a crash.

bug:5271592

Change-Id: I40dd7dd21d465ecedd9413f00b3cedc6066fa22d

12 years agoDon't sleep when inline video start
Teng-Hui Zhu [Thu, 8 Sep 2011 20:31:28 +0000 (13:31 -0700)]
Don't sleep when inline video start

bug:4563692

Change-Id: I0174403e3f78b5a637500fbaaf7f9219efe0cbc8

12 years agoAlways set geometry in queuebuffer
Pannag Sanketi [Thu, 8 Sep 2011 21:15:00 +0000 (14:15 -0700)]
Always set geometry in queuebuffer

The queuebuffer could return early due to timestamp issues. Need to set
the geometry even in that case.

Change-Id: I04d7cd1df3996d640c269285398c0042923ba920