Commit Graph

8800 Commits

Author SHA1 Message Date
0eec21d97d Add dialog to display storage users when enabling/disabling ums
Some error dialogs and related strings
MountService changes to follow unmount path when enabling ums.

Please note that MountService api setUmsEnabled does not return
error codes for now. This is a known limitation.
2010-02-26 12:48:21 -08:00
4c904a3bf3 fix the build. 2010-02-26 12:35:55 -08:00
d20958551c Merge "in finalize() methods, log warnings if db lock is going to be held." 2010-02-26 11:45:54 -08:00
b96f3b771b Merge "New tests for ExpandableListView to exercice packed position with headers/footers." 2010-02-26 11:37:41 -08:00
5cb70b5415 Rename Display.getOrientation() to Display.getRotation().
Update various docs.
2010-02-26 11:23:24 -08:00
08bbffb049 Support CharSequence lists+arrays in Bundle+Intent
Fixes http://b/issue?id=2468093

Change-Id: Id82686f6ca8c9501f6db8a07018278a78ddacd05
2010-02-26 11:16:17 -08:00
d606b4bf2c in finalize() methods, log warnings if db lock is going to be held.
this is to track bug:2463988 and bug:2457342
2010-02-26 11:02:32 -08:00
a834949aff Merge "deprecate SyncConstValue, since it is now only used by the deprecated ContactsProvider interface" 2010-02-26 09:50:18 -08:00
b5e15690dc Merge "Keep track of when the HTML5 database path has been set, so that we don't inadvertantly sync it to the native side before it has been set by the client." 2010-02-26 02:11:18 -08:00
0402e7da70 Fix SDK build. 2010-02-26 15:04:55 +08:00
24b326a897 Unhide exposure compensation API.
bug:2375993
2010-02-26 14:04:43 +08:00
4d98579f43 Merge "Fix 2336057: Provide a way for the user to return to a call from LockScreen." 2010-02-25 21:03:17 -08:00
69ac988745 Fix 2336057: Provide a way for the user to return to a call from LockScreen.
This makes the "Emergency call" button dual-purpose. If there's a call in progress,
the button will show "Return to call" and take the user back to the call.
2010-02-25 20:07:56 -08:00
80d27ad33c Merge "Move auto pairing data to a file, add values dynamically." 2010-02-25 19:39:58 -08:00
e26bad0aec New tests for ExpandableListView to exercice packed position with headers/footers.
New tests for
- the different conversions between flat and packed positions.
- selectedPosition
- contextMenuInfo.

All these tests currently fail when list contains headers and/or footers.

Change-Id: Ifb8fcc5de4980221e2ff4ebd2b24bc4fa03c6aae
2010-02-25 18:32:16 -08:00
c06fe59cb5 Move auto pairing data to a file, add values dynamically. 2010-02-25 18:23:38 -08:00
9c3184cc16 Do not recyle headers and footers when measuring the ListView.
Bug #2461893

This was causing headers and footers to be in a wrong state after the first
recycling pass, which would cause them to be detached from the window. This
was in turn preventing invalidate operations from performing successfully.
2010-02-25 17:34:59 -08:00
3f3e53bc30 Merge "Be sure to back up / restore some new settings" 2010-02-25 17:20:50 -08:00
50d89f9616 Merge "Define the new lastSyncedAttendeeStatus column" 2010-02-25 16:59:54 -08:00
14c2d79028 Be sure to back up / restore some new settings
Added in this CL:

   Power sounds enabled
   Dock sound enabled
   Lock/unlock sounds enabled
   Auto-restore app data on install

Change-Id: Ie1c3215e926282e7cac5b82cd6196636049f7f85
2010-02-25 16:53:23 -08:00
9e0d2b528e deprecate SyncConstValue, since it is now only used by the deprecated ContactsProvider interface 2010-02-25 16:52:05 -08:00
64a556d755 Define the new lastSyncedAttendeeStatus column
Change-Id: I567ca24770fb401ed5a2bdfce5709e77b6fb4202
2010-02-25 16:51:12 -08:00
82fe564267 Comment out the finalize() methods defined on the Activity,
ContextImpl, View and ViewRoot classes.  This allows instances of
subclasses to be collected without the additional latency of
finalization.
2010-02-25 16:42:28 -08:00
4bb79db462 Merge "HorizontalScrollView multitouch scroll and only grip on content AbsListView multitouch scroll and only grip on content" 2010-02-25 16:29:42 -08:00
da2572ad75 Renaming contact search snippet fields.
Change-Id: If27271665aedbb125072bbcd0cf375846c38cc9f
2010-02-25 16:09:35 -08:00
4cd47702f0 HorizontalScrollView multitouch scroll and only grip on content
AbsListView multitouch scroll and only grip on content
2010-02-25 16:05:26 -08:00
2a4f254d53 Remove misleading method comment on TextView#setHint
Comment incorrectly specified that the setHint(...) methods were
deprecated and suggested instead using different methods that did not
exist.

