OSDN Git Service

android-x86/frameworks-base.git
13 years agoUse pread() in ZipFileRO for Linux
Kenny Root [Mon, 4 Oct 2010 21:20:14 +0000 (14:20 -0700)]
Use pread() in ZipFileRO for Linux

AssetManager instances are created by zygote and passed to all its
children so that they don't have to individually open
frameworks-res.apk. This creates a problem for determining the current
file offset when using lseek() on those files, because you can't
guarantee the cross-process locking of a mutex. Luckily, Linux
implements pread() to get around this suckiness.

The problem is that only Linux implements this, so we have to keep the
old locking for use on host builds with aapt and friends. aapt doesn't
have this same problem of sharing file descriptors across forked
processes, so we can keep the local AutoMutex to protect accesses of
those files.

Change-Id: Ibe9f11499a53fe345f50fbaea438815ec0fd363e

13 years agoMerge "DO NOT MERGE. Fix logic for switching between overscroll and scroll modes...
Mindy Pereira [Mon, 4 Oct 2010 17:10:06 +0000 (10:10 -0700)]
Merge "DO NOT MERGE. Fix logic for switching between overscroll and scroll modes." into gingerbread

13 years agoMerge "Refrain warning when not appropriate. Do not merge" into gingerbread
Daisuke Miyakawa [Mon, 4 Oct 2010 15:31:56 +0000 (08:31 -0700)]
Merge "Refrain warning when not appropriate. Do not merge" into gingerbread

13 years agoRefrain warning when not appropriate. Do not merge
Daisuke Miyakawa [Mon, 4 Oct 2010 14:59:34 +0000 (07:59 -0700)]
Refrain warning when not appropriate. Do not merge

Change-Id: I0066a3d0a2204cfc4beacb69aafccb35b9326bbb

13 years agoMerge "ZipFileRO: moar logging and wrap close" into gingerbread
Kenny Root [Mon, 4 Oct 2010 14:28:20 +0000 (07:28 -0700)]
Merge "ZipFileRO: moar logging and wrap close" into gingerbread

13 years agoMerge "SIP: minor fixes." into gingerbread
Hung-ying Tyan [Mon, 4 Oct 2010 05:43:28 +0000 (22:43 -0700)]
Merge "SIP: minor fixes." into gingerbread

13 years agoDoc fix: duplicate word 'of'
Brad Fitzpatrick [Mon, 4 Oct 2010 04:07:21 +0000 (21:07 -0700)]
Doc fix: duplicate word 'of'

Change-Id: I45a4ca443becc2f2cf02cbca2bd61ef2ee590b5c

13 years agoSIP: minor fixes.
Hung-ying Tyan [Sun, 3 Oct 2010 12:35:02 +0000 (20:35 +0800)]
SIP: minor fixes.

+ Log error instead of crashing app process in SipManager's ListenerRelay.
+ Terminate dialog and transaction in SipSessionGroup.reset().
+ Remove redundant reset() in SipSessionGroup.

Change-Id: Ifbf29d2c9607ffe1a1a50b0c131ee3a4e81a0d0e

13 years agoDO NOT MERGE. Fix logic for switching between overscroll and scroll modes.
Mindy Pereira [Fri, 1 Oct 2010 23:37:06 +0000 (16:37 -0700)]
DO NOT MERGE. Fix logic for switching between overscroll and scroll modes.

The issue here was originally that webview was showing twice
as intense of an effect for edge glow as lists. The root cause
was that abslistview was calling onPull half as often as webview. This
occurred because every time an action_move came into the touch handler
for abslistview when it was in overscroll, the mode was ALWAYS changed
back to scroll mode. Therefore, half the action_move events were
essentially being eating by the abslistview state machine.
After fixing that issue, needed to decrease the intensity of the effect
for webview and abslistview by halving the PULL_DISTANCE_GLOW_FACTOR.

Change-Id: I5dbdf4f1219f3bb157a71d4fccf8fa42e2abe047

13 years agoFix bug 3047653 - Text select handles stick around when they shouldn't
Adam Powell [Sun, 3 Oct 2010 01:12:02 +0000 (18:12 -0700)]
Fix bug 3047653 - Text select handles stick around when they shouldn't

Text select handles will now fade out on their own after a few seconds
since many apps expect a selection to be persistent while a text field
stays focused in touch mode. The user may tap within the selection to
bring the anchors back.

