OSDN Git Service

android-x86/frameworks-base.git
12 years agoEmergency callback mode handling
Irfan Sheriff [Mon, 12 Sep 2011 02:59:01 +0000 (19:59 -0700)]
Emergency callback mode handling

For wifi, track ECM and shut down and restart when device
goes in ECM and out

For p2p, simply turn off when in ECM mode

Bug: 5185246
Change-Id: I5f5bf75fac3e27db1d7c412135c796f2b137263d

12 years agoFix NPE
Ken Wakasa [Mon, 12 Sep 2011 03:01:25 +0000 (12:01 +0900)]
Fix NPE

bug: 5290369
Change-Id: Ica450c49fc0bc89b1697eaa1086707f481f6be7e

12 years agoMerge "Exit the keyguard when the user clicks a notification."
Daniel Sandler [Mon, 12 Sep 2011 00:08:50 +0000 (17:08 -0700)]
Merge "Exit the keyguard when the user clicks a notification."

12 years agoMerge "Fix bug swiping away NO_CLEAR notifications."
Daniel Sandler [Mon, 12 Sep 2011 00:08:41 +0000 (17:08 -0700)]
Merge "Fix bug swiping away NO_CLEAR notifications."

12 years agoMerge "Revert encryption mapping for device wipes."
Ben Komalo [Sun, 11 Sep 2011 23:48:32 +0000 (16:48 -0700)]
Merge "Revert encryption mapping for device wipes."

12 years agoMerge "Fix preference screen padding for legacy apps (non Holo)."
Amith Yamasani [Sun, 11 Sep 2011 22:58:31 +0000 (15:58 -0700)]
Merge "Fix preference screen padding for legacy apps (non Holo)."

12 years agoMerge "Fixing DownloadManager Test app."
Neal Nguyen [Sun, 11 Sep 2011 21:58:02 +0000 (14:58 -0700)]
Merge "Fixing DownloadManager Test app."

12 years agoMerge "aggregating test results when reporting to instrumentation out."
Tsu Chiang Chuang [Sun, 11 Sep 2011 21:10:00 +0000 (14:10 -0700)]
Merge "aggregating test results when reporting to instrumentation out."

12 years agoExit the keyguard when the user clicks a notification.
Daniel Sandler [Sun, 11 Sep 2011 20:29:05 +0000 (16:29 -0400)]
Exit the keyguard when the user clicks a notification.

(This only works if the keyguard is not secure, but then
again, the user can't access the notification panel in that
case anyway.)

Bug: 5173952
Change-Id: I8a6081d26c52843822b381d8ebe0fae94a03bef9

12 years agoFix preference screen padding for legacy apps (non Holo).
Amith Yamasani [Sun, 11 Sep 2011 19:35:33 +0000 (12:35 -0700)]
Fix preference screen padding for legacy apps (non Holo).

Also fixes the right margin for single pane preferences on phones, so the
scrollbar is fully visible.

Bug: 5262868
Bug: 5263470
Change-Id: Ifbbe22744bd42ab33578d1f01daecdea4d59f5cc

12 years agoFix bug swiping away NO_CLEAR notifications.
Daniel Sandler [Sun, 11 Sep 2011 19:39:24 +0000 (15:39 -0400)]
Fix bug swiping away NO_CLEAR notifications.

Bug: 5121507
Change-Id: I798686cfc8506805298e1481a3d603ce700e12f4

12 years agoMerge "Fix inflating of animations."
Dianne Hackborn [Sun, 11 Sep 2011 20:07:24 +0000 (13:07 -0700)]
Merge "Fix inflating of animations."

12 years agoMerge "Fix 5266335: bad DIRTY/invalidation logic"
Chet Haase [Sun, 11 Sep 2011 19:58:45 +0000 (12:58 -0700)]
Merge "Fix 5266335: bad DIRTY/invalidation logic"

12 years agoFix inflating of animations.
Dianne Hackborn [Sun, 11 Sep 2011 19:47:45 +0000 (12:47 -0700)]
Fix inflating of animations.

Need to define attributes for animation set, to have correct indices.

Also small fixes elsewhere.

Change-Id: If596147e8aee4ebffe4e184872070341eff6df73

