OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "Fix Wifi's setting of isAvailable."
Irfan Sheriff [Tue, 23 Nov 2010 21:27:56 +0000 (13:27 -0800)]
Merge "Fix Wifi's setting of isAvailable."

13 years agoFix Wifi's setting of isAvailable.
Robert Greenwalt [Tue, 23 Nov 2010 20:41:46 +0000 (12:41 -0800)]
Fix Wifi's setting of isAvailable.

Manifested itself in ConnectivityService reporting no connectivity.

bug:3220092
Change-Id: I4c0149125b8e2b9c2493f87d208aecbf21590fff

13 years agoMerge "Update edge and glow rendering to match new specs."
Mindy Pereira [Tue, 23 Nov 2010 19:32:51 +0000 (11:32 -0800)]
Merge "Update edge and glow rendering to match new specs."

13 years agoMerge "StrictMode fingerprinting / hashCode improvements."
Brad Fitzpatrick [Tue, 23 Nov 2010 19:19:53 +0000 (11:19 -0800)]
Merge "StrictMode fingerprinting / hashCode improvements."

13 years agoam 9df7f313: am f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there...
Jean-Baptiste Queru [Tue, 23 Nov 2010 19:17:48 +0000 (11:17 -0800)]
am 9df7f313: am f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there is an error"

* commit '9df7f31359866a77a47c9fab3171c71715fd0056':
  frameworks/base: Destroy the overlay even if there is an error

13 years agoam f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there is an error"
Jean-Baptiste Queru [Tue, 23 Nov 2010 19:14:57 +0000 (11:14 -0800)]
am f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there is an error"

* commit 'f0f6c54b13831b11bd7a3bd7a01dc49b7505e56e':
  frameworks/base: Destroy the overlay even if there is an error

13 years agoUpdate edge and glow rendering to match new specs.
Mindy Pereira [Tue, 23 Nov 2010 19:07:30 +0000 (11:07 -0800)]
Update edge and glow rendering to match new specs.

Change-Id: Id2ad0ff4fa78617cb79475952e9ce561ee8fec10

13 years agoMerge "frameworks/base: Destroy the overlay even if there is an error"
Jean-Baptiste Queru [Tue, 23 Nov 2010 19:02:09 +0000 (11:02 -0800)]
Merge "frameworks/base: Destroy the overlay even if there is an error"

13 years agoMerge "b/3186860: fix failing layout tests: fast/events/touch/basic-multi-touch...
Huahui Wu [Tue, 23 Nov 2010 18:56:54 +0000 (10:56 -0800)]
Merge "b/3186860: fix failing layout tests:  fast/events/touch/basic-multi-touch-events-limited.html  fast/events/touch/touch-target-limited.html"

13 years agoStrictMode fingerprinting / hashCode improvements.
Brad Fitzpatrick [Tue, 23 Nov 2010 18:31:52 +0000 (10:31 -0800)]
StrictMode fingerprinting / hashCode improvements.

Change-Id: I08ff939327f7c11a562851847ae91c67b1db4f87

13 years agoMerge "Cache WindowManager in StrictMode; add android.util.Singleton"
Brad Fitzpatrick [Tue, 23 Nov 2010 18:41:07 +0000 (10:41 -0800)]
Merge "Cache WindowManager in StrictMode; add android.util.Singleton"

13 years agob/3186860: fix failing layout tests:
Huahui Wu [Fri, 12 Nov 2010 00:02:17 +0000 (16:02 -0800)]
b/3186860: fix failing layout tests:
 fast/events/touch/basic-multi-touch-events-limited.html
 fast/events/touch/touch-target-limited.html

Change-Id: I55ecc9944c888a005885704e296de7b7513a8172

13 years agoMerge "cancel text selection on rotate"
Cary Clark [Tue, 23 Nov 2010 18:14:55 +0000 (10:14 -0800)]
Merge "cancel text selection on rotate"

13 years agoMerge "CloseGuard cleanups."
Brad Fitzpatrick [Tue, 23 Nov 2010 18:14:29 +0000 (10:14 -0800)]
Merge "CloseGuard cleanups."

13 years agocancel text selection on rotate
Cary Clark [Mon, 22 Nov 2010 20:20:02 +0000 (15:20 -0500)]
cancel text selection on rotate

Rotating the screen may cause it to layout differently. The
selected text may be hard to match or may not be visible at
all. Cancel the text selection mode when a rotate is detected.

