19049 Commits

Author SHA1 Message Date
Fred Quintana
82c5c4248a fix a bug where if a syncmanager gets back a SyncAlreadyInProgress error
it immediately reschedules another sync, thus burning up the battery if
the sync is in progress for a while.

http://b/issue?id=2477901
2010-03-01 12:36:21 -08:00
Fred Quintana
96d92f19c7 Merge "remove redundant @hides" 2010-02-26 13:43:09 -08:00
Mike Lockwood
2ff9307ec8 Merge "CdmaDataConnectionTracker: Add DUN to list of supported APN types." 2010-02-26 13:37:34 -08:00
Marco Nelissen
c1c138ca7f Merge "When we're in the 'playback complete' state, don't consider pausing an error. This makes 'playback complete' essentially equivalent to being paused at the end, and treats it the same as being paused at any other position." 2010-02-26 13:30:27 -08:00
Doug Zongker
18bdb14e56 remove unused GoogleWebContentHelper resources
GoogleWebContentHelper now builds against the SDK, so remove these
resources (which it can't use any more).

b/2408470 - google-common needs to build against the SDK

Change-Id: I48556937ebcb5682d02ad48050299ffd6deed9ae
2010-02-26 13:21:43 -08:00
Fred Quintana
6cb6f246fe remove redundant @hides 2010-02-26 13:19:18 -08:00
Marco Nelissen
465faa925d When we're in the 'playback complete' state, don't consider pausing
an error. This makes 'playback complete' essentially equivalent to
being paused at the end, and treats it the same as being paused at
any other position.
2010-02-26 13:16:23 -08:00
Romain Guy
80615257cf Merge "Send cancel event to recycled views instead of an up. Bug #2309387" 2010-02-26 13:16:21 -08:00
Fred Quintana
1b487ec44b expose some sync control methods
- ActiveSyncInfo
- ContentResolver.addStatusChangeListener
  - SYNC_OBSERVER_TYPE_SETTINGS
  - SYNC_OBSERVER_TYPE_PENDING
  - SYNC_OBSERVER_TYPE_ACTIVE
- make the ContentService resilient to nulls passed in to the
  status change listener registration and unregistration calls

bug http://b/issue?id=2337197
2010-02-26 13:07:54 -08:00
Chris Tate
f8219914f2 Merge "Add single-package restore to Bmgr feature set" 2010-02-26 13:06:42 -08:00
Suchi Amalapurapu
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
Christopher Tate
7d411a3b94 Add single-package restore to Bmgr feature set
Also sanity-check the package name on the Backup Manager side, failing gracefully
if the given package is not a backup/restore participant.

Bug: 2293977

Change-Id: I3575046ffcaa3cf45c1c602824baeadd64082f70
2010-02-26 12:45:22 -08:00
Joe Onorato
4c904a3bf3 fix the build. 2010-02-26 12:35:55 -08:00
Mike Lockwood
448fa8ba41 CdmaDataConnectionTracker: Add DUN to list of supported APN types.
Change-Id: I72549a761757f93cfeb9d16e2f64331134155156
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-26 15:16:52 -05:00
Romain Guy
8afa515936 Send cancel event to recycled views instead of an up.
Bug #2309387

This was a problem in lists with list items that would cause notifyDatasetChanged()
interleaved with a series of up/down motion events. This is a pretty rare case
but it's worth fixing it to avoid getting views in a weird state.
2010-02-26 11:56:30 -08:00
Vasu Nori
d20958551c Merge "in finalize() methods, log warnings if db lock is going to be held." 2010-02-26 11:45:54 -08:00
Gilles Debunne
b96f3b771b Merge "New tests for ExpandableListView to exercice packed position with headers/footers." 2010-02-26 11:37:41 -08:00
Dianne Hackborn
5cb70b5415 Rename Display.getOrientation() to Display.getRotation().
Update various docs.
2010-02-26 11:23:24 -08:00
Bjorn Bringert
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
Vasu Nori
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
Andreas Huber
16f6354be4 Merge "The PV aac software decoder screws up if playing a mono-AACplus stream unless we output stereo data. Now we always output stereo data as the legacy OMX nodes did." 2010-02-26 10:47:11 -08:00
Marco Nelissen
3d6c986d02 Merge "Make AsyncPlayer.startSound catch all exceptions instead of only a few. Two reasons for this: - it's used in the system process - it's run in a separate thread, so the user of AsyncPlayer cannot catch these exceptions" 2010-02-26 10:46:46 -08:00
Fred Quintana
a834949aff Merge "deprecate SyncConstValue, since it is now only used by the deprecated ContactsProvider interface" 2010-02-26 09:50:18 -08:00
Andreas Huber
749c570be1 The PV aac software decoder screws up if playing a mono-AACplus stream unless we output stereo data. Now we always output stereo data as the legacy OMX nodes did.
related-to-bug: 2472545
2010-02-26 09:47:28 -08:00
Marco Nelissen
4ba297f3ed Make AsyncPlayer.startSound catch all exceptions instead of only a few.
Two reasons for this:
- it's used in the system process
- it's run in a separate thread, so the user of AsyncPlayer cannot catch these exceptions
2010-02-26 09:30:20 -08:00
Ben Murdoch
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
Wu-cheng Li
0402e7da70 Fix SDK build. 2010-02-26 15:04:55 +08:00
Wu-cheng Li
24b326a897 Unhide exposure compensation API.
bug:2375993
2010-02-26 14:04:43 +08:00
Jim Miller
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
Jim Miller
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
Jaikumar Ganesh
80d27ad33c Merge "Move auto pairing data to a file, add values dynamically." 2010-02-25 19:39:58 -08:00
Gilles Debunne
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
Jaikumar Ganesh
c06fe59cb5 Move auto pairing data to a file, add values dynamically. 2010-02-25 18:23:38 -08:00
Chris Tate
410afb4431 Merge "Default the auto-restore setting to "enabled."" 2010-02-25 18:04:08 -08:00
Christopher Tate
5035fdab3d Default the auto-restore setting to "enabled."
Change-Id: I7d8710466214a1b09aabdd71e77b9b34d3d62365
2010-02-25 18:01:14 -08:00
Romain Guy
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
Chris Tate
3f3e53bc30 Merge "Be sure to back up / restore some new settings" 2010-02-25 17:20:50 -08:00
Christopher Tate
ae06ed9738 Fix the build
Change-Id: I41616afc75a3366ea7e9e79ac7ea4c46d1863d83
2010-02-25 17:13:28 -08:00
Marc Blank
50d89f9616 Merge "Define the new lastSyncedAttendeeStatus column" 2010-02-25 16:59:54 -08:00
Christopher Tate
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
Chris Tate
1fc2ff97ed Merge "Start respecting the auto-restore-at-install setting" 2010-02-25 16:52:08 -08:00
Fred Quintana
9e0d2b528e deprecate SyncConstValue, since it is now only used by the deprecated ContactsProvider interface 2010-02-25 16:52:05 -08:00
Marc Blank
64a556d755 Define the new lastSyncedAttendeeStatus column
Change-Id: I567ca24770fb401ed5a2bdfce5709e77b6fb4202
2010-02-25 16:51:12 -08:00
Carl Shapiro
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
Adam Powell
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
Andreas Huber
7bc58b07e2 Merge "Support vendor MPEG4 test content with apparently malformed chunks in them." 2010-02-25 16:25:43 -08:00
Andreas Huber
dfb8eee5bd Support vendor MPEG4 test content with apparently malformed chunks in them.
related-to-bug: 2472211
2010-02-25 16:24:32 -08:00
Dmitri Plotnikov
da2572ad75 Renaming contact search snippet fields.
Change-Id: If27271665aedbb125072bbcd0cf375846c38cc9f
2010-02-25 16:09:35 -08:00
Adam Powell
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
Kenny Root
8221e323e8 Merge "Remove misleading method comment on TextView#setHint" 2010-02-25 15:54:19 -08:00