Text select handles will also disappear upon leaving touch mode.

Fix a bug that impaired cut/paste from the context menu.

Change-Id: I8f431e2d261aec02581150125d11324a3ee11656

13 years agoFix text anchor fade-out positioning
Adam Powell [Sun, 3 Oct 2010 00:28:29 +0000 (17:28 -0700)]
Fix text anchor fade-out positioning

Change-Id: I5660481fb883c28c88e384be2f26e67aa854ec8e

13 years agoFix bug 3058082 - text anchor positioning within moving dialogs
Adam Powell [Sat, 2 Oct 2010 23:03:45 +0000 (16:03 -0700)]
Fix bug 3058082 - text anchor positioning within moving dialogs

Change-Id: I8f0b515c73d2b3055b4072425418f837eb021d4f

13 years agoFix bug 3024080 - Date picker month field uses numeric text field
Adam Powell [Sat, 2 Oct 2010 19:16:51 +0000 (12:16 -0700)]
Fix bug 3024080 - Date picker month field uses numeric text field

NumberPicker now uses text entry when displayed value strings are
provided.

Change-Id: I555a7d6b64ad6a5af131b3e1d8c638dcdb00d02c

13 years agoMerge "Wait for initial device scan to finish before updating config." into gingerbread
Jeff Brown [Sat, 2 Oct 2010 02:01:11 +0000 (19:01 -0700)]
Merge "Wait for initial device scan to finish before updating config." into gingerbread

13 years agoMerge "Minor logging changes to input dispatcher to help with debugging." into ginger...
Jeff Brown [Sat, 2 Oct 2010 01:58:32 +0000 (18:58 -0700)]
Merge "Minor logging changes to input dispatcher to help with debugging." into gingerbread

13 years agoWait for initial device scan to finish before updating config.
Jeff Brown [Sat, 2 Oct 2010 01:55:43 +0000 (18:55 -0700)]
Wait for initial device scan to finish before updating config.

This change narrows the opportunity for a race condition setting the
resource Configuration while devices are being updated.

Change-Id: I58efa563f4129ab0fce7108511d16a99dff7e451

13 years agoZipFileRO: moar logging and wrap close
Kenny Root [Sat, 2 Oct 2010 01:28:28 +0000 (18:28 -0700)]
ZipFileRO: moar logging and wrap close

There is apparently still a race upon reading the entry Local File
Header that can't be tracked down, so move the LFH check inside the
mutex-protected block so we can call lseek again to see where we are
when we log an error.

Also, close() can fail so use TEMP_FAILURE_RETRY on it so we don't
unwittingly leak file descriptors when Mean Mr. EINTR comes a-knocking.

Change-Id: I753abad0bd882fe28f7281c406fa76f64393ef4c

13 years agoMinor logging changes to input dispatcher to help with debugging.
Jeff Brown [Sat, 2 Oct 2010 00:46:21 +0000 (17:46 -0700)]
Minor logging changes to input dispatcher to help with debugging.

Added dumpsys reporting to EventHub.
Made the formatting a bit clearer.
Added 'Locked' suffix to some internal methods of EventHub.

Change-Id: Ic449560bcce378f6361895d27c66854e9724abb0

13 years agoSIP telephony cleanup.
Hung-ying Tyan [Fri, 1 Oct 2010 18:44:30 +0000 (02:44 +0800)]
SIP telephony cleanup.

+ Remove unused classes.
+ Remove unused imports.
+ Remove unused code.
+ add DEBUG flag.

Change-Id: Ie1236d909d971093b68b066d3d8c1857ac89f56f

13 years agoMerge "Turn off media time adjustment by default" into gingerbread
James Dong [Sat, 2 Oct 2010 00:27:51 +0000 (17:27 -0700)]
Merge "Turn off media time adjustment by default" into gingerbread

13 years agoTurn off media time adjustment by default
James Dong [Sat, 2 Oct 2010 00:14:23 +0000 (17:14 -0700)]
Turn off media time adjustment by default

Change-Id: I1f8021d605d0fd896e0639607a84e3f7c459612e

13 years agoMerge "Some documentation fixes." into gingerbread
Dianne Hackborn [Fri, 1 Oct 2010 23:46:29 +0000 (16:46 -0700)]
Merge "Some documentation fixes." into gingerbread