bug:3205291
Change-Id: If7e8f98a1cc396bf21f8261f2a7b4a342907ef2f

13 years agoMerge "Merge overscrolling from gingerbread."
Adam Powell [Tue, 23 Nov 2010 18:06:10 +0000 (10:06 -0800)]
Merge "Merge overscrolling from gingerbread."

13 years agoMerge "print certain rows from downloads.db when bugreports are taken"
Vasu Nori [Tue, 23 Nov 2010 18:05:06 +0000 (10:05 -0800)]
Merge "print certain rows from downloads.db when bugreports are taken"

13 years agoMerge overscrolling from gingerbread.
Adam Powell [Wed, 25 Aug 2010 21:37:03 +0000 (14:37 -0700)]
Merge overscrolling from gingerbread.

Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f

13 years agoRename MtpCursor to PtpCursor
Mike Lockwood [Mon, 22 Nov 2010 17:57:57 +0000 (12:57 -0500)]
Rename MtpCursor to PtpCursor

Change-Id: I8ce257641388b195f3e17995d323355b19355dc1
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "MTP: Remove static library build for linux host."
Mike Lockwood [Tue, 23 Nov 2010 17:22:37 +0000 (09:22 -0800)]
Merge "MTP: Remove static library build for linux host."

13 years agoMerge "Add knowledge of mipmap to aapt"
Kenny Root [Tue, 23 Nov 2010 17:20:33 +0000 (09:20 -0800)]
Merge "Add knowledge of mipmap to aapt"

13 years agoCloseGuard cleanups.
Brad Fitzpatrick [Tue, 23 Nov 2010 17:17:56 +0000 (09:17 -0800)]
CloseGuard cleanups.

Change-Id: I8ece2cb7f2c7ca2c1ac72ca3080c436e50aa6c80

13 years agoMTP: Remove static library build for linux host.
Mike Lockwood [Sat, 20 Nov 2010 19:16:51 +0000 (14:16 -0500)]
MTP: Remove static library build for linux host.

Change-Id: Iefdd386b91dba0579ca952aca40b7114535e1d4e
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoRename MtpClient and MtpCursor to PtpClient and PtpCursor
Mike Lockwood [Sat, 20 Nov 2010 19:06:57 +0000 (14:06 -0500)]
Rename MtpClient and MtpCursor to PtpClient and PtpCursor

Change-Id: I26fce3bf32c8e9c8d592106af7ab4c35b19e0996
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoRename android.provider.Mtp to android.provider.Ptp
Mike Lockwood [Sat, 20 Nov 2010 17:28:27 +0000 (12:28 -0500)]
Rename android.provider.Mtp to android.provider.Ptp

We are only supporting the PTP subset of MTP in host mode and have
no plans for full MTP, so calling it Mtp was misleading.

Also moved ACTION_MTP_SESSION_END Intent name to android.provider.MediaStore
and added it to the public API.

Change-Id: Ie35d15864d5972e65a39b982aa51316ecca3725a
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoOffer the user the option to configure an AutoFill profile.
Ben Murdoch [Tue, 16 Nov 2010 11:50:39 +0000 (11:50 +0000)]
Offer the user the option to configure an AutoFill profile.

When the user selects a form field that is part of a form that can
be autofilled, inform the embedder that this is the case to give
them the opportunity to configure a profile if they the user has
not done so already. A Message is also provided
to the embedder that when sent will trigger the form to be filled
with the profile that the embedder set up.

Change-Id: Ica995e5b1ed92a3ec3e356401b261740d9f90e57

13 years agoFix issue #3222014: Dragging items around home screen is unresponsive
Dianne Hackborn [Tue, 23 Nov 2010 08:34:30 +0000 (00:34 -0800)]
Fix issue #3222014: Dragging items around home screen is unresponsive

Also make the dim fade duration configurable, with a configured value
that more closely matches what UX wants.

Change-Id: Id32e2de14a2a2003d8fade6331377d8d723ac397

13 years agoCache WindowManager in StrictMode; add android.util.Singleton
Brad Fitzpatrick [Tue, 23 Nov 2010 06:56:23 +0000 (22:56 -0800)]
Cache WindowManager in StrictMode; add android.util.Singleton

Change-Id: I15a85461424de930710d4901658440b5d305cabb

13 years agoAdd knowledge of mipmap to aapt
Kenny Root [Tue, 23 Nov 2010 06:28:37 +0000 (22:28 -0800)]
Add knowledge of mipmap to aapt

