19111 Commits

Author SHA1 Message Date
Dianne Hackborn
54330c311c Merge "resolved conflicts for merge of 4dcd2ee8 to master" 2010-03-01 11:33:15 -08:00
Dianne Hackborn
28a8c2bc14 resolved conflicts for merge of 4dcd2ee8 to master 2010-03-01 11:30:02 -08:00
Wei Huang
f7ffcbd566 Merge "define the "seen" column for sms and pdu tables." 2010-03-01 11:25:45 -08:00
Dianne Hackborn
47a52f32a3 Merge "cleanup Exit car mode in UI." 2010-03-01 11:12:27 -08:00
Grace Kloba
5e747dd602 Merge "Add a new WebCoreWorker thread to handle the tasks which should not block either UI or WebKit. It handles local file access, cache access and trim cache." 2010-03-01 10:58:01 -08:00
Mark Wagner
1c63b341d7 Merge "check offset and don't crash" 2010-03-01 10:56:19 -08:00
Steve Block
e60f6730b6 Merge "Removes a Geolocation test from the DumpRenderTree skipped list" 2010-03-01 10:54:30 -08:00
Steve Block
666eecc1e3 Merge "Adds to DumpRenderTree the ability to look for Android-specific results" 2010-03-01 10:53:22 -08:00
Grace Kloba
2036dbab17 Add a new WebCoreWorker thread to handle the tasks
which should not block either UI or WebKit. It handles
local file access, cache access and trim cache.

Move createCache, saveCache and most of getCache out
of WebCore thread so that slow IO and database will
not affect loading performance. getCache can be still
called from WebCore thread in the uncommon cases
like redirect and POST validation.

Move cache ticker from WebCore thread to WebViewWorkerThread.

Move setCookie from WebCore thread to WebViewWorkerThread.

Remove the unreferenced files in the cache directory
while trim cache.

Confirmed with our SQL expert, Vasu, there is no need
to wrap clearCache with end/startTransaction any more.

http://b/issue?id=2414792
http://b/issue?id=2475242
2010-03-01 10:36:15 -08:00
Wei Huang
ee49fedc26 define the "seen" column for sms and pdu tables. 2010-03-01 10:26:31 -08:00
Leon Scroggins
1be4098528 Make nativeMoveCursorToNextInput return a boolean and use it.
If nativeMoveCursorToNextTextInput does not succeed, do not set the
default selection or perform the other actions which assumed that the
move worked.

Part of fix for http://b/issue?id=2478052

Requires a change to external/webkit.
2010-03-01 12:50:12 -05:00
Paul Westbrook
b4e193991f Merge "Bug 2306842" 2010-03-01 09:41:49 -08:00
The Android Open Source Project
4dcd2ee8ca merge from open-source master 2010-03-01 09:30:21 -08:00
Mark Wagner
60919953ce check offset and don't crash 2010-03-01 09:28:29 -08:00
Magnus Edlund
7bb2581e6f Fix problem with restarting an application process that recently has died.
There exists a race condition when starting a process that recently has died.
If the ActivityManager receives the death notification for the died process
after the new process has been started but before an application thread has
been attached to the new process will the newly created process be removed
during the cleanup of the died process. If this happens when sending a broadcast
could it result in an ANR.

This is solved by doing the clean up before starting a new process that uses
the same process record.
2010-03-01 09:12:07 -08:00
Marc Blank
7c02ef117e Merge "Put _SYNC_LOCAL_ID into event entities" 2010-03-01 08:37:20 -08:00
Dave Sparks
a3afae33b7 Merge "Stop previous ringtone when silent is selected. Bug 2256593." 2010-03-01 07:55:11 -08:00
Derek Sollenberger
247c7275a1 Merge "force plugins to render on top of browser content." 2010-03-01 05:35:21 -08:00
Derek Sollenberger
2120cd663f force plugins to render on top of browser content. 2010-03-01 08:31:28 -05:00
Andrei Popescu
02e274321c Merge "VideoPlayer::onPrepared() can be called after the user pressed back in the VideoView. This can cass a NPE since our Timer would have been destroyed by then." 2010-03-01 05:30:05 -08:00
Bernd Holzhey
a3015b3e13 cleanup Exit car mode in UI.
Change notification text from 'disable car mode" to 'exit car mode'.
2010-03-01 10:26:46 +01:00
Marc Blank
2bd4fd279f Put _SYNC_LOCAL_ID into event entities
* This column is used by the Exchange sync adapter when sending change
  emails to attendees.

Change-Id: Ib23c07a30b41bfcbae874ae8aaa448fae2cfb6c3
2010-02-28 09:51:51 -08:00
Gilles Debunne
7628fbe031 Merge "Fixes for ExpandableListView with headers/footers" 2010-02-27 13:13:11 -08:00
Andrei Popescu
8aab46abca VideoPlayer::onPrepared() can be called after the user pressed back in the VideoView.
This can cass a NPE since our Timer would have been destroyed by then.

Add call to VideoView.stopPlayback() when the view is dismissed by the user.