13 years agoMerge "Support haptic feedback for virtual keys defined in key layout." into gingerbread
Jeff Brown [Fri, 1 Oct 2010 23:09:58 +0000 (16:09 -0700)]
Merge "Support haptic feedback for virtual keys defined in key layout." into gingerbread

13 years agoMerge "KeyStore: Update the parameters of generating master keys." into gingerbread
Chia-chi Yeh [Fri, 1 Oct 2010 22:34:43 +0000 (15:34 -0700)]
Merge "KeyStore: Update the parameters of generating master keys." into gingerbread

13 years agoam 32441bbe: docs: device dashboard update for 10/1
Scott Main [Fri, 1 Oct 2010 22:11:10 +0000 (15:11 -0700)]
am 32441bbe: docs: device dashboard update for 10/1

Merge commit '32441bbe61e2f02f09a319c00895aef8cfc27ff4' into gingerbread

* commit '32441bbe61e2f02f09a319c00895aef8cfc27ff4':
  docs: device dashboard update for 10/1

13 years agoSupport haptic feedback for virtual keys defined in key layout.
Jeff Brown [Fri, 1 Oct 2010 21:55:30 +0000 (14:55 -0700)]
Support haptic feedback for virtual keys defined in key layout.

Change-Id: I83e4108a87332692e03791dc066206becbc7941f

13 years agoMerge "Add CallManager/Phone.setEchoSuppressionEnabled()." into gingerbread
Hung-ying Tyan [Fri, 1 Oct 2010 21:52:00 +0000 (14:52 -0700)]
Merge "Add CallManager/Phone.setEchoSuppressionEnabled()." into gingerbread

13 years agoMerge "DO NOT MERGE Fix bug 3026771, other design/asset fixes." into gingerbread
Adam Powell [Fri, 1 Oct 2010 21:46:40 +0000 (14:46 -0700)]
Merge "DO NOT MERGE Fix bug 3026771, other design/asset fixes." into gingerbread

13 years agoDO NOT MERGE Fix bug 3026771, other design/asset fixes.
Adam Powell [Fri, 1 Oct 2010 21:04:34 +0000 (14:04 -0700)]
DO NOT MERGE Fix bug 3026771, other design/asset fixes.

* Button text changed to bold by default.
* Change notification divider to lighter gray (new asset).
* Change "Clear" notification button to use system small button assets.

Change-Id: Id1f1bdcf8c034186ad9acbdbdd544546bd32bbd8

13 years agoSome documentation fixes.
Dianne Hackborn [Fri, 1 Oct 2010 20:41:04 +0000 (13:41 -0700)]
Some documentation fixes.

Change-Id: Iaae452fc1430af788ce440a043ca7fb53e667a61

13 years agoMerge "Add "none" for vold and deprecate mkobb -c" into gingerbread
Kenny Root [Fri, 1 Oct 2010 21:06:46 +0000 (14:06 -0700)]
Merge "Add "none" for vold and deprecate mkobb -c" into gingerbread

13 years agoFix build.
Dianne Hackborn [Fri, 1 Oct 2010 21:04:27 +0000 (14:04 -0700)]
Fix build.

Change-Id: I99d362e6673252ade4da29f29852eccaedbc9709

13 years agoAdd "none" for vold and deprecate mkobb -c
Kenny Root [Fri, 1 Oct 2010 19:56:59 +0000 (12:56 -0700)]
Add "none" for vold and deprecate mkobb -c

If vold isn't told "none" for the key, it will try to mount it as an
encrypted container.

Also remove the -c option from mkobb since it can be triggered by
including a key as well.

Change-Id: I40a8ff3f778bfda682312630e6687ecc14b51844

13 years agoMerge "Fix issue #3037083: Problem report for Pinball" into gingerbread
Dianne Hackborn [Fri, 1 Oct 2010 20:39:39 +0000 (13:39 -0700)]
Merge "Fix issue #3037083: Problem report for Pinball" into gingerbread

13 years agoMerge "A few additions to the download manager public API documentation" into gingerbread
Steve Howard [Fri, 1 Oct 2010 20:12:39 +0000 (13:12 -0700)]
Merge "A few additions to the download manager public API documentation" into gingerbread

13 years agoFix issue #3037083: Problem report for Pinball
Dianne Hackborn [Fri, 1 Oct 2010 20:06:30 +0000 (13:06 -0700)]
Fix issue #3037083: Problem report for Pinball

The app was toggling between hiding and showing the status bar, because
the dialog was large enough to fill the screen but didn't set to hide
the status bar.