12 years agoaggregating test results when reporting to instrumentation out.
Tsu Chiang Chuang [Sun, 11 Sep 2011 19:26:29 +0000 (12:26 -0700)]
aggregating test results when reporting to instrumentation out.

Change-Id: Ic652f893d7cfd469a912bd71a094f337166a6aa5

12 years agoMerge "Fix build."
Dianne Hackborn [Sun, 11 Sep 2011 18:21:09 +0000 (11:21 -0700)]
Merge "Fix build."

12 years agoFix build.
Dianne Hackborn [Sun, 11 Sep 2011 18:20:21 +0000 (11:20 -0700)]
Fix build.

Change-Id: I8f0f137649ae69100a2b94706ad9b3861d8dbac0

12 years agoMerge "Handle HSPAP."
John Huang [Sun, 11 Sep 2011 18:13:29 +0000 (11:13 -0700)]
Merge "Handle HSPAP."

12 years agoFix 5266335: bad DIRTY/invalidation logic
Chet Haase [Sun, 11 Sep 2011 18:06:06 +0000 (11:06 -0700)]
Fix 5266335: bad DIRTY/invalidation logic

The DIRTY flag is used to track which elements of the view hierarchy need
to be redrawn on the next drawing operation. This flag is set on the parent
hierarchy of a view when that view is invalidated. There is an optimization for
opaque views that tells the parent that it is dirty, but that it need not
redraw its own content because the view will cover it (since it is opaque).

This dirty-opaque logic breaks down in the current code because we only set
these dirty flags on the parent hierarchy, not on the view itself. In the situation
raised by this bug, we would invalidate the parent container directly (which does
not case the dirty flag to be set), then we would invalidate a child of that view.
Because the child is opaque, the DIRTY_OPAQUE flag would be set on the parent
container. This would cause us, in the later rendering process, to skip the
drawing on that parent container, assuming that it was only asked to be redrawn
because of its opaque child's invalidation.

The fix is to now set the DIRTY flag on an invalidated view, not just on its parent
hierarchy. The DIRTY_OPAQUE logic will avoid setting the opaque flag on views/parents
that are already marked DIRTY, thus an invalidated parent will be correctly drawn
during the drawing process.

Change-Id: Ib5e014a125a4f5168f6a5a3166e941474659aca5

12 years agoMerge "The wave view attributes should not be public."
Dianne Hackborn [Sun, 11 Sep 2011 17:56:01 +0000 (10:56 -0700)]
Merge "The wave view attributes should not be public."

12 years agoMerge "Inter process interrogation ocassionally gets stuck."
Svetoslav Ganov [Sat, 10 Sep 2011 01:57:35 +0000 (18:57 -0700)]
Merge "Inter process interrogation ocassionally gets stuck."

12 years agoInter process interrogation ocassionally gets stuck.
Svetoslav Ganov [Sat, 10 Sep 2011 01:43:15 +0000 (18:43 -0700)]
Inter process interrogation ocassionally gets stuck.

1. There was a bug that was not handling correctly the
   case for which the interrogator requests an accessibility
   node info and the message describing how to fetch the
   latter for the same process case was delivered after the
   code that checks whether the message is there in order to
   dispatch it is executed. Now the message handling is done
   correctly - the caller checks if the message is present and
   if so processes it, otherwise the caller sleeps and is
   interrupted if such a message arrives.

bug:5138933

Change-Id: I4c2940b46c9a52a51c5ee48b83ca6811489765d6

12 years agoThe wave view attributes should not be public.
Dianne Hackborn [Sat, 10 Sep 2011 01:35:23 +0000 (18:35 -0700)]
The wave view attributes should not be public.

Change-Id: I7f021fc79385f5cf2e252389cc5f672f334ee4c4

12 years agoFix build
Adam Powell [Sat, 10 Sep 2011 01:09:51 +0000 (18:09 -0700)]
Fix build

Change-Id: I2b1ad9f057367873554ca4df0c93050bbbc9ebb7

12 years agoMerge "Fix metrics on Holo progress dialogs"
Adam Powell [Sat, 10 Sep 2011 00:47:23 +0000 (17:47 -0700)]
Merge "Fix metrics on Holo progress dialogs"

