Commit Graph

13323 Commits

Author SHA1 Message Date
Dianne Hackborn
2856c5b19a Refactor car mode.
Extract all UI behavior from dock observer and ACTION_DOCK_EVENT.

Also introduce a desk type to go along with the car type all through
the resource system, since we now need to have corresponding high-level
broadcasts for desk dock mode.  As part of that I also reworked some
of the logic for switching modes to all funnel through a single
update() call that looks all of the current state to decide what to
do next, and fixed various locking issues.

In addition I found there were bugs in the configuration change
handling causing us to only switch into the car mode config and
then never get out of it.  Unfortunately now that we are actually
changing the configuration for each mode change, the transitions
between them are really crummy as we restart all kinds of
activities. :(
2010-03-05 10:57:47 -08:00
Suchi Amalapurapu
51edc0fb69 Merge "Fix persisting flags for apps with data only Force gc's before deleting containers.:" 2010-03-05 10:36:15 -08:00
Christopher Tate
30f82b8c52 Merge "Calculate bitmask array sizes correctly in the EventHub" 2010-03-05 10:22:35 -08:00
Gloria Wang
9872e95969 Merge "Release mediaplayer if the current state is not suspending. Fix for bug 2480093." 2010-03-05 10:22:04 -08:00
Vasu Nori
d1f3601dc9 Merge "provide databasename to the logging func registration func" 2010-03-05 10:06:48 -08:00
Ben Murdoch
0bcad9b1dc Merge "It is possible that we may get a call from WebCore that the first layout has completed before we've successfully syncd the webview dimensions from Java to native and in this case, we end up syncing a height of 0 to WebKit. This causes hit detection to fail, as WebKit thinks we have a 0-height visible area. This patch fixes this scenario by syncing the height of the webview back to WebKit in the case that the first layout comes back before we've sent our dimensions." 2010-03-05 09:42:06 -08:00
Shimeng (Simon) Wang
344ae7d820 Merge "Squashed commit of the following:" 2010-03-05 09:40:42 -08:00
Andreas Huber
d9e3b3460c Merge "NPR's audio streams start with a 30sec segment whose mp3 headers are subtly different from those following. Allow certain bits to vary that were thought to be fixed before." 2010-03-05 09:33:29 -08:00
Mike Reed
b11727dd5a Merge "return false if any exception is thrown from savePicture" 2010-03-05 07:30:16 -08:00
Mike Lockwood
a851c5dc63 Merge "fix NullPointerException if location is not set." 2010-03-05 07:23:06 -08:00
Robert Greenwalt
5500621e72 Merge "Update framework tethering UI" 2010-03-04 18:47:24 -08:00
Mike Lockwood
ab5fbd3aa5 Merge "Remove the ProximityAlerts update Receiver when the last ProximityAlert expires. Fixes issue 6900." 2010-03-04 18:32:37 -08:00
Romain Guy
718f6fa513 Merge "Do not select any item when the user clicks outside of the list content. Bug #2485544" 2010-03-04 18:30:52 -08:00
Dmitri Plotnikov
25eb26036a Merge "Adding a mime type for the phone lookup URI." 2010-03-04 18:28:00 -08:00
Dan Egnor
909c0d1be8 Merge "Improve watchdog diagnostics." 2010-03-04 17:37:16 -08:00
Fred Quintana
dbdc5950b9 Merge "Defend against an unexpected null bundle that causes blockingGetAuthToken() to throw an NPE." 2010-03-04 17:12:39 -08:00
Romain Guy
78e27ff999 Merge "Report an offset change in a live wallpaper when the wallpaper is resized. Bug #2489288" 2010-03-04 16:52:16 -08:00
Christopher Tate
9855a0575e Calculate bitmask array sizes correctly in the EventHub
We've gotten lucky to date:  the previous calculation of bitmask array
sizes, (maxval+1)/8 only works properly when 'maxval' is one less than
a multiple of 8.  Fortunately, this has either been the case for us,
or there has been sufficient 'unused' space at the end of the defined
max value range that we haven't wound up overreading/overwriting the
allocated buffers.

Change-Id: I563a93a86644ab9f19489565e06c28e06bb53abc
2010-03-04 16:32:32 -08:00
Christopher Tate
532c4a70d3 Merge "Fix #2489986 : The key bitmask needs to cover all possible keys" 2010-03-04 16:03:40 -08:00
Christopher Tate
2032f98f8c Fix #2489986 : The key bitmask needs to cover all possible keys
Change-Id: Ieebd2f879e6b6fbc0388655dd66f34be89e809a0
2010-03-04 16:00:29 -08:00
Christian Sonntag
3c5d7073c4 Merge "fix hex parsing of bmgr" 2010-03-04 15:11:32 -08:00
Amith Yamasani
e53c258afb Merge "Show AutoCompleteTextView dropdown in Search dialog when cursor updates. Fixes b/2426929" 2010-03-04 14:45:16 -08:00
John Wang
674b3ace5c Merge "Add r-w property of emergency number list." 2010-03-04 14:42:42 -08:00
Xia Wang
e85478ebdd Merge "Suppress testCheckAndProcessPlusCode from continuous test system as testing devices are not registered with any carrier networks." 2010-03-04 14:19:51 -08:00
Eric Fischer
f17a13a84a Merge "Import new translations" 2010-03-04 14:17:32 -08:00
Joe Onorato
f57a23f07e Merge "Fix typo. According to grep, this is the only place in the tree that has it." 2010-03-04 13:13:42 -08:00
Daniel Sandler
5c8a613f7e Merge "Remove whitespace around UMS dialog artwork." 2010-03-04 11:58:38 -08:00
Dianne Hackborn
49c23bc154 Merge "Fix some bugs." 2010-03-04 11:56:12 -08:00
Dianne Hackborn
6687fb103d Fix some bugs.
Bug #2376231: Apps lose window focus (and back key causes ANR) if the
lock screen is dismissed while the phone is in landscape mode

This is another case where we weren't recomputing the focused window
after changing the visibility policy.

bug #2479958: Investigate source of "Resources don't contain package
for resource number 0x7f0a0000"

Um, okay, so it turns out there were bugs all over the place where
we would load an XML resource from a another application, but not
use the Resources for that application to retrieve its resources...!
I think the only reason any of this stuff was working at all was
because it typically only cared about retrieving the resource
identifiers of the items (it would look up the values later).

Bug #2401082: Passion ERE26 monkey crash - InputMethodManagerService

Add some null checks.
2010-03-04 11:52:14 -08:00
Ray Chen
4a86235a49 Merge "Update current.xml to fix build error." 2010-03-04 11:47:38 -08:00
Vasu Nori
e5d057e040 Merge "a dbobject is closed twice and that causes incorrect warnings" 2010-03-04 11:47:12 -08:00
Eric Fischer
f0895e8530 Merge "Remove test annotations from tests requiring package-private access." 2010-03-04 11:40:34 -08:00
Suchi Amalapurapu
3af56bb5d8 Merge "Null check for scheme. If scheme is unspecified let package parse continue. We will return errors if parsing fails anyway. If scheme is not null, restrict it to being a file uri." 2010-03-04 11:23:52 -08:00
Romain Guy
9a7f0b95f9 Merge "Update indeterminate progress bar assets. Bug #2469246" 2010-03-04 11:17:43 -08:00
Kenny Root
78f8efb90e Merge "Expand buffer in SynthProxy to hold int" 2010-03-04 11:16:24 -08:00
Ray Chen
5e1bfe0cc2 Merge "Remove native options." 2010-03-04 11:14:16 -08:00
John Wang
33c98f2d68 Merge "Update Singapore default time zone." 2010-03-04 11:10:21 -08:00
Adam Powell
0456f2caa2 Merge "Fix epsilon calculation for jumpy touchscreen filtering" 2010-03-04 10:22:44 -08:00
Adam Powell
d7e756a5a2 Merge "Awaken ListView scroll bars for overscroll" 2010-03-04 10:21:30 -08:00
Adam Powell
cc657b8cc0 Merge "Fix VelocityTracker for CTS tests" 2010-03-04 10:21:02 -08:00
Mike Lockwood
acf2ed2703 Merge "Delay setting initial screen brightness until after the sensors are initialized." 2010-03-04 05:07:27 -08:00
Steve Block
56ba0932c4 Merge "Removes some storage tests from the DumpRenderTree skipped lists, now that Android-specific results are provided" 2010-03-04 03:06:42 -08:00
Wink Saville
b08e358c7c Merge "Fix a loss of data." 2010-03-03 21:03:07 -08:00
Daisuke Miyakawa
71aab822c5 Merge "Use "My Contacts"" 2010-03-03 18:55:41 -08:00
James Dong
c52d757665 Merge "Clean up MediaRecorder for public Java SDK - update comments and fix a check in setAudioChannels()" 2010-03-03 17:38:05 -08:00
Adam Powell
9926d56ab3 Merge "InputDevice filtering for jumpy screens. Updated ScaleGestureDetector for framework deprecations." 2010-03-03 17:22:15 -08:00
Gilles Debunne
90db01d98d Merge "More ExpandableListView fixes to take headers into account." 2010-03-03 16:49:05 -08:00
Robert Greenwalt
95e212b0da Merge "Add error reporting for Tethering." 2010-03-03 16:35:23 -08:00
Eric Laurent
df4ef12972 Merge "Fix issue 2456968: Alarm rings in "silent mode and when Alarm in silent mode is turned off"." 2010-03-03 16:09:55 -08:00
Jason Sams
1b8b779259 Merge "Improve RS error handling. On errors RS will now store the error and a message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received." 2010-03-03 15:13:33 -08:00