It turns out that the code to determine the top fullscreen window is
intrinsically unstable, since it relies on comparing a window's frame
with the screen, yet the window frame can change as a result of changes
such as hiding the status bar.

Instead, we now simplify all of this to just say that the top fillxfill
window gets to control the status bar.

Change-Id: I22913adf7235fe0d52612f6738c7c94351274e38

13 years agoUpdate StrictMode's public API.
Brad Fitzpatrick [Thu, 30 Sep 2010 23:22:36 +0000 (16:22 -0700)]
Update StrictMode's public API.

This makes it more future-proof and maintainable, not exposing the
internal bitpacking state.

The implementation is unchanged (the policy is still just an int we pass
around).

Also starts to introduce VmPolicy, for things which are process-wide,
not per-thread.  As an initial user, make SQLite's Cursor finalization
leak warnings use StrictMode.

Change-Id: Idedfba4e965716f5089a52036421460b1f383725

13 years agoDo not merge.
Wei-Ta Chen [Thu, 30 Sep 2010 23:31:38 +0000 (16:31 -0700)]
Do not merge.

Fix 3052285 by not publishing the BitmapRegionDecoder API until the honeycomb release.

Bug: 3052285
Change-Id: Ie339e414c1a5581e1d38684621e0e97162616977

13 years agoMerge "Start playing live streams from the start, no the middle..." into gingerbread
Andreas Huber [Fri, 1 Oct 2010 18:35:17 +0000 (11:35 -0700)]
Merge "Start playing live streams from the start, no the middle..." into gingerbread

13 years agodocs: device dashboard update for 10/1
Scott Main [Fri, 1 Oct 2010 18:31:57 +0000 (11:31 -0700)]
docs: device dashboard update for 10/1

Change-Id: Ic2f712aed325f04cc94d137d42dc16a2e5845f75

13 years agoMerge "Fix bug #3055578 ("adb shell bmgr list sets" generates NPE and cannot be run...
Fabrice Di Meglio [Fri, 1 Oct 2010 18:30:50 +0000 (11:30 -0700)]
Merge "Fix bug #3055578 ("adb shell bmgr list sets" generates NPE and cannot be run again when device has no account setup)" into gingerbread

13 years agoStart playing live streams from the start, no the middle...
Andreas Huber [Fri, 1 Oct 2010 18:28:44 +0000 (11:28 -0700)]
Start playing live streams from the start, no the middle...

Change-Id: Ie01ba1250b51155cb1fb32fc3340189a16c01476
related-to-bug: 2368598

13 years agoMerge "Remove development-only code." into gingerbread
Andreas Huber [Fri, 1 Oct 2010 18:23:24 +0000 (11:23 -0700)]
Merge "Remove development-only code." into gingerbread

13 years agoRemove development-only code.
Andreas Huber [Fri, 1 Oct 2010 18:19:26 +0000 (11:19 -0700)]
Remove development-only code.

Change-Id: Ic2ca0efb631eb779ca157fb01b02aa19a1222c06
related-to-bug: 2368598

13 years agoFix bug #3055578 ("adb shell bmgr list sets" generates NPE and cannot be run again...
Fabrice Di Meglio [Fri, 1 Oct 2010 18:16:10 +0000 (11:16 -0700)]
Fix bug #3055578 ("adb shell bmgr list sets" generates NPE and cannot be run again when device has no account setup)

- fix NPE
- code cleaning

Change-Id: Ieb30b666d995de8cbd27ee6d17e2178e7ea670f6

13 years agoMerge "b/3054044 Make allDay event times format in utc" into gingerbread
Erik [Fri, 1 Oct 2010 18:08:13 +0000 (11:08 -0700)]
Merge "b/3054044 Make allDay event times format in utc" into gingerbread

13 years agoMerge "Squashed commit of the following:" into gingerbread
Andreas Huber [Fri, 1 Oct 2010 18:01:33 +0000 (11:01 -0700)]
Merge "Squashed commit of the following:" into gingerbread

13 years agob/3054044 Make allDay event times format in utc
Erik [Fri, 1 Oct 2010 18:01:01 +0000 (11:01 -0700)]
b/3054044 Make allDay event times format in utc

AllDay events could get formatted with the local time zone
instead of utc. This makes it so that using the utc flag in the
wrapper for formatting correctly passes in UTC as the time zone.

Change-Id: I65090ef939ce64c1a942c7683cf76a927c02cb53

