7785 Commits

Author SHA1 Message Date
Romain Guy
8dd9b6053c Merge "Fix centering in FrameLayout when margins are specified." 2010-03-17 12:45:39 -07:00
Romain Guy
b954a54350 Fix centering in FrameLayout when margins are specified.
Change-Id: I022f458c73967eacc9487bf8d8119999395efda9
2010-03-17 12:45:10 -07:00
Romain Guy
11d5bfde84 Fix NPE in AutoCompleteTextView to tame the monkeys.
Bug #2522599

Change-Id: I85654898399e5329585fb6aa5f3890ca4c22e2bf
2010-03-17 11:08:17 -07:00
Romain Guy
4f43ae09d2 Stupid AutoCompleteTextView.
Bug #2522538

Fixes problems that occur in the Email application. If the adapter is initially empty,
the code in the data set observer to update the popup would not show the popup. This
change makes sure the popup will be shown if the adapter was initially empty and the
user has typed enough characters in the input field.

Change-Id: I44a0e4fab18a642763816a974b8c1886d8e52869
2010-03-17 10:39:04 -07:00
Leon Scroggins
69a63b0c52 Allow the shift key to be passed to plugin.
Fix for http://b/issue?id=2519667

Do not return so that we can fall through and pass the shift up
to the page.

Change-Id: Ib3c07f2d39e772f88dd6eee6390034e5a3e3e026
2010-03-17 09:57:19 -04:00
Leon Scroggins
a03d4ce5b4 Make browser search consistent with QSB.
Use the arrow icon for the browser search.

Fixes http://b/issue?id=2520802

Change-Id: I5ebc7de2b5df5fe80be730a46da32fee35d5deff
2010-03-17 09:36:09 -04:00
Irfan Sheriff
9ab518ad79 softAp framework changes
Remove AP persist settings
Add new netd interface
Handle errors
Handle AP config change
Bug: 2413908
Change-Id: I31a1221ef5479da8d4a2620f0f0ee0b62539bc69
2010-03-16 19:54:17 -07:00
Suchi Amalapurapu
8a9ab24a5c Do storage checks before initiating a move.
Add new remote method to check for insufficient error conditions.
Some fixes in MountService when updating media status on PackageManagerService
Fix size calculation condition in installd.

Add new error code if media is unavailable.
New tests for testing error codes.
Some additional debugging statements in MountService.

Change-Id: Ibfe90d5ed6c71d57f9c1c67806f38b5ae9ecdfbf
2010-03-16 16:36:26 -07:00
Fred Quintana
50fdbef2fb Merge "Clean the settings for the account/authority when trying to sync an adapter that is not installed." 2010-03-16 16:13:13 -07:00
Fred Quintana
7620f1ae49 Clean the settings for the account/authority when trying to sync an
adapter that is not installed.

Change-Id: Id4a804615b9546155948797f9dd9a0f03fbe4b2f
http://b/issue?id=2520175
2010-03-16 15:58:44 -07:00
Steve Block
247c065aec Merge "Fix loading from the cache for synchronous requests" 2010-03-16 15:42:14 -07:00
Steve Block
0b43747206 Fix loading from the cache for synchronous requests
This fixes crashes in several XHR layout tests.

Bug: 2218794
Change-Id: Iebe3a2d19f1fa43b8d9c9d7763e818f7195b8ceb
2010-03-16 22:31:52 +00:00
Brian Carlstrom
4ab72cb7e7 b/2511635 Browser displays incorrect SSL cert information
WebView's mCertificate member was not cleared when going to new
pages. Rather than clearing mCertificate as was done in previously in
WebView.goBackOrForward, we now clear when CallbackProxy receives a
PAGE_STARTED message.

This problem was highlighted whenever we went to a https page that was
in the cache, since the cache does not store certificate information,
so "More > Page Info > View Certifcate" was showing the certificate of
the last non-cached page because it had not been cleared. See also
b/2516638 "SslCertificate information not cached by CacheManager"

Change-Id: I40284f22ceb7150a6b20ecc2741f6153ed9a3276
2010-03-16 15:14:22 -07:00
Grace Kloba
1e65d9e561 Use float instead of cast to int when calculating
the new zoom center. This should avoid the rounding
difference which caused the video in nytimes.com
not fully fit in the current view.

