36450 Commits

Author SHA1 Message Date
Leon Scroggins
1bf397ffbd Do not retry failed attempts to retry scrolls.
Bug:3174399

If the page requests to scroll beyond the edge of the
screen, we send a message to try again on a draw, in case
our picture is out of date and the page should be larger.
However, sometimes we get stuck in a loop of retrying the
same scroll position over and over again.  End this loop.

Change-Id: I53fcd4c2fa70c7ef63d4537d8b24eabb6b924b0b
2010-11-17 09:22:57 -05:00
Kristian Monsen
d89a30af1f Move getDatabaseDirectory and getCacheDirectory to a new class
The reason for this is that the CookieSyncManager might not be
initialized right after a webview is created since the initialization
is done with a message.

If someone creates a webview and tries to access a cookie right
afterwards that would cause an unintended exception.

This requires a change in external/webkit

Bug 3172863

Change-Id: I4f4f162253e2af09f63ee582bfce9f75ccf4037b
2010-11-17 11:31:48 +00:00
Joe Onorato
69919bd6be Merge "Updated layouts for new status bar" 2010-11-16 21:41:33 -08:00
Joe Onorato
cf2b199e98 Updated layouts for new status bar
Change-Id: I30dc7c458669c4e6a35c67b7815a00ebbbae8dd3
2010-11-16 21:36:42 -08:00
satok
67ddf9cbd5 Add a function to get enabledInputMethodAndSubtype
Change-Id: Ie97635343249aa63e33028c2843cab103125ca92
2010-11-17 13:59:56 +09:00
Dianne Hackborn
4f3c25f317 Merge "Fix issue #3202866: system server crash" 2010-11-16 19:36:31 -08:00
Dianne Hackborn
d9b3b7e8e1 Fix issue #3202866: system server crash
Change-Id: Ied92164bea70f6cb8afe2c1c6ff4fc3836a209ab
2010-11-16 19:35:20 -08:00
Jim Miller
e355c70cc6 Fix 3191824: Fix lockscreen portrait mode for xlarge devices
This fixes a number of bugs in the layout file for lockscreen.

Change-Id: I58f66389939e91e8e2184940d6824e0fe0650986
2010-11-16 18:56:42 -08:00
Chris Tate
0de1ed5bdf Merge "Permission fix: don't require BACKUP perm for self-restores" 2010-11-16 18:44:06 -08:00
Jason Sams
68f0a32d10 Merge "Fix ref counting for globals when set from java code." 2010-11-16 18:30:58 -08:00
Gilles Debunne
4a0d0b34b2 Fix for disappearing background in buttons.
Change-Id: I7c7058ee8a292e73c25ba8c3e8d46899b7296c1e
2010-11-16 18:21:29 -08:00
Dianne Hackborn
be26d055c9 am d28dc3cf: (-s ours) am 05434e9f: Final API 9. Really! Honestly! I hope.
* commit 'd28dc3cf7738f5574ef6359a67d68820dc6c2ad4':
  Final API 9.  Really!  Honestly!  I hope.
2010-11-16 18:10:48 -08:00
Jeff Sharkey
4fbfca3915 Merge "Show Bitmap.Config value when unable to handle." 2010-11-16 18:10:02 -08:00
Vasu Nori
b2475011bc Merge "return file uri from downloadmanager instead of content uri for public downloads" 2010-11-16 18:06:10 -08:00
Vasu Nori
6e2b2a660e return file uri from downloadmanager instead of content uri for public downloads
also add another public method to return mimetype for the given downloaded file
change is related to bug:3198355

Change-Id: I90bae443eec36968e0d533d9b07a514df369ac29
2010-11-16 17:58:22 -08:00
Dianne Hackborn
d28dc3cf77 am 05434e9f: Final API 9. Really! Honestly! I hope.
* commit '05434e9fa7a6ec844611bbd154c4a3eceafec538':
  Final API 9.  Really!  Honestly!  I hope.
