OSDN Git Service

android-x86/frameworks-base.git
15 years agoMerge change I27009b08 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 04:35:55 +0000 (00:35 -0400)]
Merge change I27009b08 into eclair

* changes:
  Fix EVDO SNR signal bar calculation

15 years agoFix issue #2149126: unable to answer incoming call, various problems
Dianne Hackborn [Tue, 29 Sep 2009 01:27:26 +0000 (18:27 -0700)]
Fix issue #2149126: unable to answer incoming call, various problems

Now that we can have a non-app-window cross-wallpaper animation,
we need to make sure to not access a null app token.

Change-Id: Ia00debd4b2b431d15bd074927a9035e1bc0a6445

15 years agoMerge change I5235cf3f into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 01:34:37 +0000 (21:34 -0400)]
Merge change I5235cf3f into eclair

* changes:
  Fix but processing raster state pragma. rename stateFragmentStore to stateStore

15 years agoMerge change Ie1072f12 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 01:33:19 +0000 (21:33 -0400)]
Merge change Ie1072f12 into eclair

* changes:
  Finish off java API to allow fading scrollbars

15 years agoMerge changes I82c78b83,I54f72d9d into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 01:32:47 +0000 (21:32 -0400)]
Merge changes I82c78b83,I54f72d9d into eclair

* changes:
  Don't ask for pbuffer support, because we don't use any pbuffers.
  Print out EGL configuration info for the config we've chosen.

15 years agoFinish off java API to allow fading scrollbars
Mike Cleron [Tue, 29 Sep 2009 01:21:37 +0000 (18:21 -0700)]
Finish off java API to allow fading scrollbars

15 years agoDon't ask for pbuffer support, because we don't use any pbuffers.
Jack Palevich [Tue, 29 Sep 2009 01:28:07 +0000 (18:28 -0700)]
Don't ask for pbuffer support, because we don't use any pbuffers.

15 years agoFix docs breakage.
Jeff Sharkey [Tue, 29 Sep 2009 01:22:46 +0000 (18:22 -0700)]
Fix docs breakage.

15 years agoPrint out EGL configuration info for the config we've chosen.
Jack Palevich [Tue, 29 Sep 2009 01:22:01 +0000 (18:22 -0700)]
Print out EGL configuration info for the config we've chosen.

Don't ask for PBuffer support, since we don't actually use pbuffers,
and some drivers might not support them.

15 years agoFix but processing raster state pragma.
Jason Sams [Tue, 29 Sep 2009 01:12:56 +0000 (18:12 -0700)]
Fix but processing raster state pragma.
rename stateFragmentStore to stateStore

15 years agoSeparate API for vCards through openAssetFileDescriptor().
Jeff Sharkey [Sun, 27 Sep 2009 23:55:00 +0000 (16:55 -0700)]
Separate API for vCards through openAssetFileDescriptor().

Previously we overloaded Contacts.CONTENT_URI to return
vCard-formatted Contacts entries.  To fix http://b/2138790
this is a separate API that returns a well-known MIME-type.

Also helps fix http://b/2078399 by adding OFFICE_LOCATION.

15 years agoAdding status update attribution to ContactHeaderWidget
Dmitri Plotnikov [Mon, 28 Sep 2009 21:32:54 +0000 (14:32 -0700)]
Adding status update attribution to ContactHeaderWidget

Change-Id: I677f8a8d805c68d95ee56cd1119cc3e97c6ae073

15 years agoMerge change Ie6a95736 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 00:15:44 +0000 (20:15 -0400)]
Merge change Ie6a95736 into eclair

* changes:
  Fix artifact in tab drawing.

15 years agoMerge change Ibeb22f37 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 00:09:57 +0000 (20:09 -0400)]
Merge change Ibeb22f37 into eclair

* changes:
  Call the proper variant of markAsContacted.

15 years agoMerge change Ie7d26695 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 00:05:55 +0000 (20:05 -0400)]
Merge change Ie7d26695 into eclair

* changes:
  Modify the "active chats" uri to not overlap with other uris.

15 years agoCall the proper variant of markAsContacted.
Jeff Hamilton [Mon, 28 Sep 2009 23:57:37 +0000 (16:57 -0700)]
Call the proper variant of markAsContacted.

Change-Id: Ibeb22f37bd079b1a965f5b350ac7ca6e77eac00f

