26222 Commits

Author SHA1 Message Date
Justin Ho
c08e682d71 am 96ae383d: Merge "Updated speakerphone asset" into ics-mr0
* commit '96ae383d9efbae8eb6a28d194de20ba03cb610e8':
  Updated speakerphone asset
2011-10-13 15:20:01 -07:00
Justin Ho
210ccb8110 Merge "Updated wifi in range status bar notification icon" into ics-mr0 2011-10-13 15:17:34 -07:00
Justin Ho
7c64cc76b6 am caea6473: Merge "Updated cut actionbar icon" into ics-mr0
* commit 'caea6473b46618040c8a8e611618e2c39d3506bf':
  Updated cut actionbar icon
2011-10-13 15:17:25 -07:00
Justin Ho
b5e8a2955a Merge "Updated volume rocker assets for ring notification icon" into ics-mr0 2011-10-13 15:17:22 -07:00
Justin Ho
96ae383d9e Merge "Updated speakerphone asset" into ics-mr0 2011-10-13 15:16:52 -07:00
Justin Ho
caea6473b4 Merge "Updated cut actionbar icon" into ics-mr0 2011-10-13 15:15:48 -07:00
Justin Ho
a197abdc52 Updated wifi in range status bar notification icon
Change-Id: I5e91d14473908086848db552acec0df90e7104c2
2011-10-13 15:13:44 -07:00
Justin Ho
56505a6e79 Updated volume rocker assets for ring notification icon
Change-Id: Ibcdd8e88efaaba9e91a1b6959a83207c747b3195
2011-10-13 15:12:09 -07:00
Justin Ho
874c2c487b Updated speakerphone asset
Change-Id: I5c799853a8ad851670cc58c8b4052859d8363d93
2011-10-13 15:10:41 -07:00
Justin Ho
719aeb5f17 Updated cut actionbar icon
Change-Id: Ib523594be8b3923adc21c6bee2ea4522f4fded79
2011-10-13 15:04:03 -07:00
Kenny Root
6ccd41265d Add support for signature in getPackageArchiveInfo
GET_SIGNATURES was indicated as supported, but it never actually did
anything.

This is needed for the package verifier development sample.

Change-Id: I09ca6790cd8bf9435aa208c0711359b4d76fb278
2011-10-13 14:57:31 -07:00
Jeff Brown
c755ae3b58 Use MatrixCursor instead of ArrayListCursor.
ArrayListCursor is deprecated, and a duplicate private copy of it
is doubly so.

Delete some tests that are duplicated in the CTS package.

Change-Id: Ib5837b12e39dadba57595906ad621b1feb0d2c0d
2011-10-13 14:24:28 -07:00
Jeff Brown
825c5132bf Add a CrossProcessCursorWrapper.
Bug: 5220669

The CrossProcessCursorWrapper is a useful building block
for wrapping cursors that will be sent to processes remotely.
It can also transform normal Cursors into CrossProcessCursors
transparently.

The new class fixes common performance problems and bugs
that applications have encountered when implementing
ContentProviders.

Change-Id: Icc59fec10add3f7d8cfbd0495447860c1872c752
2011-10-13 14:24:26 -07:00
Gilles Debunne
cbdd245793 Merge "Bug 5428541: Check that span is still in text before deleting" 2011-10-13 14:23:37 -07:00
Jeff Brown
b4009c7381 AbstractWindowedCursor is not special.
Use the CrossProcessCursor interface in the way it was intended
without introducing special cases for AbstractWindowedCursor.
This is possible now that we do not distinguish between local-only
and remotable CursorWindows so we don't need to provide a window
to the AbstractWindowedCursor for it to fill; it can provide one
for itself if it wants one.

This logic makes it possible to create CrossProcessCursor
implementations that perform just as well as AbstractWindowedCursors.

Change-Id: I764b25ee6311d28c50d1930705346b265faec86a
2011-10-13 14:17:24 -07:00
Christopher Tate
28e9046ed4 Merge "Require device encryption password to perform adb backup/restore" 2011-10-13 14:06:22 -07:00
Adam Powell
9e45b78c4e am aa79a5d5: Merge "Fix bug 5455676 - seek bars without thumbs" into ics-mr0
* commit 'aa79a5d5a3b06b5b4e40a1ab0ccc6697627b1a8d':
  Fix bug 5455676 - seek bars without thumbs
2011-10-13 13:12:42 -07:00
Adam Powell
aa79a5d5a3 Merge "Fix bug 5455676 - seek bars without thumbs" into ics-mr0 2011-10-13 13:10:14 -07:00
Daniel Sandler
8c05abf157 am dba93565: Break apart DISABLE_HOME and DISABLE_RECENT.
* commit 'dba935659024a9ca83cb6bd3f1a9970e277f7658':
  Break apart DISABLE_HOME and DISABLE_RECENT.
2011-10-13 12:38:00 -07:00
Christopher Tate
32418be49e Require device encryption password to perform adb backup/restore
This supersedes any backup-password that the user might supply.  Per
design, the device encryption password is also always used to encrypt
the backup archive.

