OSDN Git Service
Android (Google) Code Review [Mon, 28 Sep 2009 23:25:53 +0000 (19:25 -0400)]
Merge change Id29ec50d into eclair
* changes:
Do not crash appwdiget host when a pending intent send fails.
Romain Guy [Mon, 28 Sep 2009 23:24:35 +0000 (16:24 -0700)]
Do not crash appwdiget host when a pending intent send fails.
Change-Id: Id29ec50dcb4d51589b9732ace6d505fcea9cc787
Mike Lockwood [Mon, 28 Sep 2009 23:08:53 +0000 (19:08 -0400)]
Disable keyguard while docked when the lock screen is insecure.
Change-Id: If6e11bb49a2cbbe904517e6037d1e8b99fe2717c
Signed-off-by: Mike Lockwood <lockwood@android.com>
Android (Google) Code Review [Mon, 28 Sep 2009 23:03:04 +0000 (19:03 -0400)]
Merge change I36ad03e1 into eclair
* changes:
Delegate exclude mimetypes to FasttrackBadgeWidget
Android (Google) Code Review [Mon, 28 Sep 2009 22:11:28 +0000 (18:11 -0400)]
Merge change I55edce63 into eclair
* changes:
Fix issue #
2149145: Safe Mode does not work on Sholes device
Tadashi G. Takaoka [Mon, 28 Sep 2009 21:48:15 +0000 (14:48 -0700)]
Delegate exclude mimetypes to FasttrackBadgeWidget
Internal Bug:
2138745
Mike Cleron [Mon, 28 Sep 2009 21:22:16 +0000 (14:22 -0700)]
Remove obsolete links; start at a method to turn on fading scrollbars
Wu-cheng Li [Mon, 28 Sep 2009 20:51:12 +0000 (13:51 -0700)]
Change FLASH_MODE_VIDEO_LIGHT to FLASH_MODE_TORCH.
Android (Google) Code Review [Mon, 28 Sep 2009 20:49:16 +0000 (16:49 -0400)]
Merge change I7c7b1596 into eclair
* changes:
Fix a warning output.
Romain Guy [Mon, 28 Sep 2009 20:42:20 +0000 (13:42 -0700)]
Fix possible NPE in AbsListView.positionSelector().
ListView was being reckless and calling the method with a null object in some
situations.
Change-Id: Ibb595a1ff6f916c699e4af55450966dd7fd8c156
Dianne Hackborn [Mon, 28 Sep 2009 20:25:46 +0000 (13:25 -0700)]
Fix issue #
2149145: Safe Mode does not work on Sholes device
The APIs for checking whether keys are held down now also look
at virtual keys.
However it turns out there is less than a second between the time we
start the input thread and check for safe mode, so there is not enough
time to actually open all of the devices and get the data from them
about the finger being down to determine if a virtual key is down.
So now you can also hold DPAD center, trackball center, or s to
enter safe mode. Also give some vibrator feedback.
Change-Id: I55edce63bc0c375813bd3751766b8070beeb0153
Nick Pelly [Mon, 28 Sep 2009 19:33:17 +0000 (12:33 -0700)]
Move android.bluetooth.ParcelUuid to android.os.ParcelUuid
Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631
Xavier Ducrohet [Mon, 28 Sep 2009 19:57:42 +0000 (12:57 -0700)]
Fix a warning output.
This was introduced by the dpi work.
Change-Id: I7c7b1596085f70532b8279139c287a2a58f57046
Android (Google) Code Review [Mon, 28 Sep 2009 19:47:56 +0000 (15:47 -0400)]
Merge change Ida50e915 into eclair
* changes:
Pass limit=50 to all suggestion sources.
Bjorn Bringert [Mon, 28 Sep 2009 19:11:52 +0000 (20:11 +0100)]
Pass limit=50 to all suggestion sources.
Should mitigate http://b/issue?id=
2149158
"Bad suggestions behavior within contacts app
search for 10k contact db"
Change-Id: Ida50e9157c3ce46fc7892ef09a67da9f4008e665
Android (Google) Code Review [Mon, 28 Sep 2009 18:46:43 +0000 (14:46 -0400)]
Merge change 27474 into eclair
* changes:
Don't crash search when getKeyDispatcherState() is null
Mike Cleron [Mon, 28 Sep 2009 18:39:02 +0000 (11:39 -0700)]
Fix build
Android (Google) Code Review [Mon, 28 Sep 2009 18:44:42 +0000 (14:44 -0400)]
Merge change 27243 into eclair
* changes:
Add drop shadow to contact name in ContactHeaderWidget
Android (Google) Code Review [Mon, 28 Sep 2009 18:40:34 +0000 (14:40 -0400)]
Merge change 27466 into eclair
* changes:
Turn on thubmnail capture unit test for media metadata retriever
Bjorn Bringert [Mon, 28 Sep 2009 18:37:29 +0000 (19:37 +0100)]
Don't crash search when getKeyDispatcherState() is null
Fixes http://b/editIssue?id=
2150672
Change-Id: I6fb87c1a59b4b3a945822932047a66c4116e6391
Android (Google) Code Review [Mon, 28 Sep 2009 18:12:03 +0000 (14:12 -0400)]
Merge change 27349 into eclair
* changes:
Fix
2143297: Fix transition from password -> visible password
Android (Google) Code Review [Mon, 28 Sep 2009 18:09:47 +0000 (14:09 -0400)]
Merge change 27462 into eclair
* changes:
Add an API to request a system activity to turn on Bluetooth.
Amith Yamasani [Sun, 27 Sep 2009 23:51:21 +0000 (16:51 -0700)]
Fix
2143297: Fix transition from password -> visible password
Nick Pelly [Mon, 28 Sep 2009 17:33:55 +0000 (10:33 -0700)]
Add an API to request a system activity to turn on Bluetooth.
Change-Id: I2fca33ad27017ea4e2ecba37854b749682d07672
James Dong [Mon, 28 Sep 2009 17:57:17 +0000 (10:57 -0700)]
Turn on thubmnail capture unit test for media metadata retriever
Mike Cleron [Mon, 28 Sep 2009 02:14:12 +0000 (19:14 -0700)]
Fading scrollbars return. But you have to opt in.
Android (Google) Code Review [Mon, 28 Sep 2009 17:33:01 +0000 (13:33 -0400)]
Merge change 27426 into eclair
* changes:
Handle the case where GoogleLocationSettingObserver::onChange is called after GoogleLocationSettingObserver::doNotObserve().
Evan Millar [Sat, 26 Sep 2009 23:45:04 +0000 (16:45 -0700)]
Add drop shadow to contact name in ContactHeaderWidget
Change-Id: Ieb6555bfca014b98567d1a981eaeb04e887e4dff
Grace Kloba [Mon, 28 Sep 2009 00:46:31 +0000 (17:46 -0700)]
Before we send VIEW_SIZE_CHANGED after first layout,
we should remove VIEW_SIZE_CHANGED in the queue if
there is any as we are going to send the message in
the front of the queue.
Fix http://b/issue?id=
2133222
Android (Google) Code Review [Mon, 28 Sep 2009 17:07:16 +0000 (13:07 -0400)]
Merge change 27411 into eclair
* changes:
Cache inflated view to avoid inflation of layouts in preferences If layout id is specified for a Preference object, convertView is set to null in its adapter which results in inflation of Preference view in getView each time the Preference object is laid out on the screen. Just use an instance variable to cache the inflated view nulling it whenever the layout changes and use it in initing the convertView in getView.
Android (Google) Code Review [Mon, 28 Sep 2009 16:56:02 +0000 (12:56 -0400)]
Merge change 27457 into eclair
* changes:
Added code style fix that actually did not get submitted in 2nd patch of previous change.
Guang Zhu [Mon, 28 Sep 2009 16:53:48 +0000 (09:53 -0700)]
Added code style fix that actually did not get submitted in 2nd patch of previous change.
Grace Kloba [Sun, 27 Sep 2009 18:44:14 +0000 (11:44 -0700)]
WebView may get message after destroy() is called.
Just return in this case.
Fix http://b/issue?id=
2143668
Android (Google) Code Review [Mon, 28 Sep 2009 16:27:45 +0000 (12:27 -0400)]
Merge change 27410 into eclair
* changes:
Add extension->mime type mappings
Android (Google) Code Review [Mon, 28 Sep 2009 16:24:08 +0000 (12:24 -0400)]
Merge change 27449 into eclair
* changes:
Always consider m4a files as audio, even when they contain a video track.
Andrew Stadler [Mon, 28 Sep 2009 16:23:53 +0000 (09:23 -0700)]
Add extension->mime type mappings
* Microsoft Office common extensions
* .xml -> text/xml
* Change existing mapping of ".pot"->"text/plain" to ".po"
Note: We already had a definition for .pot to text/plain. Per the
information found at <http://www.fileinfo.com/extension/pot> this is the
rarely seen "portable object file", and is often named ".po" to avoid
this same conflict.
Addresses bug #
2097457
Change-Id: I964b853fdeae77d742f627c535a8b32e0e53516a
Android (Google) Code Review [Mon, 28 Sep 2009 16:21:30 +0000 (12:21 -0400)]
Merge change 27185 into eclair
* changes:
Add checks for double-dumping on webkit data.
Guang Zhu [Sat, 26 Sep 2009 00:34:12 +0000 (17:34 -0700)]
Add checks for double-dumping on webkit data.
Also some logs seem to suggest that in rare occations, a webkit dump after timeout has occured actually never hears any response back from webkit, thus causing the test app to wait forever, because the request webkit data mechanism is not protected by a timeout watchdog. So adding a explicit log print before calling webkit dump for monitoring in future test runs.
Marco Nelissen [Mon, 28 Sep 2009 16:03:33 +0000 (09:03 -0700)]
Always consider m4a files as audio, even when they contain a video track.
Daniel Sandler [Mon, 28 Sep 2009 14:38:38 +0000 (10:38 -0400)]
Updated status bar graphics (drop date 9/25/09).
Andrei Popescu [Mon, 28 Sep 2009 11:42:02 +0000 (12:42 +0100)]
Handle the case where GoogleLocationSettingObserver::onChange
is called after GoogleLocationSettingObserver::doNotObserve().
Fixes http://b/issue?id=
2147888
Suchi Amalapurapu [Mon, 28 Sep 2009 07:29:15 +0000 (00:29 -0700)]
Cache inflated view to avoid inflation of layouts in preferences
If layout id is specified for a Preference object, convertView is set to null
in its adapter which results in inflation of Preference view in getView each time the Preference object is laid out on the screen.
Just use an instance variable to cache the inflated view nulling it whenever the layout changes and use it in initing the convertView in getView.
Mathias Agopian [Mon, 28 Sep 2009 05:47:27 +0000 (22:47 -0700)]
don't emit GL commands when sf is in freeze mode
We were emitting GL commands, calling composition complete and releasing clients
without ever calling eglSwapBuffers(), which is completely wrong on non-direct
renders. This could cause transient drawing artifacts when unfreezing the
screen (upon orientaion change for instance) and could also block the clients
for ever as they are waiting for their previous buffer to be rendered.
Android (Google) Code Review [Mon, 28 Sep 2009 03:19:49 +0000 (23:19 -0400)]
Merge change 27387 into eclair
* changes:
fix [
2147737] Pixel Flinger needs to set EGL_RENDERABLE_TYPE to EGL_OPENGL_ES_BIT
Mathias Agopian [Mon, 28 Sep 2009 03:18:16 +0000 (20:18 -0700)]
fix [
2147737] Pixel Flinger needs to set EGL_RENDERABLE_TYPE to EGL_OPENGL_ES_BIT
Also set max swap interval to 1, which is the only supported value currently.
Dmitri Plotnikov [Mon, 28 Sep 2009 03:16:31 +0000 (20:16 -0700)]
Fixing broken javadoc.
Was linking to a hidden interface.
Change-Id: Iff48cb97ed4078b2b91bade9a47d7afc5d7891bf
Dmitri Plotnikov [Sun, 27 Sep 2009 15:52:56 +0000 (08:52 -0700)]
Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.
Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
Android (Google) Code Review [Mon, 28 Sep 2009 02:43:05 +0000 (22:43 -0400)]
Merge change 27318 into eclair
* changes:
Check that playlist entries refer to a row in the audio table.
Android (Google) Code Review [Mon, 28 Sep 2009 02:13:43 +0000 (22:13 -0400)]
Merge change 27292 into eclair
* changes:
Add documentation about flash and change video-light to torch.
Android (Google) Code Review [Mon, 28 Sep 2009 01:47:29 +0000 (21:47 -0400)]
Merge change 27375 into eclair
* changes:
Allways dump the list of allocated buffers when an allocation fails.
Mathias Agopian [Mon, 28 Sep 2009 01:44:09 +0000 (18:44 -0700)]
Allways dump the list of allocated buffers when an allocation fails.
Hopefully this will help us understand cases of failures such as [
2148405]
Android (Google) Code Review [Mon, 28 Sep 2009 01:04:09 +0000 (21:04 -0400)]
Merge change 27364 into eclair
* changes:
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
Android (Google) Code Review [Mon, 28 Sep 2009 00:56:57 +0000 (20:56 -0400)]
Merge change 27348 into eclair
* changes:
fix "pacakge" typo in error log message
Jason Sams [Mon, 28 Sep 2009 00:50:38 +0000 (17:50 -0700)]
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
Wu-cheng Li [Sun, 27 Sep 2009 20:19:36 +0000 (13:19 -0700)]
Add documentation about flash and change video-light to torch.
Android (Google) Code Review [Mon, 28 Sep 2009 00:06:33 +0000 (20:06 -0400)]
Merge change 27351 into eclair
* changes:
Allow wallpaper picker to work.
Dianne Hackborn [Mon, 28 Sep 2009 00:05:46 +0000 (17:05 -0700)]
Allow wallpaper picker to work.
Change-Id: I379f25e0e8e372d72c0a89e71ccd584a5dbb3648
Doug Zongker [Mon, 28 Sep 2009 00:00:13 +0000 (17:00 -0700)]
fix "pacakge" typo in error log message
Android (Google) Code Review [Sun, 27 Sep 2009 23:38:23 +0000 (19:38 -0400)]
Merge change 27342 into eclair
* changes:
Don't back up / restore "allow apps from unknown sources"
Christopher Tate [Sun, 27 Sep 2009 23:36:14 +0000 (16:36 -0700)]
Don't back up / restore "allow apps from unknown sources"
We no longer back up the state of the "Allow the installation of applications
from unknown sources" setting, nor do we set that based on restore data even if
it is present.
Change-Id: Ida276874616f1ff82807d642b0b733fcab339529
Android (Google) Code Review [Sun, 27 Sep 2009 23:07:29 +0000 (19:07 -0400)]
Merge change 27306 into eclair
* changes:
Modified the test case name for the browser page load test.
Android (Google) Code Review [Sun, 27 Sep 2009 22:58:27 +0000 (18:58 -0400)]
Merge change 27325 into eclair
* changes:
Don't forget to clear "backup in progress" state when finishing a pass
Christopher Tate [Sun, 27 Sep 2009 22:16:44 +0000 (15:16 -0700)]
Don't forget to clear "backup in progress" state when finishing a pass
If a backup pass had been skipped (either because the transport was unavailable
or -- in a common case! -- because there was simply no work pending when the
periodic backup check fired), we were forgetting to reset the "backup currently
in progress" flag. Once we'd done that, the device would *NEVER* perform a
backup until it was rebooted, since it would forever think that there was one
currently in operation that must not be interfered with.
Change-Id: I0d6d7375dc6de99b599222a449934e70fe13ebb9
Android (Google) Code Review [Sun, 27 Sep 2009 22:10:28 +0000 (18:10 -0400)]
Merge change 27304 into eclair
* changes:
Fix Cdma re-start of default connection.
Marco Nelissen [Sun, 27 Sep 2009 22:00:26 +0000 (15:00 -0700)]
Check that playlist entries refer to a row in the audio table.
Android (Google) Code Review [Sun, 27 Sep 2009 22:04:13 +0000 (18:04 -0400)]
Merge change 27315 into eclair
* changes:
Reset mPreventDrag at touch_down.
Robert Greenwalt [Sun, 27 Sep 2009 21:01:33 +0000 (14:01 -0700)]
Fix Cdma re-start of default connection.
We dropped an onTrySetupData call because onEnableNewApn calls that automatically on GSM,
but CDMA was not doing anything. Made CDMA simply call onTrySetupData.
Also, isApnTypeActive for CDMA was returning true even when no data was working. Changed
to report true when initing or connected, like GSM.
Grace Kloba [Sun, 27 Sep 2009 21:48:07 +0000 (14:48 -0700)]
Reset mPreventDrag at touch_down.
Check the delta for short press case as we may switch to
PREVENT_DRAG_NO at SWITCH_TO_SHORTPRESS.
This should fix another two corner cases where flick doesn't
do anything.
Wei Huang [Sun, 27 Sep 2009 17:18:31 +0000 (10:18 -0700)]
add new column "real_date" for IM messages table.
Change-Id: I5c4b3da0843ff0205c2aff5f89639aba47a84e3b
Yu Shan Emily Lau [Sun, 27 Sep 2009 21:14:10 +0000 (14:14 -0700)]
Modified the test case name for the browser page load test.
Android (Google) Code Review [Sun, 27 Sep 2009 21:04:44 +0000 (17:04 -0400)]
Merge change 27301 into eclair
* changes:
bug
2148061: if PduBody is zero length, treat it as an empty message.
Android (Google) Code Review [Sun, 27 Sep 2009 21:00:20 +0000 (17:00 -0400)]
Merge change 27291 into eclair
* changes:
Fix issue #
2148939: Sholes slow to wake up in landscape mode
Ray Chen [Fri, 25 Sep 2009 18:46:59 +0000 (11:46 -0700)]
Remove fflush when storing thumbanil to sdcard.
Wei Huang [Sun, 27 Sep 2009 20:32:24 +0000 (13:32 -0700)]
bug
2148061: if PduBody is zero length, treat it as an empty message.
Change-Id: I2f352dd481f6b8d02b67cd3a44d692e3a5d03999
Dianne Hackborn [Sun, 27 Sep 2009 20:21:20 +0000 (13:21 -0700)]
Fix issue #
2148939: Sholes slow to wake up in landscape mode
This was introduced when I did the fading of the lock screen,
which relies on setting the policy visibility of the windows behind
it to be hidden. As a result, when the orientation changed or
the activity was restarted, they wouldn't be resized or reported
as drawn, and the activity manager would wait until its timeout
before unfreezing the screen.
We now have a new method on WindowState to find out if a window
has drawn itself, which is used in the appropriate places.
Change-Id: If05f8b1947d3029917f62ad0f89b43544bd0a4dc
Android (Google) Code Review [Sun, 27 Sep 2009 19:43:17 +0000 (15:43 -0400)]
Merge change 27032 into eclair
* changes:
BatteryService: Specify low battery levels in resources.
Android (Google) Code Review [Sun, 27 Sep 2009 19:42:14 +0000 (15:42 -0400)]
Merge change 27142 into eclair
* changes:
Handle expiration of discovery mode in system server.
Mike Lockwood [Fri, 25 Sep 2009 13:32:19 +0000 (09:32 -0400)]
BatteryService: Specify low battery levels in resources.
Also trigger low battery when battery reaches the specified level
rather than when it drops below the level.
Fixes bug b/
1788656
Change-Id: I81f5cbb9892fc6574320d92e153211f83c69f415
Signed-off-by: Mike Lockwood <lockwood@android.com>
Android (Google) Code Review [Sun, 27 Sep 2009 19:41:51 +0000 (15:41 -0400)]
Merge change 27129 into eclair
* changes:
Bounds check read and write path in native code.
Android (Google) Code Review [Sun, 27 Sep 2009 19:24:48 +0000 (15:24 -0400)]
Merge change 27154 into eclair
* changes:
When change from narrow screen to wide screen, we will leave the mMinZoomScale to 1.0
Android (Google) Code Review [Sun, 27 Sep 2009 19:19:27 +0000 (15:19 -0400)]
Merge change 27271 into eclair
* changes:
Only scan windows media files when those codecs are enabled.
Marco Nelissen [Sun, 27 Sep 2009 18:24:41 +0000 (11:24 -0700)]
Only scan windows media files when those codecs are enabled.
Android (Google) Code Review [Sun, 27 Sep 2009 18:05:05 +0000 (14:05 -0400)]
Merge change 27267 into eclair
* changes:
Add official assets for tabs in compatibility mode
Mike Cleron [Sun, 27 Sep 2009 18:00:14 +0000 (11:00 -0700)]
Add official assets for tabs in compatibility mode
Android (Google) Code Review [Sun, 27 Sep 2009 17:20:44 +0000 (13:20 -0400)]
Merge change 27177 into eclair
* changes:
Add auto-brightness mode to the list of backed-up settings
Dmitri Plotnikov [Fri, 25 Sep 2009 23:20:31 +0000 (16:20 -0700)]
Changing contact status to Presence-based
Change-Id: I35589e87f1e1743413d3f10509e9eccc333aa2fb
Android (Google) Code Review [Sun, 27 Sep 2009 07:31:59 +0000 (03:31 -0400)]
Merge change 27188 into eclair
* changes:
Fix
2146581: Make tabs work for donut apps Use different tab assets with the original coloring scheme for apps that are not Eclair-aware.
Dianne Hackborn [Sun, 27 Sep 2009 00:34:50 +0000 (17:34 -0700)]
Maybe fix issue #
2145012: Array bounds exception in touch event processing
Change-Id: I223d9ae29f22f08cb8426ccd8bbadeedd5db3fc3
Android (Google) Code Review [Sun, 27 Sep 2009 00:00:07 +0000 (20:00 -0400)]
Merge change 27238 into eclair
* changes:
The touch screen is probably a feature.
Dianne Hackborn [Sat, 26 Sep 2009 23:39:23 +0000 (16:39 -0700)]
The touch screen is probably a feature.
Also extend the feature APIs a bit.
Change-Id: I99e932d7f4e61edb0e20f75c55e9831e4b59a14d
Android (Google) Code Review [Sat, 26 Sep 2009 21:49:12 +0000 (17:49 -0400)]
Merge change 27234 into eclair
* changes:
Fix http://b/issue?id=
2106682 (Don't show status if we don't have it).
Evan Millar [Sat, 26 Sep 2009 21:47:38 +0000 (14:47 -0700)]
Fix b/issue?id=
2106682 (Don't show status if we don't have it).
Change-Id: I1636914ef47fc5319f2593d3e7aea33e523be3c7
Android (Google) Code Review [Sat, 26 Sep 2009 21:06:47 +0000 (17:06 -0400)]
Merge change 26993 into eclair
* changes:
Pass provider authority to SyncActivityTooManyDeletes
Android (Google) Code Review [Sat, 26 Sep 2009 20:32:18 +0000 (16:32 -0400)]
Merge change 27233 into eclair
* changes:
Change longClick -> click in ContactHeaderWidget.
Evan Millar [Wed, 23 Sep 2009 19:04:59 +0000 (12:04 -0700)]
Change longClick -> click in ContactHeaderWidget.
Also don't enable it by default, but add an api to explicitly request
it.
Change-Id: I75fa4bfddba7a1800dec24e6a068eca614370a26
Dianne Hackborn [Sat, 26 Sep 2009 19:43:19 +0000 (12:43 -0700)]
Turn on haptic feedback by default.
Change-Id: I85efeca1a0aca91992e28236077c668e0d14cbbb
Android (Google) Code Review [Sat, 26 Sep 2009 18:12:23 +0000 (14:12 -0400)]
Merge change 27159 into eclair
* changes:
DO NOT MERGE: Cleaning up the PipedStreamTest
Jesse Wilson [Fri, 25 Sep 2009 23:04:59 +0000 (16:04 -0700)]
DO NOT MERGE: Cleaning up the PipedStreamTest
Jesse Wilson [Sat, 26 Sep 2009 16:09:10 +0000 (09:09 -0700)]
API XML changes to accompany dalvik.system deprecation.
See https://android-git.corp.google.com/g/26570
Jeff Sharkey [Sat, 26 Sep 2009 09:12:44 +0000 (02:12 -0700)]
Remove query parameters for delaying group updates.
Callers should instead use applyBatch(), which now delays
any visible updates until the transation finishes. This
partially fixes http://b/
2075275