New mipmap drawable type that does not get filtered according to
configuration. Useful for things that get built as part of the system.

Change-Id: I556033d065e504079271dce79c23c90d3c387ce4

13 years agoam 3e18dfab: am 4da48ec8: Merge "Notify the playback status to DRM agents before...
Gloria Wang [Tue, 23 Nov 2010 05:29:22 +0000 (21:29 -0800)]
am 3e18dfab: am 4da48ec8: Merge "Notify the playback status to DRM agents before the playback starts"

* commit '3e18dfab3417e139c7ec3896cea9e303fdc8fa63':
  Notify the playback status to DRM agents before the playback starts

13 years agoam 24a90c26: am d9334934: Merge "Update of DRM Framework."
Gloria Wang [Tue, 23 Nov 2010 05:29:08 +0000 (21:29 -0800)]
am 24a90c26: am d9334934: Merge "Update of DRM Framework."

* commit '24a90c2674270fee0783bafa54fd5d845bdf0c18':
  Update of DRM Framework.

13 years agoam 4da48ec8: Merge "Notify the playback status to DRM agents before the playback...
Gloria Wang [Tue, 23 Nov 2010 05:26:13 +0000 (21:26 -0800)]
am 4da48ec8: Merge "Notify the playback status to DRM agents before the playback starts"

* commit '4da48ec88338af2df6f9abba850fb4c65918bb82':
  Notify the playback status to DRM agents before the playback starts

13 years agoam d9334934: Merge "Update of DRM Framework."
Gloria Wang [Tue, 23 Nov 2010 05:25:56 +0000 (21:25 -0800)]
am d9334934: Merge "Update of DRM Framework."

* commit 'd93349342a89a25c7a884e8543c6adc048c5f86d':
  Update of DRM Framework.

13 years agoMerge "Notify the playback status to DRM agents before the playback starts"
Gloria Wang [Tue, 23 Nov 2010 05:15:07 +0000 (21:15 -0800)]
Merge "Notify the playback status to DRM agents before the playback starts"

13 years agoMerge "Update of DRM Framework."
Gloria Wang [Tue, 23 Nov 2010 05:14:09 +0000 (21:14 -0800)]
Merge "Update of DRM Framework."

13 years agoMerge "New animations from lbk."
Dianne Hackborn [Tue, 23 Nov 2010 05:05:39 +0000 (21:05 -0800)]
Merge "New animations from lbk."

13 years agoNew animations from lbk.
Dianne Hackborn [Tue, 23 Nov 2010 05:04:01 +0000 (21:04 -0800)]
New animations from lbk.

Change-Id: Ia9f88fa080c30c51db848c01587f06bcfce57ed1

13 years agoStrictMode visual notification support.
Brad Fitzpatrick [Tue, 23 Nov 2010 02:19:48 +0000 (18:19 -0800)]
StrictMode visual notification support.

Change-Id: I64a5adb683060d9649f1132414547bb3c346a2a8

13 years agoImplement issue #3221502: New APIs to support new back stack / task navigation
Dianne Hackborn [Mon, 22 Nov 2010 23:59:56 +0000 (15:59 -0800)]
Implement issue #3221502: New APIs to support new back stack / task navigation

What this adds:

- A new Intent activity flag to completely replace an existing task.
- A new Intent activity flag to bring the current home task up behind
  a new task being started/brought to the foreground.
- New versions of startActivity() that take an array of Intents to be
  started, allowing applications to start a task in a specific state.
- A public moveTaskToFront() method on ActivityManager, with a new flag
  that allows the caller to have the task moved to the front with the
  current home task immediately behind it.

Change-Id: Ie8028d09acffb5349d98043c67676daba09f75c8

13 years agoMerge "Add an API to get shortcut IMEs"
satok [Tue, 23 Nov 2010 01:27:43 +0000 (17:27 -0800)]
Merge "Add an API to get shortcut IMEs"

13 years agoAdd an API to get shortcut IMEs
satok [Fri, 19 Nov 2010 09:45:53 +0000 (18:45 +0900)]
Add an API to get shortcut IMEs

- If there are no selected shortcut IMEs, the most applicable voice input will be selected as a shortcut IME

Change-Id: Ibd0f7ef5101013569c303820a3adc9038a97356d

13 years agoMerge "resolved conflicts for merge of 8484e57f to master"
Jean-Baptiste Queru [Tue, 23 Nov 2010 00:46:18 +0000 (16:46 -0800)]
Merge "resolved conflicts for merge of 8484e57f to master"

