9559 Commits

Author SHA1 Message Date
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
Daniel Sandler
c8b7b9f45e Add progress indicator to USB mass storage screen.
When the user taps on the enable button, it's hidden and
replaced with an indeterminate ProgressBar; this is in turn
hidden and replaced with the disable button in response to
broadcasts from the MountService. (Disabling UMS is
analogous.)

(Requires change Ic53cb370, which moves MountService's
operations out of the UI thread.)

Bug: 2483340
Change-Id: Ia25d99cd9709ee5a05316e8f05f66ca9da20aa25
2010-03-16 16:38:04 -04: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
Brett Chabot
52c6c108d3 Merge "Remove flaky test MemoryFileTest:testPurge from large suite." 2010-03-16 12:44:03 -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
Brett Chabot
e1e37c632c Remove flaky test MemoryFileTest:testPurge from large suite.
Bug 2203775

Change-Id: I4709c0910384f1f2313dc67bfe6e163beaa990e6
2010-03-16 11:50:20 -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
Dmitri Plotnikov
28359cc751 Cleaning up list of common nicknames
Bug: 2447291
Change-Id: Id162b6a65e15ccd903accb4258d596944cf80ad0
2010-03-16 10:04:41 -07: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
Johannes Carlsson
ed0d1ab286 Everytime Bluetooth was turned off two file descriptors were not closed
Using close instead of shutdown on the file descriptors and only clear the file
descriptor that was closed. If both file descriptors are cleared the thread
will not be able to close it.
2010-03-16 15:12:39 +01: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
Daisuke Miyakawa
b945639d0c Make JNI function for setLocale() call register_localized_collators()
with the current locale, not previous one, every time it is possible.

Add a unit test verifying this fix.

BUG: 2514026
Change-Id: I4dd1b047e1ab4bf399e2c3ebc0304c0cfa3a0928
2010-03-16 09:54:10 +09: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
Rodrigo Damazio Bovendorp
9119caa144 Updated to WMM2010
Change-Id: I5937eed4a8775eae044500552ec81030b93acb18
2010-03-15 21:19:59 -03: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
Robert Greenwalt
27e8576c0d Merge "Update the tethering icons." 2010-03-15 17:06:44 -07:00
Robert Greenwalt
56f480bbf0 Update the tethering icons.
Got new artwork from the art guys.

Change-Id: I1e1939a0cf201ac26183501609048b44791d8fe2
2010-03-15 17:01:14 -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
Leon Scroggins
4aa44192ee Merge "Call close on Cursors in finally blocks." 2010-03-15 10:24:02 -07:00
Leon Scroggins
fe1143b43b Call close on Cursors in finally blocks.
Fix for http://b/issue?id=2511581

Also call delete instead of deleteHistoryWhere, since we are only
considering non bookmarks anyway.

Change-Id: I00c052db3d27d61592688e7a160e721d5f82b210
2010-03-15 11:23:00 -04:00
Dave Sparks
e6335c904a Add locking around AudioRecord release() function in JNI. Bug 2481952.
There is a potential threading issue where an app could call release()
on two threads. This hack adds a static lock object that serializes
access to the Java fields that contain the pointer to the native
AudioRecord object and weak reference to the Java object. Also
modifies finalize() to call release() so that both use the locking
scheme.

Change-Id: I09dcb19b7f501dc582e40e8718142b493eba2518
2010-03-15 07:47:05 -07:00
Derek Sollenberger
c28ff44b1e Allow plugin's surface to handle touch when in full-screen.
There is a matching commit in external/webkit

Change-Id: I88d8c533eb821c564c453dfd7293616669b3bf37
2010-03-15 08:36:19 -04:00
Brad Fitzpatrick
ae6cdd12ac Allocate SQLiteQueryBuilder's WHERE clause StringBuilder lazily.
Number of callers weren't using this, and seemed like a waste to
allocate it when unnecessary.

Change-Id: Iebb701a9eb4f1d9d028bfe74463574f84a36729c
2010-03-14 11:38:06 -07:00
Amith Yamasani
24217d8e4d Merge "Use a Go button instead of a magnifying glass in the keyboard for in-app search." 2010-03-14 08:00:22 -07:00