19535 Commits

Author SHA1 Message Date
Vasu Nori
78f307d229 rollback AFTER commit causes warning message from sqlite bug:2486731 2010-03-05 22:12:51 -08:00
Amith Yamasani
4c2d7b5198 Merge "Update keyboard key assets." 2010-03-05 21:40:23 -08:00
Amith Yamasani
56ddddd426 Update keyboard key assets. 2010-03-05 21:36:29 -08:00
Adam Powell
73e0546cbc Merge "Fixed a regression setting ListView selection mode without an adapter" 2010-03-05 19:57:09 -08:00
Adam Powell
cb704cd1e0 Fixed a regression setting ListView selection mode without an adapter 2010-03-05 19:51:59 -08:00
Christopher Tate
afc591ee03 One! More! Time!
Change-Id: I9e29975542ff1030b636f4e21954610faa2d8ff7
2010-03-05 19:15:39 -08:00
Adam Powell
f8012af8d3 Merge "Fix for badly rebased current.xml" 2010-03-05 18:54:38 -08:00
Adam Powell
bf3e5b03aa Fix for badly rebased current.xml 2010-03-05 18:52:28 -08:00
Christopher Tate
ed58aede50 Rename cleanspec => CleanSpec to match the build rule
Change-Id: I9cc9027ea82a90af5f369976823f0feb0a1eeda0
2010-03-05 18:48:59 -08:00
Christopher Tate
18c65d309f Merge "Fix up missed refactoring in JNI reg and preloaded-classes" 2010-03-05 18:27:37 -08:00
Christopher Tate
7adc274abd Fix up missed refactoring in JNI reg and preloaded-classes
Change-Id: I079bdf4edfb9083eba3e15d8e4dbf3b2bad9190c
2010-03-05 18:26:41 -08:00
Adam Powell
8f1bfe1a7c ListView#getCheckItemIds() deprecated for ListView#getCheckedItemIds().
ListView#getCheckedItemIds() now works more reliably.
2010-03-05 18:02:38 -08:00
Romain Guy
0a9355bc72 Merge "Correctly validate numbers when pasted in NumberPicker. Bug #2258525" 2010-03-05 17:34:10 -08:00
Romain Guy
aa516beb79 Correctly validate numbers when pasted in NumberPicker.
Bug #2258525
2010-03-05 17:33:20 -08:00
Christopher Tate
52ec30c1bd Merge "Fix doc references to "android.backup" to the new "android.app.backup"" 2010-03-05 17:32:52 -08:00
Christopher Tate
f49501eec5 Fix doc references to "android.backup" to the new "android.app.backup"
Change-Id: Ia347590a374f7e0b8928b0673dc10d55fe785e73
2010-03-05 17:30:42 -08:00
Chih-Chung Chang
c48aff6531 Merge "Still do dump() if we cannot get mServiceLock for a while." 2010-03-05 17:24:52 -08:00
Christopher Tate
9919024d70 Merge "Refactor android.backup => android.app.backup" 2010-03-05 16:29:04 -08:00
Christopher Tate
4528186e0d Refactor android.backup => android.app.backup
Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
2010-03-05 16:27:15 -08:00
Wink Saville
0dce66872d Merge "Allow the configuration string to have quotes." 2010-03-05 16:22:55 -08:00
Amith Yamasani
6005ab5b4a Merge "Logging to track down an elusive bug with Messaging app losing IME focus in landscape." 2010-03-05 16:06:50 -08:00
Eric Laurent
29855801de Merge "Fix issue 2428563: Camera rendered inoperable by voice call interruption." 2010-03-05 16:01:47 -08:00
Amith Yamasani
a8b00c8801 Logging to track down an elusive bug with Messaging app losing IME focus in landscape.
bug: 2200728
2010-03-05 15:41:31 -08:00
Chih-Chung Chang
e86ae1bed1 Still do dump() if we cannot get mServiceLock for a while. 2010-03-05 15:21:02 -08:00
Adam Powell
931bf89d32 Merge "Added accessors for view overscroll modes" 2010-03-05 14:48:06 -08:00
Suchi Amalapurapu
43dcdb2ec5 Merge "Add null checks for strings" 2010-03-05 13:24:06 -08:00
Wink Saville
01b6d24417 Allow the configuration string to have quotes.
This makes properties easier to read so from:
   ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000

to this:
   ro.cdma.data_retry_config="default_randomization=2000,0,0,120000,180000"

Change-Id: Ied2a7be0102512cd2ce528d566c19ed3a8e2f480
2010-03-05 13:23:06 -08:00
Mark Wagner
9277c6d972 Merge "don't assume Cursor.getExtras returns non-null" 2010-03-05 13:08:13 -08:00
Mike Lockwood
d4650a50cb Merge "Keep screen on when in car mode and the device is powered." 2010-03-05 13:07:10 -08:00
Grace Kloba
c0068adc86 Merge "Adding over scroll to webview. We will always apply over scroll vertically. In horizontal direction, if the page can't be zoomed and the current content just fit, we will not do over scroll." 2010-03-05 13:06:15 -08:00
Mike Lockwood
e29db6a2d2 Keep screen on when in car mode and the device is powered.
BUG: 2477103

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-05 15:44:22 -05:00
Brad Fitzpatrick
3bfce8385a Merge "Add "call" method on ContentProvider." 2010-03-05 12:19:50 -08:00
Brad Fitzpatrick
1877d0158b Add "call" method on ContentProvider.
This permits implementing interfaces which are faster than using
remote Cursors.  It then uses it for Settings & SettingProvider, which
together account for ~50% of total ContentProvider event loop stalls
across Froyo dogfooders.

