19705 Commits

Author SHA1 Message Date
Dianne Hackborn
2509d3c11f Clear active password in device admin when password is cleared.
Fixes issue #2480213: DevicePolicyManagerService returning true
for isActivePasswordSufficient even though the current password
on the device is not sufficient.

Change-Id: I3cb11311d8696670726d969712a63a7c00cd1ce4
2010-03-08 16:48:23 -08:00
Jean-Michel Trivi
b21651c10c Fix bug 2481825
When TTS is synthesizing to a file, return an error if the file
cannot be created.
2010-03-08 16:45:00 -08:00
Eric Fischer
1127895fd4 Guard against calls to getTextAfterCursor() in text that has no cursor.
Act like the cursor is at 0 in this case instead of crashing.

Bug 2497485

Change-Id: I5ce9b83b323d895e3be75e3133ff2f8e33cc203d
2010-03-08 16:38:03 -08:00
Tom Taylor
823961a319 Merge "Remove mms-common library" 2010-03-08 16:35:38 -08:00
Robert Greenwalt
a9729deb9c Merge "Update the Mcc Table for Canada." 2010-03-08 16:35:13 -08:00
Tom Taylor
a87afd07c0 Remove mms-common library
Put the Mms files back in the framework where they've been since 1.0.

Change-Id: I3c449468053ddd82d35c45a06d71957de660bf99
2010-03-08 16:34:53 -08:00
Wu-cheng Li
27dd40bc27 Merge "Add camera parameter string constant for "true"." 2010-03-08 16:31:57 -08:00
Robert Greenwalt
e640a5aee4 Update the Mcc Table for Canada.
Changing the mnc length from 2 to 3.  We don't have any canandian APNs with 2 digit mncs
and wikipedia doesn't list any canadian carriers with 2 digit mncs.

Rogers was reporting some sims with 72 and others with the correct 720 - a sample "72" sim
didn't have the mnc-length field set so we went with 2.  With this fix all rogers sims will
be picked up correctly.
2010-03-08 16:26:34 -08:00
Dmitri Plotnikov
aeae357f63 Showing phonetic name in the contact header.
Change-Id: I83f608ddf3a01ba6c29687f9e78212800e4ad4b1
2010-03-08 16:05:41 -08:00
Andreas Huber
147113ee54 Merge "The audio track was accidentally not participating in the prefetch since it wasn't started at the time prepare() was called. Also, properly report the cached duration even near the end when the source has no more data to fetch." 2010-03-08 16:02:16 -08:00
Andreas Huber
dc9927d464 The audio track was accidentally not participating in the prefetch since it wasn't started at the time prepare() was called. Also, properly report the cached duration even near the end when the source has no more data to fetch.
Change-Id: I66a92fec24c9bfb25f1c186f1c877127bae2b4f9
related-to-bug: 2444425
2010-03-08 15:46:13 -08:00
Amith Yamasani
156c435455 Move lockscreen settings to secure table to prevent tampering. b/2343673
Migrate old settings to secure on upgrade.
2010-03-08 15:42:48 -08:00
Mathias Agopian
9e7b076cad Merge "fixes for [2474091] Saw Poor behaviour playing a video." 2010-03-08 15:35:44 -08:00
Wu-cheng Li
d9ef5d7f13 Add camera parameter string constant for "true".
bug:2458926
Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead
2010-03-08 15:28:48 -08:00
Daniel Lehmann
b1b1371150 Expose the Uri of the newly created contact
Bug: 2448065