13 years agoSquashed commit of the following:
Andreas Huber [Fri, 1 Oct 2010 17:51:41 +0000 (10:51 -0700)]
Squashed commit of the following:

commit 46744c7697f29aec71aed8de3c95ce035c284d97
Author: Andreas Huber <andih@google.com>
Date:   Thu Sep 30 16:44:57 2010 -0700

    better separation of access units

    Change-Id: I5a9e2138aed341f0bcf22cfe368a15ca5ea5a73c

commit d34952ac0feb1ae722ff65824d7353335502219b
Author: Andreas Huber <andih@google.com>
Date:   Thu Sep 30 15:35:01 2010 -0700

    Support for ES packets that do not start on PES packet boundaries.

    Change-Id: I2cf012833948eddfb20b16a1901206cf22ce71e4
    related-to-bug: 2368598

Change-Id: Ib9329bd6bb7149b5a6e2483788a96b1b158952fc

13 years agoFix regression in OBB key handling
Kenny Root [Fri, 1 Oct 2010 15:37:20 +0000 (08:37 -0700)]
Fix regression in OBB key handling

Change-Id: If583cbdb8be68ffed094a5fde7ee00e1914c5841

13 years agoMerge "Rub in a little 'ol log-b-gone." into gingerbread
Dianne Hackborn [Fri, 1 Oct 2010 02:03:38 +0000 (19:03 -0700)]
Merge "Rub in a little 'ol log-b-gone." into gingerbread

13 years agoA few additions to the download manager public API documentation
Steve Howard [Fri, 1 Oct 2010 01:30:04 +0000 (18:30 -0700)]
A few additions to the download manager public API documentation

Change-Id: Icf831843e281d8eee9c1457273662121bb5a8609

13 years agoRub in a little 'ol log-b-gone.
Dianne Hackborn [Fri, 1 Oct 2010 01:27:22 +0000 (18:27 -0700)]
Rub in a little 'ol log-b-gone.

Mmmmmm...  great fresh scent!

Change-Id: I050e70b31b5d4a9c6731f15a4b51a3620a33a78d

13 years agoMerge "Use the private version of userActivity." into gingerbread
Joe Onorato [Fri, 1 Oct 2010 01:12:24 +0000 (18:12 -0700)]
Merge "Use the private version of userActivity." into gingerbread

13 years agoMerge "Being already unmounted is not a failure" into gingerbread
Kenny Root [Fri, 1 Oct 2010 01:03:25 +0000 (18:03 -0700)]
Merge "Being already unmounted is not a failure" into gingerbread

13 years agoBeing already unmounted is not a failure
Kenny Root [Fri, 1 Oct 2010 00:58:41 +0000 (17:58 -0700)]
Being already unmounted is not a failure

Change-Id: I5943096444e3d4d4cc5fd63f64a09c32f649a227

13 years agoMerge "RTP: Start AudioRecord before AudioTrack to avoid being disabled." into ginger...
Chia-chi Yeh [Fri, 1 Oct 2010 00:41:09 +0000 (17:41 -0700)]
Merge "RTP: Start AudioRecord before AudioTrack to avoid being disabled." into gingerbread

13 years agoMerge "Issue 3032913: improve AudioTrack recovery time" into gingerbread
Eric Laurent [Fri, 1 Oct 2010 00:39:36 +0000 (17:39 -0700)]
Merge "Issue 3032913: improve AudioTrack recovery time" into gingerbread

13 years agoHash keys with MD5; track IBinders not IInterface
Kenny Root [Thu, 30 Sep 2010 21:11:39 +0000 (14:11 -0700)]
Hash keys with MD5; track IBinders not IInterface

Using a plaintext password doesn't work unless it's a certain length, so
just hash the plaintext password with MD5 to make it the right length
for the twofish encryption.

Tracking the IInterface doesn't make much sense since it's different
each time, so track the IBinder instead. That way we can unlinkToDeath
the binder when the last thing it's holding onto goes away.

Change-Id: Id828d25b4d74f27e9d8b4bfb3909c964469cc473

13 years agoOnly allow 8 OBBs to be mounted by a UID
Kenny Root [Thu, 30 Sep 2010 02:27:20 +0000 (19:27 -0700)]
Only allow 8 OBBs to be mounted by a UID

Change-Id: I4f017c5408af903c6c9ba007a2cf7f488a7fcd27