The CL introduces two new strings, used for prompting the user for
their device encryption password rather than their settings-defined
"backup password" when confirming a full backup or restore operation.

Bug 5382487

Change-Id: I0b03881b45437c944eaf636b6209278e1bba7a9f
2011-10-13 12:29:32 -07:00
Daniel Sandler
dba9356590 Break apart DISABLE_HOME and DISABLE_RECENT.
Additionally, start using setSystemUiVisibility() where
possible in the keyguard to allow activities and dialogs to
re-enable some of the navigation keys (notably: home but not
recents).

Finally, stop disabling MENU for activities atop the keyguard.

Bug: 5380495 // no home in driveabout, clock
Bug: 5396134 // able to show home/recent in keyguard
Change-Id: I04eb224554ee8cff79476b85148c4cda75bb0b62
2011-10-13 15:28:10 -04:00
Dave Santoro
e43185e21d Add hidden API for pre-authorizing URIs.
This allows the contacts provider to allow a caller to pre-authorize
a URI for temporary use by another application that would not
otherwise have the special permissions necessary to access it.

Bug 5437453

Change-Id: I3bd7be7c698cac73709c2d305f1723cdcb093ec4
2011-10-13 12:08:42 -07:00
Adam Powell
2c5b8cc71b Fix bug 5455676 - seek bars without thumbs
Change-Id: I9a4257b91a89cceeca7d5acf9358a8254446c784
2011-10-13 11:44:38 -07:00
Fred Quintana
2984971db3 Merge "reworked the flow in the account chooser - resilient to the chooser activity being killed due to memory pressure - back now goes back to the main chooser screen rather than canceling it completely" into ics-mr0 2011-10-13 11:41:19 -07:00
Jean-Michel Trivi
9997fa2e88 Fix 5367082 correct assets for "next" and "previous" in lockscreen
Two issues found in the bug:
1/ The lockscreen layout for the transport controls was referring
 to the wrong framework icon: "previous" instead of "rew", and
 "next" instead of "ff".

2/ The framework icons for "previous" and "next" were wrong:
 "|<" should be "|<<" and ">|" should be ">>|". Copied the
 correct assets from the UX repository:
 btn_playback_ff_normal_holo_dark.png copied to ic_media_next.png
 btn_playback_rew_normal_holo_dark.png copied to ic_media_previous.png

 Note that those assets do NOT exist for ldpi

Change-Id: I9c92d468a984f47f8e8f8c23e00f85a3d03da2ba
2011-10-13 11:08:53 -07:00
Ben Murdoch
64f93d4f91 Merge "Don't redraw when not scrolling, even if finger is held down." 2011-10-13 10:17:57 -07:00
Mangesh Ghiware
df3975c5ae am a6708c6a: Merge "Add setting for configuring zoom level on double-tap." into ics-mr0
* commit 'a6708c6a462d2a30e51e7ded2559a4054cb651fc':
  Add setting for configuring zoom level on double-tap.
2011-10-13 09:19:20 -07:00
Mangesh Ghiware
a6708c6a46 Merge "Add setting for configuring zoom level on double-tap." into ics-mr0 2011-10-13 09:17:10 -07:00
Justin Ho
99b1993f07 am 48cf582d: Merge "Volume overlay right padding increased" into ics-mr0
* commit '48cf582df3bb81afae36314c187f909486c47c55':
  Volume overlay right padding increased
2011-10-13 07:36:09 -07:00
Justin Ho
48cf582df3 Merge "Volume overlay right padding increased" into ics-mr0 2011-10-13 07:32:32 -07:00
Ben Murdoch
fd8d3dede2 Don't redraw when not scrolling, even if finger is held down.
Signal the native side that we are not scrolling when a drag is
held motionless to stop screen updates.

Additionally, in the case that a drag is being held motionless,
send a timed message to keep the scroll bars on screen otherwise
they fade in and out, again causing repaints that shouldn't be
necessary.

Bug: 5440335
Change-Id: I94db0323879885fa48924b41d29e8af03e3b5e7f
2011-10-13 13:23:29 +01:00
Wu-cheng Li
7a3ba4d732 am 514a6cfb: Merge "Improve camera javadoc and fix some errors." into ics-mr0
* commit '514a6cfb7f7085b266f457155ff63373d2dff8ee':
  Improve camera javadoc and fix some errors.
2011-10-12 23:36:14 -07:00
Jeff Brown
80e7b80fa6 Make default implementation of fillWindow typesafe.
Bug: 5218310

This change fixes problems calling the default fillWindow
on Cursors that contain BLOBs.  It should also be more efficient
by avoiding redundant string conversions for numeric datatypes.