Fix http://b/issue?id=2512510
2010-03-16 14:21:21 -07:00
Derek Sollenberger
43bde92913 Merge "Plugin surfaces will be limited to 270% of the devices screen size." 2010-03-16 13:53:34 -07:00
Derek Sollenberger
d222a16286 Plugin surfaces will be limited to 270% of the devices screen size.
Change-Id: I7e5ff1f5b8919b9e2e70a703009f9544f457a0e1
2010-03-16 16:52:20 -04:00
Romain Guy
9f4c8e9a3a Merge "Resize AutoCompleteTextView's dropdown when the list content changes. Bug #2517711" 2010-03-16 13:50:32 -07:00
Romain Guy
6a67810228 Resize AutoCompleteTextView's dropdown when the list content changes.
Bug #2517711

Change-Id: Ibd4a9458d517063483712a60fb6d6b63311bbd0c
2010-03-16 13:49:31 -07:00
Vasu Nori
a5bd122122 Merge "close() database should close the db no matter what the ref count says" 2010-03-16 13:33:29 -07:00
Vasu Nori
04708b57da Merge "fix the way last insert rowid is returned" 2010-03-16 12:29:19 -07:00
Derek Sollenberger
7148b15fef Merge "Restrict plugins to a fixed size surface after exceeding a pixel threshold." 2010-03-16 12:01:08 -07:00
Bjorn Bringert
46704571c6 Merge "Set SOURCE to app package name when starting QSB (if not set)" 2010-03-16 12:00:25 -07:00
Romain Guy
8ae4c67a8b Merge "Dismiss a dialog if dimissed right after calling show(). Bug #2508607" 2010-03-16 11:41:34 -07:00
Romain Guy
08a4ac3999 Dismiss a dialog if dimissed right after calling show().
Bug #2508607

Change-Id: Id1b3afcaabf700386f70a46bc2401154575149aa
2010-03-16 11:40:40 -07:00
Vasu Nori
f6373e9513 close() database should close the db no matter what the ref count says
bug:2455416
Change-Id: Ia995c952c6941fbaa016c5b251e4980fa5328fbb
2010-03-16 10:53:40 -07:00
Derek Sollenberger
41df3f7e15 Restrict plugins to a fixed size surface after exceeding a pixel threshold.
fixes bug: http://b/issue?id=2428737

Change-Id: I8d8f2c591ac8539a345e0167b05bec8539f34535
2010-03-16 13:47:04 -04:00
Fred Quintana
202755c5e4 Merge "- make the SyncManager add periodic syncs when it upgrades from a version of the accounts.xml file that pre-dated periodic syncs, e.g. eclair or early froyo. http://b/2515823 - make the AccountManagerService dump() use a getAccounts call that doesn't check the GET_ACCOUNTS permission to make it useful in "adb bugreport" - add some logging to SyncManager to help track down a problem" 2010-03-16 10:02:51 -07:00
Fred Quintana
c2e4691d78 - make the SyncManager add periodic syncs when it upgrades from a
version of the accounts.xml file that pre-dated periodic syncs,
  e.g. eclair or early froyo. http://b/2515823
- make the AccountManagerService dump() use a getAccounts call that
  doesn't check the GET_ACCOUNTS permission to make it useful
  in "adb bugreport"
- add some logging to SyncManager to help track down a problem

Change-Id: Icb646909074e2d327d71f6bb39cf06b6fac29e77
2010-03-16 10:01:54 -07:00
Vasu Nori
5bf67247d2 fix the way last insert rowid is returned
if insert statement doesn't succeed, last inserted rowid
shoudl return -1 - instead of returning rowid of the last
successful insert that may have occurred years before this most
recent insert statement failure.

Change-Id: Ia517292afd58fdb600da900e0ee01fe051d6e618
2010-03-16 09:55:13 -07:00
Leon Clarke
c0b778e10f http://b/issue?id=2501101
Create a concept of blocking messages on destruction similar to that in
WebViewCore.java. This is to prevent what I think is a race condition
caused by an orientation event occuring just before the frame is destroyed,
resulting in the orientation listener being called back just before it
is disabled, but posting its message after the messages have been removed.
This results in the orientation event being delivered to a NULL native frame.
2010-03-16 15:28:39 +00:00
Bjorn Bringert
3c24cb77e7 Set SOURCE to app package name when starting QSB (if not set)
If QSB is started by SearchManager.startSearch(globalSearch=true)
from some app that doesn't set SOURCE, it will be set to the
package name of that app.

