7766 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
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
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
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
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
Daniel Lehmann
6edcdc1044 Removed compatibility function (was left in before to not break the build)
Bug:2501468

Change-Id: I6b163eb3ce02ed899882d1b6534c1afb6fe1e7c3
2010-03-12 18:36:28 -08:00
Christopher Tate
38af4c36fc Merge "API CHANGE: expose the backup-related ApplicationInfo flag masks" 2010-03-12 18:34:53 -08:00
Christopher Tate
3de55bcd34 API CHANGE: expose the backup-related ApplicationInfo flag masks
Fixes bug #2507582 by doing the following:

- Un-@hide the FLAG_ALLOW_BACKUP, FLAG_KILL_AFTER_RESTORE, and
  FLAG_RESTORE_ANY_VERSION mask constants in ApplicationInfo.  These
  correspond, respectively, to the <application> manifest tag's
  android:allowBackup, android:killAfterRestore, and
  android:restoreAnyVersion attributes.

- Remove the android:restoreNeedsApplication attribute and the
  corresponding FLAG_RESTORE_NEEDS_APPLICATION constant [which was still
  marked @hide].  We now always use the application's own Application
  class when performing a normal restore.  In the future when we support
  an externalized full-filesystem backup/restore operation, we will use
  an OS-defined agent class with a base-class Application instance, but
  this will not happen until a future release.

Also expands real documentation on the above ApplicationInfo constants;
that work is part of bug #2465360

Change-Id: I735d07a963ae80a01343637d83bef84e4c23fdcc
2010-03-12 18:11:00 -08:00
Jim Miller
a027c95e79 Fix 2428368: Fix most of the lockscreen orientation refresh bugs
This change removes the legacy notification of orientation and configuration changed events
from KeyguardUpdateMonitor and moves them into the individual activities.  This was necessary
to guarantee order of events.

In addition, to minimize discrepencies due to notification lag, Keyguard screens (LockScreen,
PatternUnlock, etc.) are now responsible for handling onConfigurationChanged() notification and
forwarding them to LockPatternKeyguardView by a call to recreateMe() with the new configuration.

Change-Id: I703daf3e91bc6588e87c844a3ed3d259a6b8ecdf
2010-03-12 17:32:01 -08:00
Robert Greenwalt
50f1c4b709 Resync with Telephony after losing Phone service.
Bug shows we lost contact with the phone service.  We used to leave the notion of enabled alone
in this case, but that can lead to being out of sync (the mobile data connection may be
alive or come alive but if we think it is dead we ignore it).  Changing our
notion of its enabled-ness to 'enabled' means we'll pay attention to its messages going forward,
and since after a reboot it starts enabled we'll actually be in sync.

bug:2323057
Change-Id: Ie080b50d764e6879e712507aceb68f585f12f94e
2010-03-12 17:27:41 -08:00
Eric Fischer
cf6773de30 Merge "Add documentation for LeadingMarginSpan2." 2010-03-12 16:43:07 -08:00
Nicolas Catania
9627c36a32 Merge "ListActivity.onDestroy, remove any pending callbacks." 2010-03-12 15:55:51 -08:00
Amith Yamasani
747d2d4b9e Use a Go button instead of a magnifying glass in the keyboard for in-app search.
bug: 2197781
2010-03-12 15:42:45 -08:00
Dianne Hackborn
061d58a101 Fix problem with starting a translucent activity in onCreate().
Fixes issue #2437252: Starting activity by means of startActivityForResult
causes 5 seconds delay if "android:windowIsTranslucent" is true

The optimization to avoid showing an activity window when a new
activity is being started was a little too aggressive.  Now it
avoids doing this if there is not actually a fullscreen activity
on top to cover it.

Change-Id: I630e37a1f1d3b874b5a25572cbf887cebc2e3e91
2010-03-12 15:41:24 -08:00
Nicolas Catania
f767e75212 ListActivity.onDestroy, remove any pending callbacks.
Added a onDestroy method to do the callbacks cleanup.

Apologies for the line end whitespaces my editor removed
automatically.

Bug:2090959
Change-Id: Id3ea4b8fc38e55c1b1ef78b3ec5b81cb02ab5b69
2010-03-12 15:37:43 -08:00
Eric Fischer
ec8b102190 Add documentation for LeadingMarginSpan2.
Bug 2420334

Change-Id: Ica42cc34a938a5ec529da16804d1f0e6fddcc249
2010-03-12 15:35:41 -08:00
Adam Powell
069b3cfcd4 Merge "Make sure visible View state is updated before dispatching clicks" 2010-03-12 14:58:32 -08:00
Ken Shirriff
3646d056ce Merge "Make sure Browser cursors are closed" 2010-03-12 14:52:24 -08:00
Adam Powell
a35d7687dd Make sure visible View state is updated before dispatching clicks
Change-Id: If2619ffa760be708efe8b0d2d04e17eb0dc9375e
2010-03-12 14:48:13 -08:00
Ken Shirriff
29c228e074 Make sure Browser cursors are closed
finalizer errors were occurring due to unclosed cursors, maybe
causing ANRs.

Change-Id: Ibe75f7dbe7b591023a1560a5ffbfe84fac694ef2
2010-03-12 14:31:16 -08:00