19325 Commits

Author SHA1 Message Date
Grace Kloba
b3d0cc5ca9 If zoom scale is set to minimum, treat it as in overview
mode.

When view size changed, we will adjust scale factor,
which should update the zoom button states afterwards.
 
http://b/issue?id=2477282
2010-03-01 12:25:29 -08:00
Derek Sollenberger
74bfea76ea am a630dcdb: am ecde72fe: Ensure the IME is rendered above the surface when we z-order the surface to be on top.
Merge commit 'a630dcdb956f9acb028dd03bc63b28874f100f8a'

* commit 'a630dcdb956f9acb028dd03bc63b28874f100f8a':
  Ensure the IME is rendered above the surface when we z-order the surface to be on top.
2010-03-01 12:23:27 -08:00
Grace Kloba
ef962fc34c DO NOT MERGE
Manual merge part of https://android-git.corp.google.com/g/#change,42462
from master to mr2 for Adobe.

Fix http://b/issue?id=2475242
2010-03-01 12:13:01 -08:00
Derek Sollenberger
a630dcdb95 am ecde72fe: Ensure the IME is rendered above the surface when we z-order the surface to be on top.
Merge commit 'ecde72fe411811ca02a2565bf73b86e6e8ddc76b' into eclair-mr2-plus-aosp

* commit 'ecde72fe411811ca02a2565bf73b86e6e8ddc76b':
  Ensure the IME is rendered above the surface when we z-order the surface to be on top.
2010-03-01 12:09:10 -08:00
Gilles Debunne
a2af5bc9ea Merge "Take headers into account when expanding a ExpListView group." 2010-03-01 11:55:25 -08:00
Robert Greenwalt
921ec7fb75 Fix documentation.
config_tether_upstream_regexs documentation wasn't clear.
2010-03-01 11:53:39 -08:00
Vasu Nori
54dd0f25ac register a logging func with sqlite, to get extra info on errors
sqlite3 (latest patch) from DRH included this functionality.
us it to get more useful debugging info from sqlite
2010-03-01 11:50:32 -08:00
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
Derek Sollenberger
ecde72fe41 Ensure the IME is rendered above the surface when we z-order the surface to be on top. 2010-03-01 14:11:10 -05:00
Gilles Debunne
52b65d39aa Take headers into account when expanding a ExpListView group.
The possible scroll that happen after expanding a group did not take the possible
existing headers into account.

Change-Id: I5dc381baa7c54580e992e26a1ed55102afcb16b0
2010-03-01 11:04:28 -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
Joe Onorato
00bb93823d Add new Slog class. 2010-03-01 09:07:37 -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