13 years agoresolved conflicts for merge of 8484e57f to master
Jean-Baptiste Queru [Tue, 23 Nov 2010 00:43:59 +0000 (16:43 -0800)]
resolved conflicts for merge of 8484e57f to master

Change-Id: I6a8cc70250fd2be9a1e9a728940a1e9f5721a653

13 years agoMerge "Begin transition was invalidated when the image duration was changed."
Gil Dobjanschi [Tue, 23 Nov 2010 00:38:38 +0000 (16:38 -0800)]
Merge "Begin transition was invalidated when the image duration was changed."

13 years agoresolved conflicts for merge of e4ae7fc3 to gingerbread-plus-aosp
Jean-Baptiste Queru [Tue, 23 Nov 2010 00:32:34 +0000 (16:32 -0800)]
resolved conflicts for merge of e4ae7fc3 to gingerbread-plus-aosp

Change-Id: I2e0a0ed622bc4c32d79936b30ebbf9068b3bdee8

13 years agoMerge "Add a better notification test and clean up the flag handling in the notificat...
Joe Onorato [Tue, 23 Nov 2010 00:28:32 +0000 (16:28 -0800)]
Merge "Add a better notification test and clean up the flag handling in the notification builder."

13 years agoMerge "More error checks"
Jason Sams [Tue, 23 Nov 2010 00:27:59 +0000 (16:27 -0800)]
Merge "More error checks"

13 years agoMerge "Merging some Gingerbread status bar icons to master"
Justin Ho [Tue, 23 Nov 2010 00:24:48 +0000 (16:24 -0800)]
Merge "Merging some Gingerbread status bar icons to master"

13 years agoMore error checks
Jason Sams [Tue, 23 Nov 2010 00:20:16 +0000 (16:20 -0800)]
More error checks

Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f

13 years agoAdd a better notification test and clean up the flag handling in the notification...
Joe Onorato [Tue, 23 Nov 2010 00:09:29 +0000 (16:09 -0800)]
Add a better notification test and clean up the flag handling in the notification builder.

Change-Id: I9354ed2c2cda690f53e5f43ad60943b63b02e7d4

13 years agoMerge "Enabling cell broadcast (SMS-CB) support in the platform."
Jean-Baptiste Queru [Mon, 22 Nov 2010 23:59:04 +0000 (15:59 -0800)]
Merge "Enabling cell broadcast (SMS-CB) support in the platform."

13 years agoMerge "Squashed commit of the following:"
Andreas Huber [Mon, 22 Nov 2010 23:40:29 +0000 (15:40 -0800)]
Merge "Squashed commit of the following:"

13 years agoMerge "Adding new gingerbread notifications and ringtones to master"
Justin Ho [Mon, 22 Nov 2010 23:38:37 +0000 (15:38 -0800)]
Merge "Adding new gingerbread notifications and ringtones to master"

13 years agoBegin transition was invalidated when the image duration was changed.
Gil Dobjanschi [Mon, 22 Nov 2010 23:33:10 +0000 (15:33 -0800)]
Begin transition was invalidated when the image duration was changed.

Change-Id: I0118813a66c65d8b3746fc2c689cf9d8da651aa3

13 years agoMerging some Gingerbread status bar icons to master
Justin Ho [Mon, 22 Nov 2010 23:25:30 +0000 (15:25 -0800)]
Merging some Gingerbread status bar icons to master

Change-Id: I18c18b0ce2b1883998d40119a101e7598bcdfba6

13 years agoMerge "Synchronize getCurrentInputMethodSubtype"
satok [Mon, 22 Nov 2010 23:17:37 +0000 (15:17 -0800)]
Merge "Synchronize getCurrentInputMethodSubtype"

13 years agoam 6bdd6937: am 5df8c155: Merge "Add Wifi Tethering stress test" into gingerbread
Xia Wang [Mon, 22 Nov 2010 22:50:28 +0000 (14:50 -0800)]
am 6bdd6937: am 5df8c155: Merge "Add Wifi Tethering stress test" into gingerbread

* commit '6bdd69370fe2bda7adc7055f62165fccd944b192':
  Add Wifi Tethering stress test

13 years agoMerge "Fix bug 3208546 - use the right sized progress spinner for holo.light"
Adam Powell [Mon, 22 Nov 2010 22:49:20 +0000 (14:49 -0800)]
Merge "Fix bug 3208546 - use the right sized progress spinner for holo.light"