13 years agoRemove OBBs from state list when volume unmounted
Kenny Root [Sun, 26 Sep 2010 21:18:51 +0000 (14:18 -0700)]
Remove OBBs from state list when volume unmounted

Don't keep tracking OBBs when the volume they're located on goes away.
Remove them from our state tracking maps and then send a notification to
any listener that is still around.

Add a dump handler to MountService so the state of the mount lists
can be inspected.

Change the API to just make a callback directly to the change listener
when mount is called when it's already mounted or unmount called when
it's already unmounted.

Change-Id: Idb4afbb943ca5ca775825f908bff334e3ce1cfcc

13 years agoIssue 3032913: improve AudioTrack recovery time
Eric Laurent [Thu, 30 Sep 2010 23:12:31 +0000 (16:12 -0700)]
Issue 3032913: improve AudioTrack recovery time

This issue showed that when an AudioTrack underruns during a too long period
of time and is therefore disabled by audioflinger mixer, it takes an additional
delay of up to 3 seconds to recover.
This fix adds a simple mechanism to recover immediately when the client application
is ready to write data again in the AudioTrack buffer

Also throttle warnings on record overflows

Change-Id: I8b2c71578dd134b9e60a15ee4d91b70f3799cb3d

13 years agoMerge "SipService: turn off verbose logging" into gingerbread
Hung-ying Tyan [Fri, 1 Oct 2010 00:20:25 +0000 (17:20 -0700)]
Merge "SipService: turn off verbose logging" into gingerbread

13 years agoRTP: Start AudioRecord before AudioTrack to avoid being disabled.
Chia-chi Yeh [Fri, 1 Oct 2010 00:20:09 +0000 (08:20 +0800)]
RTP: Start AudioRecord before AudioTrack to avoid being disabled.

Change-Id: I96be89fda41d77e2cf5bfc1c2f14e2b109001b57

13 years agoUse the private version of userActivity.
Joe Onorato [Thu, 30 Sep 2010 23:40:31 +0000 (16:40 -0700)]
Use the private version of userActivity.

We were flunking the enforcement of DEVICE_POWER since apps don't need that permission to use a wake
lock.

Bug: 3051596
Change-Id: I1910d8402adb3e9a4d8635de5d2a301f6286f216

13 years agoMerge "Avoid NPE when viewing failed legacy download with no local path" into gingerbread
Steve Howard [Thu, 30 Sep 2010 23:22:58 +0000 (16:22 -0700)]
Merge "Avoid NPE when viewing failed legacy download with no local path" into gingerbread

13 years agoSipService: turn off verbose logging
Hung-ying Tyan [Thu, 30 Sep 2010 23:09:30 +0000 (07:09 +0800)]
SipService: turn off verbose logging

Change-Id: I264662ba17d215d532f58b6ee793e569fe67c334

13 years agoMerge "Typo fixes in comments and minor code cleanups." into gingerbread
Jake Hamby [Thu, 30 Sep 2010 22:47:34 +0000 (15:47 -0700)]
Merge "Typo fixes in comments and minor code cleanups." into gingerbread

13 years agoMerge "Move verbose logging of device capabilities to dumpsys." into gingerbread
Jeff Brown [Thu, 30 Sep 2010 22:46:00 +0000 (15:46 -0700)]
Merge "Move verbose logging of device capabilities to dumpsys." into gingerbread

