15699 Commits

Author SHA1 Message Date
Eric Fischer
f877febb5c Import revised translations.
Change-Id: I0433434e0ac7e590a066a4e0b435278293089dbd
2010-11-17 11:36:19 -08:00
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
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
Chris Tate
0de1ed5bdf Merge "Permission fix: don't require BACKUP perm for self-restores" 2010-11-16 18:44:06 -08:00
Gilles Debunne
4a0d0b34b2 Fix for disappearing background in buttons.
Change-Id: I7c7058ee8a292e73c25ba8c3e8d46899b7296c1e
2010-11-16 18:21:29 -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
Gilles Debunne
e521c16eb6 Merge "Fix for IOOBoundsExc in SpannableStringBuilder" 2010-11-16 17:43:19 -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
Costin Manolache
ec0c4f4183 Remove notifications for account when account is removed.
Change-Id: I21b5d757231401c10c922443cecd04b68f922c0b
2010-11-16 16:08:22 -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
Gilles Debunne
c50f1505aa Merge "Multiline EditText have top and bottom brackets to differentiate from single line." 2010-11-16 14:11:17 -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
Brad Fitzpatrick
1181cbbfd7 Fast no-op path for StrictMode.Span on user builds.
Change-Id: I3eb75288d670a8ac1e10547715d8c1a855a5fdc9
2010-11-16 12:46:16 -08:00
Gilles Debunne
fe4d5defd0 Multiline EditText have top and bottom brackets to differentiate from single line.
Change-Id: Iab6da75e7a823018221399c0b03dd47f7f768f21
2010-11-16 12:01:16 -08:00
Dianne Hackborn
3a57fb9e9c Fix issue #3191573: PreferenceFragment.onActivityResult cannot
launch a new fragment on the same call.

There were some problems with the API design where you could do
things in such a way that a back stack entry that was not at the
top would get popped.  Ouch.  Hopefully this change prevents that
from being able to happen.

Change-Id: I8cbc952e12ddd231ff6c84b6e9bbf5125f449f04
2010-11-16 10:50:31 -08:00
Eric Rowe
248caac22e Merge "Remove asserts in bluetooth test utils" 2010-11-16 10:41:11 -08:00
Eric Rowe
16013b37cb Merge "Add acceptPair method to BT stress." 2010-11-16 10:39:24 -08:00
Adam Powell
850a4c6688 Merge "Fix bug 3198503 - NPE at MenuPopupHelper.dismiss" 2010-11-16 10:27:54 -08:00
Adam Powell
ed8b403cc8 Fix bug 3198503 - NPE at MenuPopupHelper.dismiss
Make sure dismiss() can be called even when the popup is not currently
showing.

Change-Id: I48077d8b3bfe0df04bceeb056ed54cbd79a6e660
2010-11-16 10:22:35 -08:00
Brad Fitzpatrick
f342ac9182 am 8443dd16: am 383e95e2: Merge "DropBox: Read until the end of stream has been reached"
* commit '8443dd16c2dfd5f56e33fbe76129f56e6a83b23e':
  DropBox: Read until the end of stream has been reached
2010-11-16 09:40:52 -08:00
Brad Fitzpatrick
8443dd16c2 am 383e95e2: Merge "DropBox: Read until the end of stream has been reached"
* commit '383e95e245ceb87a2a6ad6422404ce641f0e08eb':
  DropBox: Read until the end of stream has been reached
2010-11-16 09:37:56 -08:00
Brad Fitzpatrick
383e95e245 Merge "DropBox: Read until the end of stream has been reached" 2010-11-16 09:22:31 -08:00
Xia Wang
4e74e181d1 am f55c9736: am d0a8f54a: Merge "Add Wi-Fi connection functional tests." into gingerbread
* commit 'f55c973637f2b17de0f5543260e7e409a8635112':
  Add Wi-Fi connection functional tests.
2010-11-16 09:18:48 -08:00
Xia Wang
f55c973637 am d0a8f54a: Merge "Add Wi-Fi connection functional tests." into gingerbread
* commit 'd0a8f54a5bcd6a10eaaa88d888c3cbb83869532c':
  Add Wi-Fi connection functional tests.
2010-11-16 09:16:54 -08:00
Cary Clark
21a97ef9f2 make tap initiated scrolls more reliable
Programmatic scrolls fail when the scroll has not had a chance
to start. In this case, the current position equals the last
position; the logic erroneously cancels the scrolls, assuming
that in this case the scroll has finished.

Also, new scrolls should cancel the old velocity whether they
are animated or not.

This has a companion change in external/webkit, which is not
required, but makes tap initiated scrolls work more reliably.

bug:1331125
bug:3099569
Change-Id: I80ae8e8cdefce2d8d09532f79d1b2e1ae4738fa6
2010-11-16 10:22:11 -05:00
Christian Lindeberg
e9f1881521 DropBox: Read until the end of stream has been reached
Read the requested length or until the end of the input stream
has actually been reached.

Change-Id: I01bc0b81eca0225209bdd288dde6a778a19d1e2c
2010-11-16 09:57:54 +01:00
Adam Powell
debf3bed9e Fix bug 2948913 - provide lifecycle notifications for action modes
Change-Id: I432e29a7bddb18bc32dfbe21a8ecd7d83158e3a0
2010-11-15 20:59:29 -08:00
Vasu Nori
f598b242f1 Merge "another bug introduced by some previous refactoring CL" 2010-11-15 17:30:00 -08:00
Vasu Nori
98f030742c another bug introduced by some previous refactoring CL
bug:3197501
Change-Id: I29342b111ef25c75129b095acee307c5d79f1692
2010-11-15 17:22:20 -08:00
Eric Rowe
b49aa60829 Remove asserts in bluetooth test utils
Certain checks were causing the test to fail due to a race condition.

Bug: b/3198566
Change-Id: I9389a1936f6032939851922c052ef8ed32e5283b
2010-11-15 17:09:46 -08:00
Michael Jurka
f942b7cbca Merge "Fix issue where Launcher was not getting redrawn" 2010-11-15 17:01:54 -08:00