13 years agoFix bug 3208546 - use the right sized progress spinner for holo.light
Adam Powell [Mon, 22 Nov 2010 22:46:34 +0000 (14:46 -0800)]
Fix bug 3208546 - use the right sized progress spinner for holo.light

Change-Id: I7c9d3607368a72c0b06012be0995d23591a68b78

13 years agoam 5df8c155: Merge "Add Wifi Tethering stress test" into gingerbread
Xia Wang [Mon, 22 Nov 2010 22:46:33 +0000 (14:46 -0800)]
am 5df8c155: Merge "Add Wifi Tethering stress test" into gingerbread

* commit '5df8c155872833647ac56951ab90bd26a9af9480':
  Add Wifi Tethering stress test

13 years agoMerge "Add Wifi Tethering stress test" into gingerbread
Xia Wang [Mon, 22 Nov 2010 22:44:49 +0000 (14:44 -0800)]
Merge "Add Wifi Tethering stress test" into gingerbread

13 years agoMerge "Unhide android.media.AudioManager.MODE_IN_COMMUNICATION"
Jean-Michel Trivi [Mon, 22 Nov 2010 22:08:18 +0000 (14:08 -0800)]
Merge "Unhide android.media.AudioManager.MODE_IN_COMMUNICATION"

13 years agoSquashed commit of the following:
Andreas Huber [Mon, 22 Nov 2010 21:06:35 +0000 (13:06 -0800)]
Squashed commit of the following:

commit 0870f7bdd10a7cd36087d723d1957d8e1b967ca7
Author: Andreas Huber <andih@google.com>
Date:   Mon Nov 22 12:57:04 2010 -0800

    set_surface_crop doesn't seem to work right yet, stop using it in the SoftwareRenderer.

    Change-Id: If0a24f78b7810a6cecaa82eb4f23d0f90c22cc42

commit 4767b52bee3a54ae117a8708d6832276a44e6a6a
Author: Andreas Huber <andih@google.com>
Date:   Mon Nov 22 11:14:57 2010 -0800

    info->mMediaBuffer may still be NULL at this point...

    Change-Id: I25a71569015b1bb87f1ea7efff7588958774426f

commit 0cef79874e1f1ddb10b7402177a87d3cffc7de92
Author: Andreas Huber <andih@google.com>
Date:   Mon Nov 22 10:55:12 2010 -0800

    QCOM's YVU420 color format conversion has now been tested.

    Change-Id: I7fef4b642a928af15d42f006f7cdc107d5ff1d67

commit 84fe05a6c969ede0ce8a85a530e110afca07c7a7
Author: Andreas Huber <andih@google.com>
Date:   Mon Nov 22 09:59:50 2010 -0800

    Removed remaining traces of suspend/resume. Proper reporting of video dimensions based on cropping rectangle.

    Change-Id: Ib238b80cbc1f19e7d312f2422eb5e9ab6b06b1bc

commit 50970cdc837c5c498bcf0cb61b436196ca9e2ef7
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 16:11:06 2010 -0800

    Revamped Software Renderer respects the crop rectangle.

    Removed obsolete ADRENO support code.

    Change-Id: I984cbc8a99c4d97e09e7d1b1292099c88b9ae535

commit 8abbc6a5608bff650f968540f24a2eab75f254ed
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 16:10:41 2010 -0800

    The metadata retriever now respects the crop rectangle while capturing a video frame.

    Change-Id: Id3377176060086d16717f62c77ce26fabe899050

commit 2d42e4466609d304e88bd2cdd6eb7b297340cc21
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 16:09:50 2010 -0800

    Changed ColorConverter APIs to be more general.

    Clients can now refer to crop rectangles in both source and destination.

    Change-Id: Ief151d736818396d0389ec04e7df5650e3ad7c04

commit 273184303d54a54febd3e9c3dd4df30507ea78b5
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 15:04:06 2010 -0800

    The stagefright commandline tool now writes the extracted video frame to /sdcard/out.jpg

    Change-Id: Ieb2ab3fda7a7cd9294beccb8db0eed75096eeef4

commit 2d43390328cadf4ba94c1c3c02e4fb30baa29690
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 14:36:55 2010 -0800

    The AVC software decoder now properly advertises the cropping rectangle.

    Change-Id: Idb7a8a7e2fde5740f0fc34b7e8c92eca2577104b