Bug: http://b/issue?id=2315234
Change-Id: Ic07a143b27b658dea8b081b973ac24349a18b9f1
2010-03-16 12:56:24 +00:00
Adam Powell
650e22ca3a Merge "Fix monkey bug 2512055" 2010-03-15 18:27:38 -07:00
Adam Powell
22cb2f46fd Fix monkey bug 2512055
Don't blow up when there aren't any menu items to layout in IconMenuView.

Change-Id: Ief08f0f8ed89aec4959d4d80cfd066dbe92dc3aa
2010-03-15 18:23:25 -07:00
Romain Guy
82ce6f1c8e Merge "Round up ImageView translations to avoid nasty surprises. Bug #2499812" 2010-03-15 17:55:07 -07:00
Romain Guy
b4938201ba Round up ImageView translations to avoid nasty surprises.
Bug #2499812

Change-Id: If90acb7e13aa30e5a0a4e73782d033a5bb4e3264
2010-03-15 17:53:37 -07:00
Jeff Sharkey
0167c317eb Merge "Switch SelectionBuilder to accept Object[], fix NPE." 2010-03-15 17:19:50 -07:00
Romain Guy
88f183eb4b Merge "Correctly handle disabled list items in AutoCompleteTextView. Bug #2516659" 2010-03-15 17:19:34 -07:00
Romain Guy
2beee4d110 Correctly handle disabled list items in AutoCompleteTextView.
Bug #2516659

Change-Id: If51dfbfff27777476e799030e2326e964ee74f42
2010-03-15 17:18:22 -07:00
Jeff Sharkey
0cd57a44ea Switch SelectionBuilder to accept Object[], fix NPE.
Change-Id: I8d6ef1b47d89e4fc643402075f0549f4c4277a0f
2010-03-15 16:59:47 -07:00
Adam Powell
cf2826ec99 Merge "Fix bug 2516434" 2010-03-15 16:48:04 -07:00
Dmitri Plotnikov
83134c11d7 Merge "Removed compatibility function (was left in before to not break the build) Bug:2501468" 2010-03-15 16:21:32 -07:00
Adam Powell
c5014294a0 Fix bug 2516434
AbsListView shouldn't update mLastTouchMode in onTouchModeChanged;
it's only used in onWindowFocusChanged and since onTouchModeChanged
gets called first, the current and last modes will never be different
to trigger the right code path.

Change-Id: Ic9bc454c87826622df54417801fd8f13213c480e
2010-03-15 16:03:10 -07:00
jsh
1e909ed94c Merge "Add definitions for WiMAX and iDen network types." 2010-03-15 15:35:27 -07:00
Jim Miller
b258659ad6 Merge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs" 2010-03-15 15:33:37 -07:00
jsh
8214deb542 Add definitions for WiMAX and iDen network types.
b/2509185

Change-Id: Icf07ce857874e200712218713edbdbb47e646297
2010-03-15 15:31:08 -07:00
Adam Powell
6af8e145f2 Merge "Fix bugs when transitioning out of touch mode" 2010-03-15 14:14:13 -07:00
Adam Powell
51a6bee671 Fix bugs when transitioning out of touch mode
Change-Id: I56cbac17fba500871af839a87d746ea8e1fd5d0f
2010-03-15 14:07:28 -07:00
Cary Clark
fc2ece4ab6 update comment on WebView loadData
Change-Id: I20fbfabde7eafb8017036a7360ed83fa457cc42c
http://2400117
2010-03-15 16:32:41 -04:00
Brad Fitzpatrick
0e08f2d50a Merge "Allocate SQLiteQueryBuilder's WHERE clause StringBuilder lazily." 2010-03-15 13:02:44 -07:00
Derek Sollenberger
244e896c8b Merge "Allow plugin's surface to handle touch when in full-screen." 2010-03-15 10:32:25 -07:00