2010-11-16 17:49:07 -08:00
Gilles Debunne
e521c16eb6 Merge "Fix for IOOBoundsExc in SpannableStringBuilder" 2010-11-16 17:43:19 -08:00
Jason Sams
6f4cf0b888 Fix ref counting for globals when set from java code.
Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
2010-11-16 17:37:02 -08:00
Fred Quintana
2978e5ad46 Merge "handle a race condition where a cursor receives an inflight onChange after the cursor has been closed" 2010-11-16 17:36:43 -08:00
Fred Quintana
866647f9b4 handle a race condition where a cursor receives an inflight onChange after the cursor has been closed
Change-Id: I11e3d969ef48ef5150976241bb62717c6c0c1b83
2010-11-16 17:31:59 -08:00
Brad Fitzpatrick
aaf12770b8 Merge "Annotate ListView with StrictMode.Span" 2010-11-16 17:27:43 -08:00
Brad Fitzpatrick
1cc13b6d1c Annotate ListView with StrictMode.Span
Change-Id: Ibee1bfa73c85dac2e8103eb5900f0609cbb30ee7
2010-11-16 17:18:36 -08:00
Patrick Dubroy
eb4e475d94 Merge "Reduce amount of garbage created when flipping StackViews" 2010-11-16 17:02:29 -08:00
Chris Tate
44ab8453e1 Permission fix: don't require BACKUP perm for self-restores
The public API is not supposed to require the BACKUP permission in order
for an application to restore its own last-known-good backup data.  However,
as currently implemented, BackupManager.requestRestore() [the public API
in question] depends on private Backup Manager methods that *do* enforce
that permission.  The net result is that the method cannot be successfully
used by third party applications: it will throw an exception if attempted.
This CL restructures the permission checking involved.

First, the underlying beginRestoreSession() operation can now be passed a
'null' transport name; if this is done, then the restore session is begun
on whatever the currently-active transport is.  Looking up the name of the
active transport is one of the permission-guarded actions that was required
with the initial implementation.

Second, a package name can now be passed to beginRestoreSession().  If
this is done, then the restore session can only be used to perform a
single-package restore of that one application.  The BACKUP permission is
not required if the caller is tying the restore to its own package name.

In combination, these changes permit BackupManager.requestRestore() to
function without the calling app needing to hold any special permission.
The no-permission case is intentionally quite narrow:  the caller must
hold the permission unless they both (a) pass 'null' for the transport
name, thereby accepting whatever the currently active transport is, and
(b) pass their own package name to restrict the restore session only
to their own app.

External bug http://code.google.com/p/android/issues/detail?id=10094
Internal bug 3197202

Change-Id: Ibc9d652323f2da03727d850f991b4096af6520d2
2010-11-16 16:57:29 -08:00
Costin Manolache
aa3e778b0e Merge "Remove notifications for account when account is removed." 2010-11-16 16:54:45 -08:00
Amith Yamasani
7eea0f18b4 Merge "3049240 TalkBack on Accessibility Options reads out passwords entered in during Lock screen" 2010-11-16 16:47:40 -08:00
Svetoslav Ganov
1d1e1105ad 3049240 TalkBack on Accessibility Options reads out passwords entered in during Lock screen
Change-Id: I70b29611d798df1da10e0e950154ef5f49aba7c5
2010-11-16 16:44:03 -08:00
Svetoslav Ganov
9b756acfbd Metakeys incorrectly delivered to JavaScript
Change-Id: I373eee0c4eb44c2dfd1e8534f5cb241e0c04a473
2010-11-16 16:37:37 -08:00
Gilles Debunne
162bf0f1b9 Fix for IOOBoundsExc in SpannableStringBuilder
Bug 3182953