commit 9a7ed23c2fac8ce19dce7a34a603acee945a89f6
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 13:40:39 2010 -0800

    OMXCodec now signals a format change if the cropping rectangle changes.

    ...and puts the cropping info into its output format.

    Change-Id: I3ffbd8e877ba286fe06a82c536ef20d92548d2e2

commit efe0323947029df1c502599ccc288c8d676dfd31
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 11:29:39 2010 -0800

    Stagefright's MetaData object now supports rectangle items.

    Change-Id: I5667bb5ee6622c76104b99fb57f60abb802a8504

Change-Id: I27cb78f2c5e0353f95fdfc5cb53991949ed75b70

13 years agoframeworks/base: Destroy the overlay even if there is an error
Naomi Luis [Thu, 18 Nov 2010 20:48:25 +0000 (12:48 -0800)]
frameworks/base: Destroy the overlay even if there is an error

Allow the overlay object to be destroyed whenever the destroy is
invoked. Currently the destroy call returns if there is an error
encountered, which results in open data and control channels.

Change-Id: I1f2ef4ebb5fb1dcabf05ab50b5bbf6e5e240a63a

13 years agoam 4f3c40cc: am 8fac7c2e: change sdk version variable to 2.3 (for docs)
Scott Main [Mon, 22 Nov 2010 21:58:05 +0000 (13:58 -0800)]
am 4f3c40cc: am 8fac7c2e: change sdk version variable to 2.3 (for docs)

* commit '4f3c40cc4d24ba1404b1332dbf1bfcddede8bf99':
  change sdk version variable to 2.3 (for docs)

13 years agoam 8fac7c2e: change sdk version variable to 2.3 (for docs)
Scott Main [Mon, 22 Nov 2010 21:55:55 +0000 (13:55 -0800)]
am 8fac7c2e: change sdk version variable to 2.3 (for docs)

* commit '8fac7c2edc433b6c7d153caac238fef595133663':
  change sdk version variable to 2.3 (for docs)

13 years agoam c8454a85: am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while...
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:48:06 +0000 (13:48 -0800)]
am c8454a85: am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"

* commit 'c8454a851f26b78de77c0f6b1aa746ce3e2517f1':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser

13 years agoam b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestion...
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:44:56 +0000 (13:44 -0800)]
am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"

* commit 'b2b0db2d5c89ae8824a4cb5d7944bae3a1dc8bf4':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser

13 years agoMerge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:40:29 +0000 (13:40 -0800)]
Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"

13 years agochange sdk version variable to 2.3 (for docs)
Scott Main [Mon, 22 Nov 2010 21:36:39 +0000 (13:36 -0800)]
change sdk version variable to 2.3 (for docs)

Change-Id: I76f5c69fab08913543c4f3d1ab000f7c4b6c9574

13 years agoUnhide android.media.AudioManager.MODE_IN_COMMUNICATION
Jean-Michel Trivi [Thu, 18 Nov 2010 17:26:55 +0000 (09:26 -0800)]
Unhide android.media.AudioManager.MODE_IN_COMMUNICATION

Unhide new constant for an audio mode for a system state when
 the device has a VoIP (as opposed to telephony) call established.
Update the setMode and getMode javadoc to link to the mode constants
 that can be set or retrieved.

Change-Id: I90c4417679f215eb66e5305086fd077beddaa59c

13 years agoSynchronize getCurrentInputMethodSubtype
satok [Mon, 22 Nov 2010 21:06:29 +0000 (06:06 +0900)]
Synchronize getCurrentInputMethodSubtype

Change-Id: I8bcedb39baba10e7035d5c1c11f41f74943874d1

13 years agoAdd Wifi Tethering stress test
Xia Wang [Tue, 16 Nov 2010 19:35:47 +0000 (11:35 -0800)]
Add Wifi Tethering stress test

Stress Wifi driver loading and unloading by enable/disable access point
mode.

Change-Id: Ie31266d2b9665cb304473f1c14c83bc57e9920f2

13 years agoprint certain rows from downloads.db when bugreports are taken
Vasu Nori [Mon, 22 Nov 2010 19:55:51 +0000 (11:55 -0800)]
print certain rows from downloads.db when bugreports are taken

when downloads fail/get stuck, we need to look at the database state
for those downloads. and when the users report such problems, it is
a royal pain not to have that info and most users don't seem to bother
sending database dumps because it is a bit of work.

so lets just dump info about downloads that failed or
downloads from GSF (OTAs, for example)

helps debugging. there is STOP ship comment to not dump data once
HC is released.

