9338 Commits

Author SHA1 Message Date
Suchi Amalapurapu
d3dd518baf Merge "Add new install flag to install on internal flash only Change default install location policy for new flag. New error code for media unavailable." 2010-03-17 18:50:29 -07:00
Suchi Amalapurapu
14b6abda13 Add new install flag to install on internal flash only
Change default install location policy for new flag.
New error code for media unavailable.

Change-Id: I5a5d0828b067692b2b94a15a2bcc7534f796c1a2
2010-03-17 18:43:31 -07:00
Adam Powell
f43eab142d Merge "Make AbsListViews remeasure children after rotation" 2010-03-17 18:33:18 -07:00
Erik
3be0b0a15d Merge "b/2483233 Made each reminder time a unique intent" 2010-03-17 17:55:06 -07:00
Wink Saville
3781764949 Merge "Add additional sendMessage methods." 2010-03-17 17:54:28 -07:00
Adam Powell
f3c2edaa21 Make AbsListViews remeasure children after rotation
Fixes issues in Settings and other places where TextView separators
aren't resized properly after a rotation

Change-Id: Id5c53d4c5e6621e79e723ec2c300c8a43f12e379
2010-03-17 17:50:47 -07:00
Wink Saville
91fbd56757 Add additional sendMessage methods.
To simplify sending messages add sendMessage methods that take
what and obj as parameters.

Change-Id: Ib22d752eb3cb32fe3dfa8dd2e65915acec3e5db6
2010-03-17 17:12:43 -07:00
Erik
42f1957817 b/2483233 Made each reminder time a unique intent
Snoozing alarms was causing a leapfrog effect which would drop the
alert in the middle because of PendingIntent. By making each intent
unique to a given time this will no longer occur.

Change-Id: I6ca6821f7f8879a299775f4fca4e2ad0de55f1bc
2010-03-17 16:19:27 -07:00
Romain Guy
a15f4a46ad Merge "Prevent crash when dismissing a PopupWindow that didn't have time to show up. Bug #2520981" 2010-03-17 15:29:21 -07:00
Romain Guy
92be82e6a8 Prevent crash when dismissing a PopupWindow that didn't have time to show up.
Bug #2520981

This is very similar to recent crashes we fixed in Dialogs.

Change-Id: Ifd85f05ddc3843ef727ca92808568a5520c83107
2010-03-17 15:16:21 -07:00
Scott Main
8ad6465ca4 docs: remove documenation about the search dialog from SearchManager
and point to the new developer guide. Also update the searchable config
doc with a few comments about action keys because they're not documented
anywhere else.

Change-Id: I66d43881daf03a3ffe30b3e5aa6857c8829a6d72
2010-03-17 15:03:05 -07:00
Charles Chen
ceffa1597d Adding secure setting for storing a list of enabled TTS plugins.
Change-Id: I972ae4fb71e430828b7d4b297613f6a21da3c982
2010-03-17 14:50:31 -07:00
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
3b40ebfac3 Merge "Fix NPE in AutoCompleteTextView to tame the monkeys. Bug #2522599" 2010-03-17 11:10:07 -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
Daniel Sandler
09bc8d8c12 Merge "Add progress indicator to USB mass storage screen." 2010-03-17 10:53:11 -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
d246ca8115 Merge "Allow the shift key to be passed to plugin." 2010-03-17 07:20:37 -07:00
Leon Scroggins
d426c58d94 Remove assets which are no longer used.
Change-Id: I3d09d8a096603438b32bd927b33e738a0fd2068b
2010-03-17 10:01:01 -04: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
Daisuke Miyakawa
beb0c1b3ec Merge "Make JNI function for setLocale() call register_localized_collators() with the current locale, not previous one, every time it is possible." 2010-03-16 15:04:13 -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
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
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