15 years agoMerge change I228d52db into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 23:47:28 +0000 (19:47 -0400)]
Merge change I228d52db into eclair

* changes:
  Three changes.

15 years agoThree changes.
Daisuke Miyakawa [Mon, 28 Sep 2009 13:28:26 +0000 (06:28 -0700)]
Three changes.

- Add FOR_EXPORT_ONLY to Data column.
- Make VCardComposer use Contacts instead of RawContacts.
- Make VCardComposer honor FOR_CONTACT_ONLY regardless of
  the intention of any caller, which makes composer unable to
  compose any contact with "is_restricted" flag, which is unseen
  from outside the contacts provider.

Internal Issue number: 21472482143207

15 years agoMerge change I669ce246 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 23:35:43 +0000 (19:35 -0400)]
Merge change I669ce246 into eclair

* changes:
  Print out all available EGL configurations.

15 years agoPrint out all available EGL configurations.
Jack Palevich [Mon, 28 Sep 2009 23:34:45 +0000 (16:34 -0700)]
Print out all available EGL configurations.

15 years agoMerge change Id29ec50d into eclair
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.

15 years agoDo 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

15 years agoDisable keyguard while docked when the lock screen is insecure.
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>
15 years agoMerge change I36ad03e1 into eclair
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

15 years agoMerge change I55edce63 into eclair
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

15 years agoModify the "active chats" uri to not overlap with other uris.
Mark Wagner [Mon, 28 Sep 2009 22:10:28 +0000 (15:10 -0700)]
Modify the "active chats" uri to not overlap with other uris.

15 years agoDelegate exclude mimetypes to FasttrackBadgeWidget
Tadashi G. Takaoka [Mon, 28 Sep 2009 21:48:15 +0000 (14:48 -0700)]
Delegate exclude mimetypes to FasttrackBadgeWidget

Internal Bug: 2138745

15 years agoRemove obsolete links; start at a method to turn on fading scrollbars
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

15 years agoChange FLASH_MODE_VIDEO_LIGHT to FLASH_MODE_TORCH.
Wu-cheng Li [Mon, 28 Sep 2009 20:51:12 +0000 (13:51 -0700)]
Change FLASH_MODE_VIDEO_LIGHT to FLASH_MODE_TORCH.

15 years agoMerge change I7c7b1596 into eclair
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.

15 years agoFix possible NPE in AbsListView.positionSelector().
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

15 years agoFix issue #2149145: Safe Mode does not work on Sholes device
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

15 years agoFix artifact in tab drawing.
Evan Millar [Mon, 28 Sep 2009 20:13:46 +0000 (13:13 -0700)]
Fix artifact in tab drawing.

The tab nine-patch assets were 2 pixes too tall. I trimmed them down.

Change-Id: Ie6a95736578c42997136eb9036b0f1d23cf2b6d7

15 years agoMove android.bluetooth.ParcelUuid to android.os.ParcelUuid
Nick Pelly [Mon, 28 Sep 2009 19:33:17 +0000 (12:33 -0700)]
Move android.bluetooth.ParcelUuid to android.os.ParcelUuid

Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631

15 years agoFix a warning output.
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

15 years agoMerge change Ida50e915 into eclair
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.

15 years agoPass 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

15 years agoMerge change 27474 into eclair
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

15 years agoFix build
Mike Cleron [Mon, 28 Sep 2009 18:39:02 +0000 (11:39 -0700)]
Fix build

15 years agoMerge change 27243 into eclair
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

15 years agoMerge change 27466 into eclair
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

15 years agoDon't crash search when getKeyDispatcherState() is null
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

15 years agoMerge change 27349 into eclair
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

15 years agoMerge change 27462 into eclair
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.

15 years agoFix 2143297: Fix transition from password -> visible password
Amith Yamasani [Sun, 27 Sep 2009 23:51:21 +0000 (16:51 -0700)]
Fix 2143297: Fix transition from password -> visible password

15 years agoAdd an API to request a system activity to turn on Bluetooth.
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

15 years agoTurn on thubmnail capture unit test for media metadata retriever
James Dong [Mon, 28 Sep 2009 17:57:17 +0000 (10:57 -0700)]
Turn on thubmnail capture unit test for media metadata retriever