Change-Id: Id1254982fd82b4c55f1816a2491f00966840f024

13 years agoNotify the playback status to DRM agents before the playback starts
Gloria Wang [Fri, 5 Nov 2010 00:38:39 +0000 (17:38 -0700)]
Notify the playback status to DRM agents before the playback starts

Change-Id: I288eae2d35ab175c720bb0dd9f69e3e08ada9b8a

13 years agoMerge "64-bit file size/offset support for DRM framework"
Gloria Wang [Mon, 22 Nov 2010 18:48:30 +0000 (10:48 -0800)]
Merge "64-bit file size/offset support for DRM framework"

13 years agodocs: add dev guide for action bar and update other relevant documents
Scott Main [Wed, 8 Sep 2010 00:11:38 +0000 (17:11 -0700)]
docs: add dev guide for action bar and update other relevant documents

Change-Id: I1d3deda4c35066f7cf05b06fe5b60acfa1fae149

13 years agoMerge "Fixed an issue in SampleTable where the table index was incorrectly wrapped...
James Dong [Mon, 22 Nov 2010 17:54:21 +0000 (09:54 -0800)]
Merge "Fixed an issue in SampleTable where the table index was incorrectly wrapped around to -1"

13 years agoMerge "Adding IS_READ_ONLY flag to groups"
Dmitri Plotnikov [Mon, 22 Nov 2010 17:48:17 +0000 (09:48 -0800)]
Merge "Adding IS_READ_ONLY flag to groups"

13 years agoadd select text to context menu
Cary Clark [Mon, 22 Nov 2010 16:02:29 +0000 (11:02 -0500)]
add select text to context menu

Make select text available as an external interface
so that the browser can initiate it from a context
menu.

Interface is marked hidden pending API council approval.

companion change in packages/apps/Browser

bug:3214410
Change-Id: I7d513a38cc3a5ac9c0d1b3be39c02e0835bea90a

13 years agoAdding IS_READ_ONLY flag to groups
Dmitri Plotnikov [Fri, 19 Nov 2010 19:10:43 +0000 (11:10 -0800)]
Adding IS_READ_ONLY flag to groups

Bug: 3214137

Change-Id: I8acda10e4743888adfed3dfd0a0dd597c945f778

13 years agoMerge "Make maybeSavePassword() a top-level method in BrowserFrame."
Iain Merrick [Mon, 22 Nov 2010 17:34:31 +0000 (09:34 -0800)]
Merge "Make maybeSavePassword() a top-level method in BrowserFrame."

13 years agoAdding new gingerbread notifications and ringtones to master
Justin Ho [Mon, 22 Nov 2010 17:33:21 +0000 (09:33 -0800)]
Adding new gingerbread notifications and ringtones to master

Change-Id: I5489606fa98dc78c0b864b95a98def41ce6d1f67

13 years agoFix potential NPE in L10nUtils.
Ben Murdoch [Mon, 22 Nov 2010 16:10:19 +0000 (16:10 +0000)]
Fix potential NPE in L10nUtils.

It is possible that a call to the L10nUtils class will
come before it has been properly initialised (if the
user highlights a form very quickly onload for example) so move
the initialisation earlier in the WebView ctor so that it is
set up before the WebCore thread is started.

Change-Id: Iff5a1c16d04c47d001146184f753d2cc0cbbb404

13 years agoMake maybeSavePassword() a top-level method in BrowserFrame.
Iain Merrick [Thu, 18 Nov 2010 15:32:31 +0000 (15:32 +0000)]
Make maybeSavePassword() a top-level method in BrowserFrame.

We need to be able to reuse this logic from the Chrome HTTP
stack. This is just a refactoring that doesn't change any
behaviour; we'll need a separate change in external/webkit
to call this from the code that handles POST requests.

Change-Id: I3f3f84a15a8501f63de974bffa6f7c911a3d3820

13 years agoAlter the Layout of WebTextView to match webkit.
Leon Scroggins [Thu, 18 Nov 2010 19:03:03 +0000 (14:03 -0500)]
Alter the Layout of WebTextView to match webkit.

Bug:3085564

In order to treat the selection handles properly, the text in
WebTextView needs to line up with the text in webkit.  Use the
line spacing style, or the paint if none provided, to determine
the spacing for WebTextView's Layout.  When no line spacing is
provided, use the floating point values of ascent and descent,
rather than the rounded result, to determine spacing.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,80641