Change-Id: Ie1de3c02981ae471b7772cac289a07f0fc870f31
2010-03-08 15:14:19 -08:00
Dianne Hackborn
453e60db6e Merge "Hold wake lock while shutting down." 2010-03-08 14:58:25 -08:00
Romain Guy
31e78e0725 Merge "Report scroll events from ScrollView and HorizontalScrollView. Bug #2342763" 2010-03-08 14:44:00 -08:00
Andreas Huber
0e0b0c9e3d Merge "Apparently a MemoryHeapPMem must be slap()ed for SurfaceFlinger to use the contained buffers." 2010-03-08 14:29:38 -08:00
Andreas Huber
4c987433da Apparently a MemoryHeapPMem must be slap()ed for SurfaceFlinger to use the contained buffers.
Change-Id: I86916a14c6cf9e65145711c6ded433b864f84456
related-to-bug: 2474091
2010-03-08 13:43:35 -08:00
Andreas Huber
b3871fad55 Merge "Increase the amount of data buffered at preparation time. Make sure to start preparing after the codecs have been started, otherwise no buffering will happen." 2010-03-08 13:07:08 -08:00
Dianne Hackborn
f99ae76533 Hold wake lock while shutting down.
It is nicer to make sure the screen stays on while we are shutting
down, so the screen goes off when we are actually complete rather
than some time before.

Change-Id: I8725ac9884df6d21344f35288da3e375d9779b3b
2010-03-08 12:43:51 -08:00
Andreas Huber
55864df7b6 Increase the amount of data buffered at preparation time. Make sure to start preparing after the codecs have been started, otherwise no buffering will happen.
Change-Id: I2c54db085cc76f4069ab381177e94e1b81005b02
related-to-bug: 2474091
2010-03-08 12:28:22 -08:00
Romain Guy
8e618e54ef Report scroll events from ScrollView and HorizontalScrollView.
Bug #2342763

Also fix typos in TextView.

Change-Id: I58ab906b9bebe562c1a913977e2d6970bfcf3788
2010-03-08 12:21:37 -08:00
Dan Egnor
3eda9799a1 Add Debug.dumpService(), a public method for "dumpsys" functionality 2010-03-08 12:13:11 -08:00
Daniel Sandler
e879e4b914 Merge "Correct path to LowBattery.ogg." 2010-03-08 12:01:00 -08:00
Andreas Huber
09f53fa805 Merge "The prefetched source was unnecessarily holding a lock while receiving data from the network, sometimes blocking for seconds over 2G networks with corresponding drops in audio playback. Also, if the cache was full we'd report a cache duration of 0 instead of maximum size." 2010-03-08 11:24:47 -08:00
Mike LeBeau
80825e3876 Merge "Update comments for the new EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS." 2010-03-08 11:22:58 -08:00
Mike LeBeau
eba0f753b2 Update comments for the new EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS.
Change-Id: I72d7ede8e6fbe47217f76806f892c4a0854f9a3d
2010-03-08 11:17:12 -08:00
Mathias Agopian
1d211f8ee0 fixes for [2474091] Saw Poor behaviour playing a video.
- fix a bug when hacking video buffers into gralloc buffers
 where the buffer size was incorrect this was causing the
 "direct-form-texture" mode to fail

- also when the above fails, make sure to revert to the
 "mdp copy mode" before going to "slow mode"

- finally disable completely the "direct-from-texture" mode
 for now. It cannot work because the allocated buffers can't
 respect the GPU constraints (alignment and such). We'll
 have to find a solution for that.
2010-03-08 11:14:20 -08:00
Vasu Nori
d1356e440d Merge "caching bug in SQLiteDatabase causes invalid finalizer warnings" 2010-03-08 11:13:52 -08:00
Vasu Nori
c8195ffcfd Merge "rollback AFTER commit causes warning message from sqlite bug:2486731" 2010-03-08 11:08:10 -08:00
Andreas Huber
3c53c69a4e The prefetched source was unnecessarily holding a lock while receiving data from the network, sometimes blocking for seconds over 2G networks with corresponding drops in audio playback. Also, if the cache was full we'd report a cache duration of 0 instead of maximum size.
Change-Id: I46c8083f12f2dd728302095369197ca7e6b78bf8
related-to-bugs: 2492187, 2444425
2010-03-08 11:07:24 -08:00
Steve Block
68da044d3a Merge "Updates WebAddress to ignore the colon after the host component of a URL if no port is specified" 2010-03-08 10:43:38 -08:00
Leon Scroggins
198e40dcbe Merge "Pass keys to plugin while shift is held down." 2010-03-08 10:42:42 -08:00
Vasu Nori
49d02acec8 caching bug in SQLiteDatabase causes invalid finalizer warnings
a bug in maintaining the cache caused these warnings. when the cache
is full, caching code in SQLiteDatabase dropped an entry from the cache
to accommodate the new one. and if the just-dropped one is not in use
that object got GC'ed and caused a finalizer warning. Calendar is one app
that didn't use ? for bindargs (sometimes) and noticed this bug in that app
Fix is to not add the new enry to cache if the cache is already full.
that will cause the app's close() to release the entry.