For fetching Settings this looks like it should reduce average
Settings lookup from 10 ms to 0.4 ms on Sholes, once the
SettingsProvider serves most gets from in-memory cache.  Currently it
brings the Sholes average down from 10ms to 2.5 ms while still using
SQLite queries on each get.
2010-03-05 12:08:39 -08:00
Mike Lockwood
c126010dc4 Merge "Disable the keyguard when in car mode" 2010-03-05 12:07:25 -08:00
Mike Lockwood
924e164a83 Disable the keyguard when in car mode
BUG: 2367912

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-05 15:05:47 -05:00
Ed Heyl
cd47f11dfa Merge "Change an aapt "warning" from "*** " to "**** " (from three to four stars). "*** " (three stars and a space) is the 'magic make error string'; so this change makes it easier to find the real issues/errors in build logs. Besides, other aapt messages are "**** "." 2010-03-05 11:59:58 -08:00
Eric Laurent
ba8811f552 Fix issue 2428563: Camera rendered inoperable by voice call interruption.
The problem is that AudioRecord never exits read() when a timeout occurs while trying
to get new PCM data from audio hardware input buffer: it just keeps waiting and retrying until stop() is called.
In the same time, opencore AndroidAudioInput::audin_thread_func() loop cannot be exited when stuck
in AudioRecord::read() because the iExitAudioThread flag can only be sampled when AudioRecord::read()
returns. We remain stuck with the audio input thread running.

The fix consists in modifying AudioRecord behavior in case of timeout when getting new PCM samples.
We now wait only one timeout period and try to restart audio record, in case the problem is due to a media_server
process crash. If this fails, we exit read() with a number of bytes read equals to 0 so that
AndroidAudioInput::audin_thread_func() loop can exit.

Also modified Audioflinger::RecordThread() loop so that we attempt to recover from HAL read errors.
In case of read error, the input stream is forced to standby so that next read attempt does a
reconfiguration and restart of the audio input device.
2010-03-05 11:54:23 -08:00
Grace Kloba
d7625dd281 Adding over scroll to webview. We will always apply
over scroll vertically. In horizontal direction, if
the page can't be zoomed and the current content just
fit, we will not do over scroll.

Per UI request, only draw the shadow when title bar
is not visible.
2010-03-05 11:51:02 -08:00
Suchi Amalapurapu
9444bea903 Add null checks for strings 2010-03-05 11:37:57 -08:00
Adam Powell
51c5a0c50e Added accessors for view overscroll modes 2010-03-05 11:28:16 -08:00
Ed Heyl
65e185b51e Change an aapt "warning" from "*** " to "**** " (from three to four stars).
"*** " (three stars and a space) is the 'magic make error string'; so this change makes it
easier to find the real issues/errors in build logs.  Besides, other aapt messages are "**** ".
2010-03-05 11:24:35 -08:00
Xavier Ducrohet
ee2b21dba2 Merge "Fix potential aapt crash when processing overlay." 2010-03-05 11:22:40 -08:00
Valentin Kravtsov
5fcea7e317 Fixing: Position of right button edge is different for VS
bug fix for: http://b/issue?id=2491958

Position of right button edge is different for voice search and Go button in search dialog

STEPS TO REPRODUCE:
1. Open Browser (or Maps)
2. Press search button
3. Look at right edge of voice search button and type 'a'

EXPECTED RESULTS:
The edge of the button does not move

OBSERVED RESULTS:
The edge of the button moves slightly to the left when text is entered.

Change-Id: I92709c14faf1a88c40c5070a23b5e81e01bcff47
2010-03-05 19:22:30 +00:00
Xavier Ducrohet
83f4c0994f Fix potential aapt crash when processing overlay.
If an overlay has a type of resources that's not defined in
the main res pool, then aapt would crash.

This dynamically create new ResourceTypeSet when needed
when processing the overlays

Change-Id: I67bc3622281bde73cf42f37a0983798d3f658ce2
2010-03-05 11:11:28 -08:00
Andreas Huber
bda5780d39 Merge "Instead of allocating the decoder instances in response to a call to setDataSource, postpone allocation to the preparation phase where it belongs." 2010-03-05 11:00:36 -08:00
Dianne Hackborn
7299c41630 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
Andreas Huber
3ac94efc21 Instead of allocating the decoder instances in response to a call to setDataSource, postpone allocation to the preparation phase where it belongs.
related-to-bug: 2492205
2010-03-05 10:42:10 -08:00
Mark Wagner
4d891d173a don't assume Cursor.getExtras returns non-null 2010-03-05 10:39:44 -08:00
Steve Block
76619af64c For synchronous loads, load file URLs in the WebCore thread, rather than in the new WebViewWorker thread
This fixes the layout test failure in fast/xmlhttprequest/xmlhttprequest-html-response-encoding.html

Bug: 2218794
Change-Id: If86c5dbb72b21400bd0fb6981de1a6fdf9b40fe7
2010-03-05 18:39:30 +00:00
Suchi Amalapurapu
6d141b0a9b Merge "Fix persisting flags for apps with data only Force gc's before deleting containers.:" 2010-03-05 10:36:15 -08:00