12 years agoFix metrics on Holo progress dialogs
Adam Powell [Fri, 9 Sep 2011 23:22:34 +0000 (16:22 -0700)]
Fix metrics on Holo progress dialogs

Change-Id: I8818d002dcee0ca6d6deead9e0403c07e8ef4460

12 years agoMerge "Go faster!!!!"
Romain Guy [Sat, 10 Sep 2011 00:35:02 +0000 (17:35 -0700)]
Merge "Go faster!!!!"

12 years agoMerge "MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile"
James Dong [Sat, 10 Sep 2011 00:32:50 +0000 (17:32 -0700)]
Merge "MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile"

12 years agoMTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile
Devaraj Rangasamy [Fri, 9 Sep 2011 00:53:33 +0000 (17:53 -0700)]
MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile

MTS tests have hardcoded video framerates.
MTS can query the video framerate supported by device via
Camcorder profiles and use.

Change-Id: I61666df6af58eaba46f7366521cc114184cb4ac5
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
12 years agoMerge "Tweak VelocityTracker. Bug: 5265529"
Jeff Brown [Sat, 10 Sep 2011 00:01:25 +0000 (17:01 -0700)]
Merge "Tweak VelocityTracker. Bug: 5265529"

12 years agoHide method to fix the build
Gilles Debunne [Fri, 9 Sep 2011 23:46:42 +0000 (16:46 -0700)]
Hide method to fix the build

Change-Id: I5a556454a722bf037932632fa7e6ee6a2832a68d

12 years agoMerge "Relax form autocomplete conditions"
Ben Murdoch [Fri, 9 Sep 2011 23:14:20 +0000 (16:14 -0700)]
Merge "Relax form autocomplete conditions"

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 agoTweak VelocityTracker.
Jeff Brown [Fri, 9 Sep 2011 22:39:35 +0000 (15:39 -0700)]
Tweak VelocityTracker.
Bug: 5265529

Calculate the velocity using the most recent touch sample as the
point of reference instead of the oldest.  This change more heavily
weights recent touch samples and reduces the sample time window
used for calculation.  This significantly improves the accuracy
of fling gesture detection.

Change-Id: Ib1940933e786e5f6a731552a99bcd9400741d55f

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 agoGo faster!!!!
Romain Guy [Fri, 9 Sep 2011 22:30:30 +0000 (15:30 -0700)]
Go faster!!!!

The less we do, the faster we draw.

Change-Id: I7bbc3908b36d8ae295ea3e61ef71fd9ee2187970

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 agoHandle HSPAP.
John Huang [Fri, 9 Sep 2011 21:52:57 +0000 (14:52 -0700)]
Handle HSPAP.

We were missing a case statement for HSPAP when picking icons.
Treat it the same as the other HSPA types.

bug: 5286238
Change-Id: Ia222cc600a5920e057698ba8b0d2cc8e4836b500

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 agoRevert encryption mapping for device wipes.
Ben Komalo [Wed, 7 Sep 2011 23:35:56 +0000 (16:35 -0700)]
Revert encryption mapping for device wipes.

External storage volumes that were emulated+encrypted needed to have
their encryption mapping removed so that it doesn't try to encrypt the
volume after formatting them.

This just wires through an argument through vold, and assumes that vold
will do the right thing even if there is no encryption mapping set.

Bug: 5017638
Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad

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 agoRelax form autocomplete conditions
Ben Murdoch [Fri, 9 Sep 2011 15:49:44 +0000 (16:49 +0100)]
Relax form autocomplete conditions

Use the URL host and path rather than the complete url to store
form autocomplete data. This helps in the situation that a site
uses some dynamic query string on the page that contains the form.

Also set the autoocmplete threshold to 1 so that we don't flick the
autocomplete options up and down as you type the first few characters.

Bug: 5265606
Change-Id: I7b372400062ae34f70a78b786007910dc179b101

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 agoFixing DownloadManager Test app.
Neal Nguyen [Tue, 30 Aug 2011 22:44:49 +0000 (15:44 -0700)]
Fixing DownloadManager Test app.

The skip notification version of waitForDownloadOrTimeout wasn't actually
skipping the DownloadManager notification check.

Change-Id: Iee42d9c67e63c9dc45ef5aad8ada7d34c31eeb60

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