another common case where this finalizer warning occurs is when unittests run.
if the test does not close the database in tearDown(), it will cause
database object and the compiled sql statement cache within the database
obj get GC'ed which cause finalizer warnings.
2010-03-08 09:54:53 -08:00
Patrick Scott
529b2854de Merge "If both cookies have null values, use the name difference." 2010-03-08 09:54:08 -08:00
Steve Block
2257440f4b Updates WebAddress to ignore the colon after the host component of a URL if no port is specified
Currently, the regex used to extract the port matches ':' followed by 1 or more
digits. This means that when passed a malformed URL of type <host>:<path>, no
match is made for the port and the ':' is matched as part of the path. Since the
handling of the path adds a leading '/' where absent (see http://b/1011602),
this leads to the URL being converted to <host>/:<path>.

This change updates the port regex to match ':' followed by zero or more digits.
This means that the ':' is always matched, so it does not leak into the path
and the result is <host><path>. This matches the behavior of desktop browsers.

Bug: 2494876
Change-Id: I34b47c8187cf03aa7674c14cd6593de53dce3169
2010-03-08 17:52:02 +00:00
Mike LeBeau
08d5b1fdef Merge "Adding support for passing HTTP headers to a Browser" 2010-03-08 09:41:10 -08:00
Eric Laurent
c22415f3da Merge "Fix issue 2317760: Change the priority between wired headset and A2DP." 2010-03-08 09:40:15 -08:00
Patrick Scott
2807dbd594 If both cookies have null values, use the name difference.
Change-Id: Idee9763a14dd559f136ee8b1eea9abaf265d15a1
2010-03-08 12:12:13 -05:00
San Mehat
bb2bf8fa33 Merge "dumpstate: Add secure container + mounted filesystems to bugreport" 2010-03-08 09:05:44 -08:00
Leon Scroggins
b127c8ff0e Pass keys to plugin while shift is held down.
Fix for http://b/issue?id=2484986

Change-Id: Ie252527957958d977cec044a1d383c229d3a3268
2010-03-08 12:04:48 -05:00
Daniel Sandler
8c9233fba2 Correct path to LowBattery.ogg.
Bug: 2320026
Change-Id: Idede20701c5a3d0e60bd327a869b1adf1577db21
2010-03-08 12:03:05 -05:00
Amith Yamasani
4b10453cf9 Merge "Fix a SettingsProvider test : 2377540" 2010-03-08 09:02:31 -08:00
San Mehat
54aa577ea2 dumpstate: Add secure container + mounted filesystems to bugreport
Change-Id: I0cb465da86976f5cce3594c4bb846aa6510c52d6
Signed-off-by: San Mehat <san@google.com>
2010-03-08 08:58:03 -08:00
Patrick Scott
8da530c9b8 Merge "Cookies like "a=b" were broken due to my previous change." 2010-03-08 08:22:59 -08:00
Steve Block
271f7ae4e3 Merge "For synchronous loads, load file URLs in the WebCore thread, rather than in the new WebViewWorker thread" 2010-03-08 08:16:41 -08:00
Valentin Kravtsov
2ffa625a2a Adding support for passing HTTP headers to a Browser
It is a prt of the following bug fix: http://b/issue?id=2478548

The CL adds the ability to pass HTTP headers to the Browser

Change-Id: Ibf0ad8f678fc5aeef4ac098e5dfbcaed9ada8600
2010-03-08 16:12:39 +00:00
Bjorn Bringert
6aa6185709 Merge "Fixing: Position of right button edge is different for VS" 2010-03-08 07:16:16 -08:00
Eric Laurent
fe2e075e07 Fix issue 2317760: Change the priority between wired headset and A2DP.
Modified audio policy manager so that wired headset has precedence over A2DP headset.
2010-03-08 06:50:44 -08:00