13 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Thu, 30 Sep 2010 22:44:54 +0000 (15:44 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

13 years agoTypo fixes in comments and minor code cleanups.
Jake Hamby [Tue, 21 Sep 2010 20:39:53 +0000 (13:39 -0700)]
Typo fixes in comments and minor code cleanups.

* Fix some typos in Javadoc and log messages.
* Remove redundant initializer in BluetoothAdapter.readOutOfBandData()
* Use canonical "UTF-8" charset name instead of "UTF8" in
    BluetoothDevice.convertPinToBytes()

Change-Id: I58cd5dc48a7ad0053d204c5f590b4b3d438d8672

13 years agoMove verbose logging of device capabilities to dumpsys.
Jeff Brown [Thu, 30 Sep 2010 21:33:04 +0000 (14:33 -0700)]
Move verbose logging of device capabilities to dumpsys.

Change-Id: I5d55eaebfdf049bd1ac1e7bab2758886cfefc9d7

13 years agoMerge "Fix location of gdbserver upon installation" into gingerbread
Kenny Root [Thu, 30 Sep 2010 21:27:15 +0000 (14:27 -0700)]
Merge "Fix location of gdbserver upon installation" into gingerbread

13 years agoFix location of gdbserver upon installation
Kenny Root [Thu, 30 Sep 2010 21:13:59 +0000 (14:13 -0700)]
Fix location of gdbserver upon installation

Change-Id: Ie97f10456e5639e008abf4792a01b966b97721e7

13 years agoMerge "location: rebind to network location and geocoder services after package updat...
Mike Lockwood [Thu, 30 Sep 2010 20:07:06 +0000 (13:07 -0700)]
Merge "location: rebind to network location and geocoder services after package update" into gingerbread

13 years agoMerge "Fix night/notnight resource folder handling." into gingerbread
Dianne Hackborn [Thu, 30 Sep 2010 19:40:52 +0000 (12:40 -0700)]
Merge "Fix night/notnight resource folder handling." into gingerbread

13 years agolocation: rebind to network location and geocoder services after package update
Mike Lockwood [Wed, 29 Sep 2010 19:23:46 +0000 (15:23 -0400)]
location: rebind to network location and geocoder services after package update

Change-Id: I2d7db3512b9edd7e0ba27d97442967fc2278e3b9
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMoved Rfc822 validator test
Paul Westbrook [Thu, 30 Sep 2010 18:28:11 +0000 (11:28 -0700)]
Moved Rfc822 validator test

Moved rfc822 validator test to framework/ex, as this is where
the code lives

Change-Id: Ia12e67364df9c8f9351dea423d769454a5d4e58d

13 years agoAvoid NPE when viewing failed legacy download with no local path
Steve Howard [Thu, 30 Sep 2010 00:41:37 +0000 (17:41 -0700)]
Avoid NPE when viewing failed legacy download with no local path

Change-Id: I3e9d349959543f42afed67de9f6d299c268ab7ac

13 years agoMerge "Have download manager give more details when downloads are paused" into ginger...
Steve Howard [Thu, 30 Sep 2010 18:11:16 +0000 (11:11 -0700)]
Merge "Have download manager give more details when downloads are paused" into gingerbread

13 years agoFix the javadoc of Parameters.setRotation.
Wu-cheng Li [Tue, 14 Sep 2010 03:02:01 +0000 (20:02 -0700)]
Fix the javadoc of Parameters.setRotation.

setRotation needs to consider the orientation of cameras.
Change-Id: I3ef23dc088647dacdddbb83e3f303c16b9251185

13 years agoKeyStore: Update the parameters of generating master keys.
Chia-chi Yeh [Thu, 30 Sep 2010 17:27:34 +0000 (01:27 +0800)]
KeyStore: Update the parameters of generating master keys.

To improve the security, the parameters to generate the master key has
been changed. Special cares has been taken to prevent from permanent
damages of the existing data during the transition process.

Change-Id: I0c93f3de28a9fcd314932675ccfb65a7f11fa3ff

13 years agoMerge "KeyStore: Initialize IV correctly." into gingerbread
Chia-chi Yeh [Thu, 30 Sep 2010 09:44:16 +0000 (02:44 -0700)]
Merge "KeyStore: Initialize IV correctly." into gingerbread

13 years agoKeyStore: Initialize IV correctly.
Chia-chi Yeh [Thu, 30 Sep 2010 09:28:01 +0000 (17:28 +0800)]
KeyStore: Initialize IV correctly.

Change-Id: Idbf207dfcc11b92e606cbf4fd3732ed7a8aa3416

13 years agoFix night/notnight resource folder handling.
Tobias Haamel [Thu, 30 Sep 2010 08:57:24 +0000 (10:57 +0200)]
Fix night/notnight resource folder handling.

The values for NIGHT_NO / NIGHT_YES are shifted later on in the
ResourceTypes header file to match with the ones specified in the
Configuration class file. This is basically the same as it's done for
the SCREEN_LONG_NO / SCREEN_LONG_YES constants.

Since the values are also masked later on by 0x30 (MASK_UI_MODE_NIGHT)
the system currently recognizes resources specified in night/notnight
folders as if they were resources which can be used for any of both
modes. This results in an error saying that the resources are already
specified somewhere else.

Should fix: http://b/issue?id=3022577

Change-Id: I554b37231ea4c69a8625e519150473fddce7d8ed

13 years agoRTP: Minor fixes with polishing.
Chia-chi Yeh [Thu, 30 Sep 2010 08:07:44 +0000 (16:07 +0800)]
RTP: Minor fixes with polishing.

Change-Id: I50641373989e512fb489b5017edbcfd7848fe8b9

13 years agoMerge "KeyStore: Fix the return value when send() or recv() has an error." into ginge...
Chia-chi Yeh [Thu, 30 Sep 2010 07:39:32 +0000 (00:39 -0700)]
Merge "KeyStore: Fix the return value when send() or recv() has an error." into gingerbread

13 years agoKeyStore: Fix the return value when send() or recv() has an error.
Chia-chi Yeh [Thu, 30 Sep 2010 07:17:58 +0000 (15:17 +0800)]
KeyStore: Fix the return value when send() or recv() has an error.

Change-Id: I20a63c76bd29b1a9f8959a6c4fe5a5b8a9a971b4

13 years agoMerge "Add uri field to SipManager.ListenerRelay" into gingerbread
Hung-ying Tyan [Thu, 30 Sep 2010 07:05:58 +0000 (00:05 -0700)]
Merge "Add uri field to SipManager.ListenerRelay" into gingerbread

13 years agoAdd uri field to SipManager.ListenerRelay
Hung-ying Tyan [Thu, 30 Sep 2010 07:00:34 +0000 (15:00 +0800)]
Add uri field to SipManager.ListenerRelay

in case mSession is not available.

Change-Id: Ifee2c129e48aa1177f648f176413ab6aa5606770

13 years agoMerge "RTP: Adjust the jitter buffer to 512ms." into gingerbread
Chia-chi Yeh [Thu, 30 Sep 2010 06:24:32 +0000 (23:24 -0700)]
Merge "RTP: Adjust the jitter buffer to 512ms." into gingerbread

13 years agoRTP: Adjust the jitter buffer to 512ms.
Chia-chi Yeh [Thu, 30 Sep 2010 05:48:07 +0000 (13:48 +0800)]
RTP: Adjust the jitter buffer to 512ms.

Change-Id: Ia91c1aa1a03b65dbd329ea98383f370844e2b0c0

13 years agoSipService: add UID check.
Hung-ying Tyan [Mon, 13 Sep 2010 10:44:33 +0000 (18:44 +0800)]
SipService: add UID check.

Only allow creator or radio user to access profiles.

Change-Id: I548938f117926bcc878419142d1b5d818a4e70df

13 years agoAdd CallManager/Phone.setEchoSuppressionEnabled().
Hung-ying Tyan [Thu, 30 Sep 2010 04:03:14 +0000 (12:03 +0800)]
Add CallManager/Phone.setEchoSuppressionEnabled().

Change-Id: I7bc6241e6fa815787799a53d6f3a076567edc361

13 years agoMerge "Fix text anchors" into gingerbread
Adam Powell [Thu, 30 Sep 2010 04:05:12 +0000 (21:05 -0700)]
Merge "Fix text anchors" into gingerbread

13 years agoFix text anchors
Adam Powell [Wed, 29 Sep 2010 00:41:23 +0000 (17:41 -0700)]
Fix text anchors

Change-Id: Iddd5434a1dbeb1adc2143db73ed27df6b575319e

13 years agoRevert orientation change.
Jeff Brown [Thu, 30 Sep 2010 03:14:56 +0000 (20:14 -0700)]
Revert orientation change.

Change-Id: I1a6d13be118533171b9a75025dcf7985dd7e12b5

13 years agoMerge "Change the 0_fully signal icon to the new style" into gingerbread
Robert Greenwalt [Thu, 30 Sep 2010 02:48:57 +0000 (19:48 -0700)]
Merge "Change the 0_fully signal icon to the new style" into gingerbread

13 years agoMerge "PointerLocationView: Display orientation correctly." into gingerbread
Jeff Brown [Thu, 30 Sep 2010 02:08:02 +0000 (19:08 -0700)]
Merge "PointerLocationView: Display orientation correctly." into gingerbread

13 years agoPointerLocationView: Display orientation correctly.
Jeff Brown [Thu, 30 Sep 2010 01:41:11 +0000 (18:41 -0700)]
PointerLocationView: Display orientation correctly.

Canvas rotations are counterclockwise, orientation is clockwise,
so we need to mind the sign of the rotation.

Change-Id: I2a8b60599bd26e9dc3ced2e13942f846461333df