19598 Commits

Author SHA1 Message Date
Mike Lockwood
a1140f9d7c Merge "Disable car mode should not require DISABLE_KEYGUARD permission" 2010-03-08 04:12:28 -08:00
Tobias Haamel
9f93881f57 Disable car mode should not require DISABLE_KEYGUARD permission
Only the system can enable the car mode and the system should
already have appropriate permissions.
But since we wanna allow all other apps to disable the car mode
again, we don't want to enforce them to specify the DISABLE_KEYGUARD
permission in their manifest.

Change-Id: I1ad244a98d65b7193ea9817bff8406cfc2bce6f3
2010-03-08 11:30:38 +01:00
Chia-chi Yeh
61b09cbc02 keystore: allow '\0's in keys and add guards for cplusplus.
Change-Id: I0af6ed7c5d51ce4ca39cb837e475942800cf6e2d
2010-03-08 17:21:35 +08:00
Amith Yamasani
d0ca3379c2 Fix a SettingsProvider test : 2377540 2010-03-07 21:25:21 -08:00
Jean-Michel Trivi
c6120193ef Fix typo in log message in TTS SynthProxy.
Change-Id: Ica7dbf6cb3db2e07958fadad476571b91bde2c24
2010-03-07 14:29:58 -08:00
Jean-Michel Trivi
796325b619 Fix bug 2449814
Reduced the amount of filtering and amplification at the output
 of the Pico TTS engine v1.1.0.2

Change-Id: I89f577b5e94e171b4ed892faffb863f19428cc1a
2010-03-07 14:02:31 -08:00
Fred Fettinger
3c8fbdf5dd location: dump LocationProvider internal state
For each location provider, call getInternalState() to see if it has any
state information to include in a bugreport. If the returned string is not
null, then print a header with the provided name followed by the returned
string.

Change-Id: I0a388d7fba14ac8cadcb80eda0a0ceb95032410b
Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-07 09:29:15 -05:00
Jack Palevich
83835359e5 Clarify the default algorithm used to choose an EGLConfig.
Explicitly default to an RGB_565 android.view.Surface.
2010-03-06 10:55:24 -08:00
Raphael
80b9af448e Merge "ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator." 2010-03-06 10:45:36 -08:00
Jack Palevich
f2193a2e52 Merge "Fix inverted release-EGLContext-on-pause logic." 2010-03-06 10:41:19 -08:00
Jack Palevich
4a2221ec4a Fix inverted release-EGLContext-on-pause logic.
This works around a bug in the
"Q3Dimension MSM7500" driver. That driver only
supports a single active EGLContext, so we must
release and restore the EGLContext when pausing
and unpausing.

Unfortunately the test for deciding whether to
release the context was inverted. We were
releasing the context on every device besides
the MSM7500 devices, which was a performance
drain, and we were not releasing the context on
the MSM7500, which meant the underlying driver
bug was not worked around.

Now we release the EGL context when pausing only
on the devices that have the bug.
2010-03-06 10:39:27 -08:00
Raphael
30df237f19 ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator.
SDK Bug 1588698

Change-Id: I47321a0e21a0761d20ed5e61a1a1db1024a141c5
2010-03-06 10:09:54 -08:00
Kenneth Andersson
e3491b6b5f Title in DatePickerDialog used in Settings application not updated correctly
The DatePickerDialog in the Settings application is not updated correctly if you follow
the following step-by-step:
1. Enter Date option in settings application
2. Modify the values of the date, then cancel the changes
3. Once again enter the date option

and you can see that the title in the dialog has not been updated correctly. This is
due to a missing call to onDateChanged callback in the DatePicker class. Solution was
to add the notify call when updateTime has been called.
2010-03-06 10:04:41 +01:00
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