Change-Id: Ied515bf6299bc8d3c14e76055d85fd35e7c05952
2011-10-12 22:19:42 -07:00
Jeff Brown
5e5d6d8ba0 Deprecate local-only CursorWindows.
There is no difference and has never really been a difference
between local-only and remotable CursorWindows.  By removing the
distinction officially in the API, we will make it easier to
implement CrossProcessCursor correctly.  CrossProcessCursor
is problematic currently because it's not clear whether a call
to getWindow() will return a local-only window or a remotable window.
As a result, the bulk cursor adaptor has special case handling
for AbstractWindowedCursors vs. ordinary CrossProcessCursors
so that it can set a remotable window before the cursor fills it.
All these problems go away if we just forget about local-only
windows being special in any way.

Change-Id: Ie59f517968e33d0ecb239c3c4f60206495e8f376
2011-10-12 22:19:41 -07:00
Wu-cheng Li
53b30912d3 Improve camera javadoc and fix some errors.
bug:5169599
Change-Id: Ic2205770753ff462135f884fee0a888ca8ec832d
2011-10-13 12:04:05 +08:00
Jim Miller
4defcef1cb am 207c6731: Merge "Fix 5444675: Fix vibrate regression on Pattern and PIN unlock screens." into ics-mr0
* commit '207c67315c8668b72cbb7bd370f1d6c8479eabd4':
  Fix 5444675: Fix vibrate regression on Pattern and PIN unlock screens.
2011-10-12 18:52:06 -07:00
Jim Miller
207c67315c Merge "Fix 5444675: Fix vibrate regression on Pattern and PIN unlock screens." into ics-mr0 2011-10-12 18:49:25 -07:00
Daniel Lehmann
5247fb38be am cc21cc01: Merge "Allow clearing out the source bounds" into ics-mr0
* commit 'cc21cc017ba02338a78eca00af6a1a0d3f7ce5bf':
  Allow clearing out the source bounds
2011-10-12 18:18:08 -07:00
Daniel Lehmann
cc21cc017b Merge "Allow clearing out the source bounds" into ics-mr0 2011-10-12 18:16:15 -07:00
Peter Ng
242c3936d5 Volume overlay right padding increased
Bug: 5445601
Change-Id: Ia5c5455816d99f59893fb3352d400b0cf1a1d806
2011-10-12 18:15:14 -07:00
Adam Powell
4bf1b2e656 Merge "Fix bug 5394020 - Menus are pretty sluggish to bring up" 2011-10-12 18:03:36 -07:00
Adam Powell
8eeb4d1a70 Fix bug 5394020 - Menus are pretty sluggish to bring up
Clear out some obsolete "optimizations" leftover from the old menu
system internals.

Change-Id: I325530c9fae434de2d95200e648c63149334f444
2011-10-12 17:48:05 -07:00
Jim Miller
aef555bcf2 Fix 5444675: Fix vibrate regression on Pattern and PIN unlock screens.
This fixes a regression caused by a resource change to the vibrate
pattern.  It used to contain an array of delays and values.  Now it has
another mode with just one value with an associated change to the vibrate
API.

Instead of using a custom vibration pattern, it now just follows the system
vibrate pattern for HapticFeedbackConstants.VIRTUAL_KEY, which is shared by the
home key, among other things.

Change-Id: Ib58493a96a42383955ae59f8ac3865bb46a86a31
2011-10-12 17:44:08 -07:00
Dianne Hackborn
2c4d954ece am f4b40de6: Merge "Fix issue #5445966: WindowManager reporting -long on prime when it shouldn\'t be." into ics-mr0
* commit 'f4b40de684b3574475205542f22b2d49a75f31eb':
  Fix issue #5445966: WindowManager reporting -long on prime when it shouldn't be.
2011-10-12 17:06:27 -07:00
Dianne Hackborn
f4b40de684 Merge "Fix issue #5445966: WindowManager reporting -long on prime when it shouldn't be." into ics-mr0 2011-10-12 17:01:18 -07:00
Winson Chung
a76a87a8ef Merge "DO NOT MERGE. Improve screenshot chord debouncing. Bug: 5011907" into ics-mr0 2011-10-12 17:00:11 -07:00
Gilles Debunne
26c8b3ae7f Bug 5420741: exception when rotating device while suggestion popup is visible
The suggestion popup window was not dismissed on orientation change.
This is triggered by onDetachedFromWindow.
However, this method is also called when the suggestion popup window
pops up. A new flag detects that case to dismiss the popup unless it
has expressly been asked to show up.

Still errors in the log after that change, I assume related to the window manager.

Change-Id: Ia515fc576ddf2127b2f9863cc2652aeb619fff6e
2011-10-12 16:43:24 -07:00
Daniel Lehmann
a5b58df097 Allow clearing out the source bounds
Change-Id: Id49f4a3ac397cf17c5704d298b6a9a376f6a5c23
2011-10-12 16:24:22 -07:00
Justin Ho
9842daad21 am f1ec8855: Merge "Updated list selectors Bug: 5450396" into ics-mr0
* commit 'f1ec8855667aa3edd4a2115565b00746f340387a':
  Updated list selectors Bug: 5450396
2011-10-12 15:36:31 -07:00
Justin Ho
f1ec885566 Merge "Updated list selectors Bug: 5450396" into ics-mr0 2011-10-12 15:33:49 -07:00