summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* do not merge - Fix for issue 2184627 cherry picked from eclair-mr2Eric Laurent2009-10-261-64/+31
| | | | | | | | | Bluetooth A2DP suspend-resume improvements. This change will reduce the occurence rate of A2DP sink suspend resume failures observed in issues 2184627, 2181005 and possibly 2189628. More robust suspend/resume logic. Use only the suspend request to audio hardware to avoid having two concurent suspend resume control paths.
* Add comment warning to not use hardware based autobrightness support.Mike Lockwood2009-10-251-1/+3
| | | | | | | This is deprecated and will be removed in the next release. Change-Id: I23c5e711fd8e6768da2f5190d1b6c9fa77de41a6 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Merge change If3c30fc9 into eclairAndroid (Google) Code Review2009-10-232-17/+167
|\ | | | | | | | | * changes: Patching in hidden API to allow app managed preview frame buffers.
| * Patching in hidden API to allow app managed preview frame buffers.Andrew Harp2009-10-232-17/+167
| | | | | | | | Commit-Id: If3c30fc932697afa966cc97b17749e9996de92ee
* | Merge change Ic620a52b into eclairAndroid (Google) Code Review2009-10-232-0/+24
|\ \ | | | | | | | | | | | | * changes: Add size checks for glBufferData and glBufferSubData
| * | Add size checks for glBufferData and glBufferSubDataJack Palevich2009-10-212-0/+24
| |/ | | | | | | | | | | | | | | | | | | | | | | Without the size checks it's possible for calls to glBufferData and glBufferSubData to read off the end of the Buffer object's data, which can cause page faults. Fix end-of-line characters for the "spec" files. (That's why every line of these files is changed.) Enhance our code emitter to properly handle bounds checks for possibly-null pointers.
* | Add a method to clear info about a contactTom Taylor2009-10-231-0/+11
| | | | | | | | | | | | | | Add a method so the ContactInfoWidget will throw away the cached info it has on a contact (e.g. picture and uri). Change-Id: Ia8f376e356c6bcf246bbd72239c5ca2a3b7c9574
* | Implement feature #2117336: Create event communication APIs for live wallpaperDianne Hackborn2009-10-226-2/+127
| | | | | | | | | | | | | | Note: currently only implements an async version (no result), and not yet actually tested. Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
* | am f4520f3e: Merge change I9161f53d into eclair-sdkFred Quintana2009-10-225-51/+716
|\ \ | | | | | | | | | | | | | | | | | | Merge commit 'f4520f3e03e120ed109a579c1936994b142523c3' into eclair * commit 'f4520f3e03e120ed109a579c1936994b142523c3': update account manager javadoc
| * | update account manager javadocFred Quintana2009-10-225-51/+716
| | |
* | | Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.Mike Lockwood2009-10-211-0/+5
| | | | | | | | | | | | | | | | | | | | | Part of a fix for bug b/2198537 Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge change Ifa8ab30e into eclairAndroid (Google) Code Review2009-10-211-0/+1
|\ \ \ | | | | | | | | | | | | | | | | * changes: In onKeyUp for DPAD_CENTER, show the IME for text input.
| * | | In onKeyUp for DPAD_CENTER, show the IME for text input.Leon Scroggins2009-10-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=2201966 Change-Id: Ifa8ab30e205e21e9e69e9a7405a0a6fc86c6c488
* | | | Merge change Ic4bf942c into eclairAndroid (Google) Code Review2009-10-2119-278/+1313
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | * changes: Import revised translations. DO NOT MERGE
| * | | Import revised translations. DO NOT MERGEEric Fischer2009-10-2119-278/+1313
| |/ / | | | | | | | | | Approver: jerryw
* | | Prevent transparent region from getting out of sync with Surface FlingerJack Palevich2009-10-211-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ViewRoot is responsible for calculating the current view's surface's transparent region and reporting this to the window server, which in turn notifies Surface Flinger. To minimize cross-process traffic, ViewRoot keeps track of the most recent transparent region that it has reported to the window server, and only sends updates when the region shape changes. ViewRoot is effectively shadowing the internal state of the window server, and usually this works fine, because ViewRoot is usually the only thing that changes this value. But when the surface is recreated, the window server resets the transparent region to empty. So in order to properly update the window server we need to reset our copy of its state to empty too. Fixes issue #2133090: GL Gears runs at half speed in some cases
* | Merge change I61741f5a into eclairAndroid (Google) Code Review2009-10-201-1/+1
|\ \ | | | | | | | | | | | | * changes: Fix high density bug 2179543: use 'dip' instead of 'px'
| * | Fix high density bug 2179543: use 'dip' instead of 'px'Marco Nelissen2009-10-201-1/+1
| | |
* | | Power Manager support for light sensor backlight management.Mike Lockwood2009-10-191-0/+34
|/ / | | | | | | | | Change-Id: I470e2d7d12abf0dbfd31d84859b06bfae3cb36a1 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Proper fix for zero signal strength and no_service. Fixes #2176141Amith Yamasani2009-10-196-24/+111
| | | | | | | | | | | | | | | | | | | | Track phone service state changes and use a separate timer for out-of-service since the hunting can timeout on some devices. Store the timeout value in the config.xml, as it is device/network specific. Settings App will also change to use the hunting duration to compute the cost of zero signal.
* | Merge change I01935be3 into eclairAndroid (Google) Code Review2009-10-162-3/+12
|\ \ | | | | | | | | | | | | * changes: Remove PowerManager.setAutoBrightness()
| * | Remove PowerManager.setAutoBrightness()Mike Lockwood2009-10-162-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead. Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants. Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | do not merge: fix copy/paste using trackball on passionCary Clark2009-10-161-5/+9
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is alrady in mr2. It does not affect sholes -- this is a trackball only bug. The selection caret and arrow now take the scale factor and the height of the title bar into account when preparing the canvas for drawing. Clicking the trackball at the end of selecting text no longer sends a click event. Requires a companion fix in external/webkit Fixes http://b/issue?id=2187591
* | Add separate configuration flag for hardware ALS support.Mike Lockwood2009-10-151-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new flag config_hardware_automatic_brightness_available indicates that the device has hardware support for automatic screen brightness management, while config_automatic_brightness_available now indicates that automatic brightness mode is available in general. If config_automatic_brightness_available is true but config_hardware_automatic_brightness_available is false, then automatic brightness mode support in PowerManager support will be used. Bug b/2015734 (Ambient light sensor support in power manager) Change-Id: I6cd888252043dd63df3c25a1d14c21a04a91ad28 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Fix possible NPE in the code that restores widgets' state.Romain Guy2009-10-151-1/+2
|/ | | | | | | Bug #2189714 Reviewed by: ryanpc Change-Id: I0d74deb6dc8e90e3b0eafd6b3c16b0c557c72873
* Revert "Remove STOPSHIP comment."Nick Pelly2009-10-141-1/+1
| | | | | | | This reverts commit 3d0726b4d8a30e57852b70f1dcf4d8d20508cd1e Change-Id: Ie1ce5d09cc0b799ef0799f30eedc95f0ca5d3fad DrNo: jerrryw
* Merge change I2492bffe into eclairAndroid (Google) Code Review2009-10-141-2/+1
|\ | | | | | | | | * changes: Remove STOPSHIP comment.
| * Remove STOPSHIP comment.Nick Pelly2009-10-141-2/+1
| | | | | | | | | | | | | | Change-Id: I2492bffe57bded65fdbef5cf98e22cef3937e537 DrNo: eastham Bug: 2089423 Joke: Why don't anteaters get sick? Because they're full of anty-bodies!
* | Making new Contacts APIs visible in Eclair SDK - Part IIDmitri Plotnikov2009-10-141-1/+1
| | | | | | | | | | Bug: http://b/2186595 Change-Id: Id87533c25cceb0fe3b0845aed10912c937679f45
* | Making new Contacts APIs visible in Eclair SDKDmitri Plotnikov2009-10-131-13/+13
| | | | | | | | | | Bug: http://b/2186595 Change-Id: Iaba8514276299504af6ab0714577eb37d9608237
* | Correct non-opaque list separator assets.Jeff Sharkey2009-10-132-0/+0
| | | | | | | | Fixes http://b/2186076
* | Merge change I9f93ce61 into eclairAndroid (Google) Code Review2009-10-131-2/+13
|\ \ | | | | | | | | | | | | * changes: Throttle camera preview frames to the app. Bug 2180302.
| * | Throttle camera preview frames to the app. Bug 2180302.Dave Sparks2009-10-131-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With higher frame rates and larger preview frames, we can easily flood the application with too much data. This patch fakes the old camera preview mode by doing continuous one-shot frames. After the previous frame is handled, if the application hasn't cleared the preview callback, we start another one-shot preview frame. With this change, the application should never have more than one preview frame unless it is explicitly saving references to them. modified: core/java/android/hardware/Camera.java
* | | Continue caching "POST" result so that we won't getGrace Kloba2009-10-121-2/+1
| |/ |/| | | | | | | | | the resubmission warning when back to Google search result. Fix http://b/issue?id=1490379 Break/reopen http://b/issue?id=1980031
* | Delay 500ms between each registering each SDP record using sdptool.Nick Pelly2009-10-121-4/+32
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to workaround an issue where SDP records will fail to register using sdptool. When we run SystemService.start() it forks sdptool, so if we do this four times in a row these forked processes can run in parallel, and one or more of them fails. There is probably some thready safety issue in sdptool or Bluez that makes it unsafe to run sdptool in parallel. As a workaround, delay 500ms between each run of sdptool to register SDP records when starting Bluetooth. Before this fix it was easy to reproduce problems with service record registration. If you turn BT off/on multiple times you can see that sometimes one or more service records are missing. Repro rate is about 20% in my tests. Result is that remote devices cannot connect to the missing service. After this fix I am unable to reproduce any missing SDP records, after 30+ cycles of BT on/off. Motorola BT team also ran stress tests overnight with this fix and were unable to reproduce the missing SDP records. This is a low risk fix. It does delay some records from being registered by an additional 1.5 seconds (on top of the 3 second delay we already had), so if you try and very quickly connect a BT service after turning BT on it won't work the first time. Do not merge. (I will use a less hacky fix for MR2/Master) Change-Id: I305c181c3194e8ce25e3825320cc2e1ef6d3d3cc Bug: 2180800 DrNo: eastham Joke: Why can't you play cards in the jungle? Because there's too many cheetas!
* Now that Eclair has been defined as API revision 5 mark ↵Jeff Hamilton2009-10-101-1/+1
| | | | | | Build.VERSION_CODES.ECLAIR as such. Change-Id: I45af1fe80f6f93a1db8389600dc780af9cedf22c
* Merge change I66693ea2 into eclairAndroid (Google) Code Review2009-10-101-1/+1
|\ | | | | | | | | * changes: fix sync exponential backoff for expedited syncs
| * fix sync exponential backoff for expedited syncsFred Quintana2009-10-091-1/+1
| |
* | Import revised translations. DO NOT MERGEEric Fischer2009-10-091-2/+1
| | | | | | | | Approver: jerryw
* | Setting WebCore cache limit depending on the memory class.Grace Kloba2009-10-081-1/+8
| | | | | | Fix http://b/issue?id=2176656
* | Merge change Iee649a81 into eclairAndroid (Google) Code Review2009-10-081-0/+5
|\ \ | | | | | | | | | | | | * changes: Add LAST_KMSG_KB variable, used to tune the size of /proc/last_kmsg uploads. See bug 2177046.
| * | Add LAST_KMSG_KB variable, used to tune the size of /proc/last_kmsg uploads.Dan Egnor2009-10-081-0/+5
| | | | | | | | | | | | See bug 2177046.
* | | Merge change I9485aec1 into eclairAndroid (Google) Code Review2009-10-081-2/+2
|\ \ \ | | | | | | | | | | | | | | | | * changes: Fix for 2177367: Reduce duration of vibrate in RotaryLockScreen
| * | | Fix for 2177367: Reduce duration of vibrate in RotaryLockScreenJim Miller2009-10-081-2/+2
| |/ / | | | | | | | | | BUG=2177367
* | | Fix issue #2176944: Need API so browser, others can determine memory size of ↵Dianne Hackborn2009-10-081-0/+21
| | | | | | | | | | | | | | | | | | device Change-Id: I65d91cdb70df91b67fe84297dd6a94d26a785131
* | | Fix issue #2177262: Improve animationsDianne Hackborn2009-10-083-4/+4
|/ / | | | | | | | | | | Slower is better. Change-Id: Id609f253e43814b4c7689ed9b076ef75f4e345a6
* | Remove STOPSHIP BT logging.Nick Pelly2009-10-092-2/+2
| | | | | | | | | | | | | | | | | | Do not merge. Change-Id: I428bc0fc67030f24112f2e9c865824dfaea4897d DrNo: eastham Bug: 2089423 Joke: Why was Tigger looking in the toilet? To find Pooh
* | BT API security audit: fix a couple of permission mistakes.Nick Pelly2009-10-093-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make functions that are meant to be BLUETOOTH_ADMIN really BLUETOOTH_ADMIN. Add some missing javadoc for permissions. The only functional change here is the BLUETOOTH->BLUETOOTH_ADMIN changes. This is super safe because every system app that uses BT has both permissions. Change-Id: Iddc61f9fd5d81fe0171358665a0fa52f2fa02871 DrNo: eastham Joke: How do you catch a rabbit? Hide behind a tree and make carrott noises.
* | Merge change Iee227ace into eclairAndroid (Google) Code Review2009-10-081-0/+3
|\ \ | | | | | | | | | | | | * changes: GPS: Fix problem with SUPL when SUPL APN is already active.
| * | GPS: Fix problem with SUPL when SUPL APN is already active.Mike Lockwood2009-10-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ConnectivityManager.CONNECTIVITY_ACTION broadcast in LocationManagerService to notify GPS when SUPL connection is ready instead of TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED, which is not sent in all cases. Expand LocationProvider.updateNetworkState() to include NetworkInfo object. Fixes bug b/2155661 Change-Id: Iee227ace7d536b36cf7973e3e6a8b7a621ce6565 Signed-off-by: Mike Lockwood <lockwood@android.com>