Change-Id: I5e7a1570beb8f1cd807853c6d9de8072afa5123e
2010-02-25 15:46:55 -08:00
ac68d81ce1 Merge "Prevent ProgressBar from updating itself when hidden. Bug #2470737" 2010-02-25 14:33:32 -08:00
a05e8a5869 Prevent ProgressBar from updating itself when hidden.
Bug #2470737
2010-02-25 14:32:39 -08:00
aaec779513 Pick up default install location 2010-02-25 14:03:34 -08:00
aa635db5c6 Merge "New test on ContextMenuInfo packed positions." 2010-02-25 13:49:53 -08:00
192ab90388 New test on ContextMenuInfo packed positions.
With and without headers.
Non regression test for bug
http://b/issue?id=1778239

Change-Id: I0235528ac6f8394292bac35f2350f3d5be1e4df7
2010-02-25 13:46:50 -08:00
d82968d8d8 Merge "Improve accelerometer-based orientation sensing." 2010-02-25 13:42:43 -08:00
277903f8d8 Merge "Add support for accessing native bidi implementation via jni." 2010-02-25 12:18:55 -08:00
018ff891a0 don't draw layers with history
The history picture and the layers drawn may be out of sync,
so for now, don't draw the layers when the history picture is
drawn.

Also, remove native class check from drawExtras() since it
is already checked by the caller.

fixes http://b/2457350
fixes http://b/2453780
2010-02-25 15:08:07 -05:00
2269d1572e Re-arrange android-common so framework no longer links with it.
This is the framework part, moving classes around so the framework
no longer needs to link to android-common.  Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
2010-02-25 11:39:33 -08:00
e46145f7c1 Merge "Configuration param to indicate if sd card is behind the battery." 2010-02-25 11:13:21 -08:00
d0c6182cb9 Merge "Correctly handle negative margins in horizontal linear layouts." 2010-02-25 11:02:24 -08:00
c352090c49 Correctly handle negative margins in horizontal linear layouts.
When LinearLayout is measured in EXACTLY mode, we handle the negative margins
a bit differently. This is to support the use case of the current tab design.
2010-02-25 11:01:01 -08:00
ee74858f1f make the SyncStateContentProviderHelper.update() method return an indication if the row to update still exists 2010-02-25 10:59:52 -08:00
18773afa64 Keep track of when the HTML5 database path has been set, so that we don't inadvertantly sync it to the native side before it
has been set by the client.

Change-Id: Idcf604060e5208ec28610dd13e9858adcf44165e
2010-02-25 18:41:56 +00:00
1d620c67e2 Merge "Fix for voice search crash in maps and youtube. Bug 2453182" 2010-02-25 10:27:33 -08:00
d368572f8e Fix for voice search crash in maps and youtube. Bug 2453182
No need to nullify the context variable.

Also fix 2463128 : No voice icon when text is present in text field
2010-02-25 10:25:45 -08:00
0aa341f0d1 When opening the IME or sending a key to a non-cursored textfield, set the default selection.
Fix for http://b/issue?id=2431351
2010-02-25 12:49:29 -05:00
2ec30697c6 refactor drawing to support layers
Drawing elements that appear atop or below layers need to be
drawn both in the proper order and with the correct canvas to
respect clipping and the matrix.

The logic of what to draw is still in WebView.java, but the
actual drawing calls are now triggered inside the layer code.

This still draws layers incorrectly after drawing the history;
will fix this in a future CL.

Move drawing to WebView.cpp.
Use inverseScale to simplify viewPort metrics.
Remove root layer; let WebView.cpp handle it exclusively.

Requires companion fix in external/webkit.

http://b/2457316
http://b/2454127
http://b/2454149
2010-02-25 08:38:48 -05:00
6a4472f4d5 Allow cookies with no name.
Cookies like "foo; path=/;" should be evaluated to have just a name. This makes
it easier to compare cookies when looking for duplicates.

Bug: 2333747
2010-02-25 08:08:32 -05:00
8354fa65eb Make setBackgroundResource() remotable
Change-Id: Iad9c2bdf743a81a085024cad9dc340ae8a983f34
2010-02-25 10:46:03 +00:00
c42e29e0a5 Add new handler mechanism in MountService to make unmount api asynchronous.
MountService updates state on PackageManager and then tries to
kill processes holding file references to media about to be unmounted by
invoking api on ACtivityManager. This is retried upto 4 times to make sure all
processes holding file references are killed before unmounting the media
at specified path.

Also changed PackageManger api to return boolean value to indicate if
MountService is likely to receive broadcasts related to apps on sd.
2010-02-24 20:30:03 -08:00
55df5c2c7c Configuration param to indicate if sd card is behind the battery.
This is to disable unmounting of the sd card by the user.
2010-02-24 20:27:54 -08:00
406b09bbd1 Merge "Add mobile data on/off switch." 2010-02-24 19:45:32 -08:00