Change-Id: Idc7faa86b8250bf325e2547d7d4c094300a06686
2010-11-16 16:23:55 -08:00
Patrick Dubroy
e80202d5c3 Reduce amount of garbage created when flipping StackViews 2010-11-16 16:23:44 -08:00
Wink Saville
0dcea08af3 Merge "Cleanup some debug output." 2010-11-16 16:15:36 -08:00
Wink Saville
e613adcc55 Cleanup some debug output.
Change-Id: Iac39e7ffb1f7409647ce112f9347c42d2909846a
2010-11-16 16:11:41 -08:00
Costin Manolache
ec0c4f4183 Remove notifications for account when account is removed.
Change-Id: I21b5d757231401c10c922443cecd04b68f922c0b
2010-11-16 16:08:22 -08:00
Andreas Huber
66b8994ed2 Merge "Support post-decode video rotation." 2010-11-16 16:03:25 -08:00
Dianne Hackborn
05434e9fa7 Final API 9. Really! Honestly! I hope.
Change-Id: I2ee5844587b5745556d621e4b9ef0efa3ec5edcf
2010-11-16 15:40:56 -08:00
Andreas Huber
940c866c99 Support post-decode video rotation.
Change-Id: I9ac90871269c5e132e98a9bf3ad8cae00f329f17
2010-11-16 15:26:30 -08:00
Gil Dobjanschi
3ee66f7b34 Merge "Invalidate transitions when the start time or duration of an effect or overlay changes." 2010-11-16 15:26:01 -08:00
Adam Powell
3afce6687c Merge "Improve docs around ActionBar as noted in bug 3111444." 2010-11-16 15:12:41 -08:00
Adam Powell
ef70444768 Improve docs around ActionBar as noted in bug 3111444.
Rename method that was missed in previous ActionBar
refactoring. Deprecated previous version for compatibility for apps in
development.

Change-Id: I2c466aed8ed620aec5056026257e131fadf8843e
2010-11-16 15:08:35 -08:00
Andreas Huber
840f1263b3 Merge "Apparently SystemProperties jni native support must now be registered before Binder's." 2010-11-16 14:50:40 -08:00
Andreas Huber
a8079bfb9a Apparently SystemProperties jni native support must now be registered before Binder's.
Change-Id: Ia7197f41052c4d47dbecec400a7c789317f743a0
2010-11-16 14:48:44 -08:00
Jason Sams
db42351b0f Merge "Fix crash with extended debugging." 2010-11-16 14:24:40 -08:00
Gilles Debunne
c50f1505aa Merge "Multiline EditText have top and bottom brackets to differentiate from single line." 2010-11-16 14:11:17 -08:00
Andreas Huber
f4726a22c8 Merge "Remove all traces of legacy renderer support in stagefright." 2010-11-16 13:59:02 -08:00
Brad Fitzpatrick
c5f99f39c6 Merge "Fix more things that CloseGuard found." 2010-11-16 13:50:07 -08:00
Jeff Sharkey
4bd1a3dbca Show Bitmap.Config value when unable to handle.
Part of investigating http://b/3201172.

Change-Id: I76a31c968b4c60beb079349a0722aa9a4ea5921c
2010-11-16 13:47:37 -08:00
Brad Fitzpatrick
ba22d21c3a Merge "Fast no-op path for StrictMode.Span on user builds." 2010-11-16 13:33:06 -08:00
Adam Powell
0046bd8ea6 Fix bug 3192412 - ListView doesn't reportScrollStateChange properly
for programmatic scrolls

Allow for onScrollStateChanged implementations that end up changing
scroll state again.

Change-Id: I53105f5be708bacc0d3ec8e76ba1cc22f4131467
2010-11-16 13:28:27 -08:00
Andreas Huber
c23dabfb20 Remove all traces of legacy renderer support in stagefright.
Change-Id: I17b8e0dbf53fca37c96830c41131b4bc0c24ca6d
2010-11-16 13:05:53 -08:00
Brad Fitzpatrick
1181cbbfd7 Fast no-op path for StrictMode.Span on user builds.
Change-Id: I3eb75288d670a8ac1e10547715d8c1a855a5fdc9
2010-11-16 12:46:16 -08:00