Fix b: 2476002, 2475786, 2475786
2010-02-27 16:14:04 +00:00
Mike Lockwood
a33097d6d1 Merge "Fix synchronization problem in PowerManagerService.dump()" 2010-02-27 06:16:54 -08:00
Jacek Surazski
b71c6164ef Merge "Add BatteryInfo to ApplicationErrorReport." 2010-02-27 04:00:44 -08:00
Dianne Hackborn
87bba1ee14 Move DeviceAdmin APIs to android.app.admin.
Also add ability for admins to hide themselves when not in use,
a facility for admins to not allow other admins to reset
their password, and debug dumping.
2010-02-26 23:32:48 -08:00
Mathias Agopian
8c49df4f36 Merge "to help debugging [2461567] Home screen redraw messed up" 2010-02-26 19:01:06 -08:00
Mathias Agopian
4e2b5cbad5 Merge "fix [2475541] Deprecate Sensor.TYPE_ORIENTATION" 2010-02-26 19:00:56 -08:00
Mathias Agopian
022a43b15b to help debugging [2461567] Home screen redraw messed up
log SF's idea of the front buffer in dumpsys.
2010-02-26 18:59:23 -08:00
James Dong
039db81d53 Merge "Don't allow MediaRecorder.setParameter() to be invoked in the following states: error, prepared or recording" 2010-02-26 18:56:22 -08:00
Paul Westbrook
69120a73d0 Bug 2306842
Since MockAccountManager was passing null to the AccountManager
constructor, unit tests where the AccountManager attempts to call
the AccountManagerService were crashing.

Now the getAccountsByTypeAndFeatures and blockingGetAuthToken
(which are the calls that the Gmail unit tests call) call a small
stub

At some point, all of the other AccountManager calls should be stubbed
out
2010-02-26 18:24:29 -08:00
Eric Fischer
4dce37b10b Merge "Import new translations." 2010-02-26 18:12:37 -08:00
Mathias Agopian
61a449393c fix [2475541] Deprecate Sensor.TYPE_ORIENTATION
It's much better to use SensorManager.getRotation() instead.
2010-02-26 18:06:26 -08:00
Robert Greenwalt
419ab66b07 Merge "Add build options for tethering." 2010-02-26 18:01:28 -08:00
Robert Greenwalt
c9d5fb7c95 Add build options for tethering.
Dun-required bool and list of allowed upstream ifaces.
2010-02-26 17:48:09 -08:00
Eric Fischer
a81894a96e Import new translations. 2010-02-26 17:25:47 -08:00
Mathias Agopian
7895da44e3 SensorManager: handle 270 and 180 rotation in the legacy APIs
Technically these APIs are deprecated, however old apps might still be using them
so we might as well make sure they work in all orientations.
2010-02-26 17:10:38 -08:00
Mathias Agopian
210fc914db [2472946] Sensor.TYPE_ORIENTATION returns inverted roll values
Fix the documentation to reflect reality and encourage developpers to use
SensorManager.getRotation() instead of using Sensor.TYPE_ORIENTATION
2010-02-26 17:09:14 -08:00
Dave Sparks
370dd39132 Stop previous ringtone when silent is selected. Bug 2256593. 2010-02-26 17:07:19 -08:00
Adam Powell
ccea766217 Merge "ListView now tries to keep the position containing focused child views on-screen." 2010-02-26 17:06:50 -08:00
Adam Powell
9bf3c12850 ListView now tries to keep the position containing focused child views on-screen. 2010-02-26 17:05:21 -08:00
Adam Powell
0edec2b3f6 Merge "FastScroller now reports scroll state changes for its associated AbsListView" 2010-02-26 16:46:35 -08:00
Ken Shirriff
9d06c5876d Unbundling: pull the recurrence string formatting out of EventRecurrence.
A separate change moves it to the calendar app.
2010-02-26 16:45:28 -08:00
Dianne Hackborn
8f7f35e0cc Add new -W option to Am to wait for the start to complete. 2010-02-26 16:34:33 -08:00
Adam Powell
d43bd48fe3 FastScroller now reports scroll state changes for its associated AbsListView 2010-02-26 16:29:09 -08:00
Mike LeBeau
59dc9ecec6 Merge "Add an extra which allows to query *only* for the voice search language preference. This will be used by e.g. LatinIME to avoid extra computation when this is all that's needed (probably a common use case for this API)." 2010-02-26 15:21:29 -08:00
Mike LeBeau
340acd870a Add an extra which allows to query *only* for the voice search language preference.
This will be used by e.g. LatinIME to avoid extra computation when this is all that's
needed (probably a common use case for this API).
2010-02-26 15:20:56 -08:00
Mike Lockwood
d84aca7d3c Merge "Tethering: Use battery changed broadcast instead of UMS broadcast to determine when USB is connected and disconnected." 2010-02-26 15:19:10 -08:00
Mike Lockwood
1cb3cb1a94 Tethering: Use battery changed broadcast instead of UMS broadcast to determine
when USB is connected and disconnected.

This is needed because the UMS broadcasts will not be sent when UMSis disabled.

Change-Id: I4488fee2c19ac9c901596d1430ea371df97e4325
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-26 18:00:58 -05:00