15 years agoFading scrollbars return. But you have to opt in.
Mike Cleron [Mon, 28 Sep 2009 02:14:12 +0000 (19:14 -0700)]
Fading scrollbars return. But you have to opt in.

15 years agoMerge change 27426 into eclair
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().

15 years agoFix EVDO SNR signal bar calculation
John Michelau [Mon, 28 Sep 2009 15:41:02 +0000 (10:41 -0500)]
Fix EVDO SNR signal bar calculation

Bug: 2149249
Change-Id: I27009b083fab7a8cae7d3b74046f50235458dde0

15 years agoAdd drop shadow to contact name in ContactHeaderWidget
Evan Millar [Sat, 26 Sep 2009 23:45:04 +0000 (16:45 -0700)]
Add drop shadow to contact name in ContactHeaderWidget

Change-Id: Ieb6555bfca014b98567d1a981eaeb04e887e4dff

15 years agoBefore we send VIEW_SIZE_CHANGED after first layout,
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

15 years agoMerge change 27411 into eclair
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.

15 years agoMerge change 27457 into eclair
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.

15 years agoAdded code style fix that actually did not get submitted in 2nd patch of previous...
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.

15 years agoWebView may get message after destroy() is called.
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

15 years agoMerge change 27410 into eclair
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

15 years agoMerge change 27449 into eclair
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.

15 years agoAdd extension->mime type mappings
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

15 years agoMerge change 27185 into eclair
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.

15 years agoAdd 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.

15 years agoAlways consider m4a files as audio, even when they contain a video track.
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.

15 years agoUpdated status bar graphics (drop date 9/25/09).
Daniel Sandler [Mon, 28 Sep 2009 14:38:38 +0000 (10:38 -0400)]
Updated status bar graphics (drop date 9/25/09).

15 years agoHandle the case where GoogleLocationSettingObserver::onChange
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

15 years agoCache inflated view to avoid inflation of layouts in preferences
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.

15 years agodon't emit GL commands when sf is in freeze mode
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.

15 years agoMerge change 27387 into eclair
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

15 years agofix [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.

15 years agoFixing broken javadoc.
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

15 years agoAdding columns to support attribution of status updates. Also renaming some columns...
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

15 years agoMerge change 27318 into eclair
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.

15 years agoMerge change 27292 into eclair
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.

15 years agoMerge change 27375 into eclair
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.

15 years agoAllways 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]

15 years agoMerge change 27364 into eclair
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.

15 years agoMerge change 27348 into eclair
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

15 years agoImprove logging code to dump more detaild rs object info. Fix bug with predefined...
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.

15 years agoAdd documentation about flash and change video-light to torch.
Wu-cheng Li [Sun, 27 Sep 2009 20:19:36 +0000 (13:19 -0700)]
Add documentation about flash and change video-light to torch.

15 years agoMerge change 27351 into eclair
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.

15 years agoAllow 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

15 years agofix "pacakge" typo in error log message
Doug Zongker [Mon, 28 Sep 2009 00:00:13 +0000 (17:00 -0700)]
fix "pacakge" typo in error log message

15 years agoMerge change 27342 into eclair
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"

15 years agoDon'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

15 years agoMerge change 27306 into eclair
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.

15 years agoMerge change 27325 into eclair
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

15 years agoDon'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

15 years agoMerge change 27304 into eclair
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.

15 years agoCheck that playlist entries refer to a row in the audio table.
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.

15 years agoMerge change 27315 into eclair
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.

15 years agoFix Cdma re-start of default connection.
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.

15 years agoReset mPreventDrag at touch_down.
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.

15 years agoadd new column "real_date" for IM messages table.
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

15 years agoModified the test case name for the browser page load test.
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.

15 years agoMerge change 27301 into eclair
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.

15 years agoMerge change 27291 into eclair
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

15 years agoRemove fflush when storing thumbanil to sdcard.
Ray Chen [Fri, 25 Sep 2009 18:46:59 +0000 (11:46 -0700)]
Remove fflush when storing thumbanil to sdcard.

15 years agobug 2148061: if PduBody is zero length, treat it as an empty message.
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

15 years agoFix issue #2148939: Sholes slow to wake up in landscape mode
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

15 years agoMerge change 27032 into eclair
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.

15 years agoMerge change 27142 into eclair
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.