Change-Id: I51081835e128a0e938028c7c7aeb5111aa5f072c

13 years agoSearchDialog: Fix for NullpointerException while using Suggestions in
Deepika Sai Amuri [Mon, 22 Nov 2010 09:26:55 +0000 (01:26 -0800)]
SearchDialog: Fix for NullpointerException while using Suggestions in
Browser

Change-Id: Ic208ae51e4f7678363ea6d7de9db97707713bf6d

13 years agoMerge "b/3215774 Fix scrollMode notifications"
Erik [Mon, 22 Nov 2010 04:08:06 +0000 (20:08 -0800)]
Merge "b/3215774 Fix scrollMode notifications"

13 years agoMerge changes I61331a6e,I5728222b
Joe Onorato [Mon, 22 Nov 2010 03:23:36 +0000 (19:23 -0800)]
Merge changes I61331a6e,I5728222b

* changes:
  new battery assets
  Use new nav button assets.

13 years agonew battery assets
Joe Onorato [Mon, 22 Nov 2010 03:22:25 +0000 (19:22 -0800)]
new battery assets

Change-Id: I61331a6eb237f8883bf604c0767623b08c2fa41b

13 years agoUse new nav button assets.
Joe Onorato [Mon, 22 Nov 2010 02:25:49 +0000 (18:25 -0800)]
Use new nav button assets.

Change-Id: I5728222ba173eedb67e6fa4c599b39b61c923e23

13 years agoStrictMode: dropbox VM-wide violations (e.g. CloseGuard) async
Brad Fitzpatrick [Sat, 20 Nov 2010 20:09:10 +0000 (12:09 -0800)]
StrictMode: dropbox VM-wide violations (e.g. CloseGuard) async

To be clear, the dropbox violations were already async in the
ActivityManager, but the Binder call was often 30 ms anyway.

This optimization was already done for per-thread violations earlier,
but was never done for VM-wide violations because they weren't common,
until CloseGuard came about.  Now that CloseGuard fires a lot, apply
the same optimization to VM-wide violations.

This CL also addresses a concern of Dianne's earlier of too many
threads being outstanding.  So now there's a paranoia check with an
upper bound on how many outstanding ActivityManager calls are
in-flight.

Change-Id: I95e0816105ab862f0f241052b149c9a46a70ce9c

13 years agoThe ticker shouldn't be modal.
Joe Onorato [Mon, 22 Nov 2010 01:07:20 +0000 (17:07 -0800)]
The ticker shouldn't be modal.

Change-Id: I6bb4df07ad4659d900a95379193f5cb95d7706c3

13 years agoApi udpate for notification changes
Joe Onorato [Mon, 22 Nov 2010 00:45:57 +0000 (16:45 -0800)]
Api udpate for notification changes

Change-Id: I72d7c2f5d6e3f607a3885efc8120e7c0c8ad5229

13 years agoThe icon sticks out of the ticker.
Joe Onorato [Sun, 21 Nov 2010 23:34:48 +0000 (15:34 -0800)]
The icon sticks out of the ticker.

The ticker still needs to show up over the status bar, which will take a bit of
window manager work, so it's just out of position for now.

Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395

13 years agoDeal with more notifications than fit on screen.
Joe Onorato [Sun, 21 Nov 2010 19:48:15 +0000 (11:48 -0800)]
Deal with more notifications than fit on screen.

Change-Id: I432b9ee73a473fe4af8b0caeede4993c67be6518

13 years agoThe large icon for notifications.
Joe Onorato [Sun, 21 Nov 2010 02:09:34 +0000 (18:09 -0800)]
The large icon for notifications.

Change-Id: I8537c602b5b5fca03be8980295bfa28330543669

13 years agoTest for using the right size of notification info text.
Joe Onorato [Sat, 20 Nov 2010 21:55:22 +0000 (13:55 -0800)]
Test for using the right size of notification info text.

Change-Id: Iac8764542ddcd3ef0375f6d6d03225e9f6c2fc1c

13 years agofix warning
Joe Onorato [Sat, 20 Nov 2010 21:48:58 +0000 (13:48 -0800)]
fix warning

Change-Id: I243e9b81256af13b8296dd121b1204caed7a3996

13 years agoShow the icon in the compatibilty ticker.
Joe Onorato [Sat, 20 Nov 2010 21:20:56 +0000 (13:20 -0800)]
Show the icon in the compatibilty ticker.

Change-Id: Ib0f466a6773f9e66ad418bf48303504dedf73d21