OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "Fix name shadowing bug with revoking URI permissions." into gingerbread
Steve Howard [Wed, 15 Sep 2010 00:46:22 +0000 (17:46 -0700)]
Merge "Fix name shadowing bug with revoking URI permissions." into gingerbread

13 years agoMerge "DO NOT MERGE Correct the PackageManager.checkSignatures documentation." into...
Chris Palmer [Wed, 15 Sep 2010 00:43:31 +0000 (17:43 -0700)]
Merge "DO NOT MERGE Correct the PackageManager.checkSignatures documentation." into gingerbread

13 years agoFix name shadowing bug with revoking URI permissions.
Steve Howard [Tue, 14 Sep 2010 23:29:26 +0000 (16:29 -0700)]
Fix name shadowing bug with revoking URI permissions.

Change-Id: Ibfcb0dc73c6b1a111dbb8d56e6f0b78084f5e4e6

13 years agoMerge "Complete event registration in CallManager." into gingerbread
John Wang [Tue, 14 Sep 2010 23:26:14 +0000 (16:26 -0700)]
Merge "Complete event registration in CallManager." into gingerbread

13 years agoFixes some bugs in TimeZoneUtils
Erik [Tue, 14 Sep 2010 22:09:34 +0000 (15:09 -0700)]
Fixes some bugs in TimeZoneUtils

TimeZoneUtils was updating the db and modifying the selection. This
creates a static selection for each update type and creates new
values for each update. Also adds a method for apps to force the
local tz cache to refresh if they think another app has modified
the db.

Change-Id: Iaaade635ac8ff11bb116005a0f6b44efcd4c4056

13 years agoComplete event registration in CallManager.
John Wang [Tue, 14 Sep 2010 22:18:51 +0000 (15:18 -0700)]
Complete event registration in CallManager.

1. Originally CallManager registers for all phone events provided by registerFor interface,

which will cause error msg such as "registerForXXX() in PhoneBase should not be called, CDMAPhone inactive."

for CDMA only events. Register for those events only if phone is CDMA phone.

2. Add registerForPostDialCharacter().

Note, we can't use notifyRegistrants() in handler since we need send

the character that is being processed in msg.arg1.

Change-Id: I48037c8a8e225bb82e203836a041f81f2445f4d8

13 years agoMerge "Replace epoll() with poll() and rename PollLoop to Looper." into gingerbread
Jeff Brown [Tue, 14 Sep 2010 22:27:33 +0000 (15:27 -0700)]
Merge "Replace epoll() with poll() and rename PollLoop to Looper." into gingerbread

13 years agoMerge "Add logging of various important graphics events" into gingerbread
Mathias Agopian [Tue, 14 Sep 2010 22:11:33 +0000 (15:11 -0700)]
Merge "Add logging of various important graphics events" into gingerbread

13 years agoMerge "Unhide GsmCellLocation.getPsc()." into gingerbread
jsh [Tue, 14 Sep 2010 22:02:46 +0000 (15:02 -0700)]
Merge "Unhide GsmCellLocation.getPsc()." into gingerbread

13 years agoMerge "Added intents for audio effects control application" into gingerbread
Eric Laurent [Tue, 14 Sep 2010 20:02:18 +0000 (13:02 -0700)]
Merge "Added intents for audio effects control application" into gingerbread

13 years agoMerge "Fix problem where power manager was calling battery stats with bad wl type...
Dianne Hackborn [Tue, 14 Sep 2010 19:28:08 +0000 (12:28 -0700)]
Merge "Fix problem where power manager was calling battery stats with bad wl type." into gingerbread

13 years agoMerge "Adds time zone functionality into fw as a hidden api" into gingerbread
Erik [Tue, 14 Sep 2010 19:21:53 +0000 (12:21 -0700)]
Merge "Adds time zone functionality into fw as a hidden api" into gingerbread

13 years agoMerge "Fix issue #2999795: Runtime restart on Crespo" into gingerbread
Dianne Hackborn [Tue, 14 Sep 2010 18:50:51 +0000 (11:50 -0700)]
Merge "Fix issue #2999795: Runtime restart on Crespo" into gingerbread

13 years agoFix issue #2999795: Runtime restart on Crespo
Dianne Hackborn [Tue, 14 Sep 2010 18:45:44 +0000 (11:45 -0700)]
Fix issue #2999795: Runtime restart on Crespo

Change-Id: I7138b031298a234f3f35aec4a003d25cf86a57ff

13 years agoMerge "Unify some duplicate StrictMode-enabling code." into gingerbread
Brad Fitzpatrick [Tue, 14 Sep 2010 18:37:13 +0000 (11:37 -0700)]
Merge "Unify some duplicate StrictMode-enabling code." into gingerbread

13 years agoMerge "Add missing wallpaper service lock." into gingerbread
Brad Fitzpatrick [Tue, 14 Sep 2010 18:37:05 +0000 (11:37 -0700)]
Merge "Add missing wallpaper service lock." into gingerbread

13 years agoMerge "Change the keep alive time for excess idle threads." into gingerbread
Romain Guy [Tue, 14 Sep 2010 18:34:01 +0000 (11:34 -0700)]
Merge "Change the keep alive time for excess idle threads." into gingerbread

13 years agoAdd missing wallpaper service lock.
Brad Fitzpatrick [Tue, 14 Sep 2010 18:30:29 +0000 (11:30 -0700)]
Add missing wallpaper service lock.

Unimportant, but found while reading the code for other reasons.

Change-Id: I9f2fad3ff5d081aef7a35e5f33ec5de7dc92195e

13 years agoChange the keep alive time for excess idle threads.
Romain Guy [Tue, 14 Sep 2010 18:30:27 +0000 (11:30 -0700)]
Change the keep alive time for excess idle threads.

Change-Id: Ie076544df5ee8df185f0824333fdc62203a565c2

13 years agoRename internal SSLParameters to SSLParametersImpl to avoid collision with new javax...
Brian Carlstrom [Tue, 14 Sep 2010 07:26:53 +0000 (00:26 -0700)]
Rename internal SSLParameters to SSLParametersImpl to avoid collision with new javax.net.ssl.SSLParameters

Bug: 2672817
Change-Id: Ibe20830f024f76232f3628cfca922d49a5a06bef

13 years agoAdds time zone functionality into fw as a hidden api
Erik [Mon, 13 Sep 2010 23:41:35 +0000 (16:41 -0700)]
Adds time zone functionality into fw as a hidden api

This is the start of work towards pushing api that is needed for
Calendar to become unbundled into frameworks. This adds functions
for getting and setting time zones for the Calendar app. The new
methods are currently hidden.

Change-Id: I1b4265b23630c46d9730a179ec02da8d6c0e03ea

13 years agoMerge "Remove SSLContextImpl.engineInit(..) that takes persistent cache arguments...
Brian Carlstrom [Tue, 14 Sep 2010 18:15:01 +0000 (11:15 -0700)]
Merge "Remove SSLContextImpl.engineInit(..) that takes persistent cache arguments" into gingerbread

13 years agoUnhide GsmCellLocation.getPsc().
jsh [Thu, 9 Sep 2010 17:08:10 +0000 (10:08 -0700)]
Unhide GsmCellLocation.getPsc().

bug: 2465036
Change-Id: If071c4e0f1f3484c010ec908b02800361cbf8a86

13 years agoFix problem where power manager was calling battery stats with bad wl type.
Dianne Hackborn [Tue, 14 Sep 2010 18:13:03 +0000 (11:13 -0700)]
Fix problem where power manager was calling battery stats with bad wl type.

Also fiddle code to reduce duplication.

Change-Id: I3f1b086e53ef88dac1ec1896fe711b3cfe7fdd58

13 years agoMerge "Return immutable copies of private callList." into gingerbread
John Wang [Tue, 14 Sep 2010 17:28:33 +0000 (10:28 -0700)]
Merge "Return immutable copies of private callList." into gingerbread

13 years agoam ca8f3d04: Merge "Add an option to hide the Voice Search icon." into froyo
Leon Scroggins III [Tue, 14 Sep 2010 17:23:35 +0000 (10:23 -0700)]
am ca8f3d04: Merge "Add an option to hide the Voice Search icon." into froyo

Merge commit 'ca8f3d04284a26477257a0c2b34d83c86d15efe9' into gingerbread

* commit 'ca8f3d04284a26477257a0c2b34d83c86d15efe9':
  Add an option to hide the Voice Search icon.

13 years agoMerge "Add an option to hide the Voice Search icon." into froyo
Leon Scroggins III [Tue, 14 Sep 2010 17:21:25 +0000 (10:21 -0700)]
Merge "Add an option to hide the Voice Search icon." into froyo

13 years agoMerge "SipService: ignore connect event for non-active networks." into gingerbread
Hung-ying Tyan [Tue, 14 Sep 2010 16:57:47 +0000 (09:57 -0700)]
Merge "SipService: ignore connect event for non-active networks." into gingerbread

13 years agoAdded intents for audio effects control application
Eric Laurent [Tue, 14 Sep 2010 01:13:02 +0000 (18:13 -0700)]
Added intents for audio effects control application

Added intents to launch audio effects control panel UI and
communicate playback state from media player applications
to effect control application/service.

Change-Id: Iede23ae11fa9f0802df5f36299dd80ea57eda376

13 years agoSipService: ignore connect event for non-active networks.
Hung-ying Tyan [Tue, 14 Sep 2010 11:33:10 +0000 (19:33 +0800)]
SipService: ignore connect event for non-active networks.

+ sanity check and remove redundant code.

Change-Id: I4d3e226851ad7fc4d88ddcd0a5c58f7e33b6c14a

13 years agoam 4b4af990: Doc change: update ADT 0.9.8 checksum and size.
Dirk Dougherty [Tue, 14 Sep 2010 16:39:59 +0000 (09:39 -0700)]
am 4b4af990: Doc change: update ADT 0.9.8 checksum and size.

Merge commit '4b4af990af527c79073d546ead1850278caa7a8e' into gingerbread

* commit '4b4af990af527c79073d546ead1850278caa7a8e':
  Doc change: update ADT 0.9.8 checksum and size.

13 years agoMerge "Dedupe timestamp in PackageSettings" into gingerbread
Kenny Root [Tue, 14 Sep 2010 16:29:48 +0000 (09:29 -0700)]
Merge "Dedupe timestamp in PackageSettings" into gingerbread

13 years agoDoc change: update ADT 0.9.8 checksum and size.
Dirk Dougherty [Mon, 13 Sep 2010 18:24:06 +0000 (11:24 -0700)]
Doc change: update ADT 0.9.8 checksum and size.

Change-Id: I610985683cd4608b075a22e8d8089de7896eb312

13 years agoUnify some duplicate StrictMode-enabling code.
Brad Fitzpatrick [Tue, 14 Sep 2010 04:29:05 +0000 (21:29 -0700)]
Unify some duplicate StrictMode-enabling code.

Change-Id: Ifb92f35d9e245dbdb5e201597d8be702bce9e8b8

13 years agoAdd an option to hide the Voice Search icon.
Leon Scroggins III [Tue, 14 Sep 2010 14:56:25 +0000 (10:56 -0400)]
Add an option to hide the Voice Search icon.

Some search engines do not support voice search, so provide a flag
to disable showing the icon in the SearchDialog.

Change-Id: I7ef4ad5d382edb86c08014260defa4af6d5eca0a

13 years agoSipAudioCall: use SipErrorCode instead of string in onError()
Hung-ying Tyan [Tue, 14 Sep 2010 13:28:12 +0000 (21:28 +0800)]
SipAudioCall: use SipErrorCode instead of string in onError()

and fix callback in setListener().

Change-Id: Ic2622df992a2ad45cb1e3f71736f320897ae8fb3

13 years agoSIP: remove dependency on javax.sip
Hung-ying Tyan [Tue, 14 Sep 2010 12:12:59 +0000 (20:12 +0800)]
SIP: remove dependency on javax.sip

and change errorCodeString to errorCode in
SipRegistrationListener.onRegistrationFailed().

Change-Id: Id9618f5a4b0effaed04f8b0dc60347499d9e4501

13 years agoReplace epoll() with poll() and rename PollLoop to Looper.
Jeff Brown [Tue, 14 Sep 2010 06:17:30 +0000 (23:17 -0700)]
Replace epoll() with poll() and rename PollLoop to Looper.

As part of this change, consolidated and cleaned up the Looper API so
that there are fewer distinctions between the NDK and non-NDK declarations
(no need for two callback types, etc.).

Removed the dependence on specific constants from sys/poll.h such as
POLLIN.  Instead looper.h defines events like LOOPER_EVENT_INPUT for
the events that it supports.  That should help make any future
under-the-hood implementation changes easier.

Fixed a couple of compiler warnings along the way.

Change-Id: I449a7ec780bf061bdd325452f823673e2b39b6ae

13 years agoRemove SSLContextImpl.engineInit(..) that takes persistent cache arguments
Brian Carlstrom [Tue, 14 Sep 2010 07:11:14 +0000 (00:11 -0700)]
Remove SSLContextImpl.engineInit(..) that takes persistent cache arguments

Bug: 2672817

Change-Id: If5f10fa16eaf5676a0c1540463759cd4e0e837de

13 years agoMerge "Fix the bug of authentication in an outgoing call." into gingerbread
Chung-yih Wang [Tue, 14 Sep 2010 06:31:18 +0000 (23:31 -0700)]
Merge "Fix the bug of authentication in an outgoing call." into gingerbread

13 years agoFix the bug of authentication in an outgoing call.
Chung-yih Wang [Tue, 14 Sep 2010 06:01:13 +0000 (14:01 +0800)]
Fix the bug of authentication in an outgoing call.

Since we missed the check of another challenge header in the
proxy authentication response.

Change-Id: Ie5b9d22c6c55b4d65619d2194c88845e7dd59f15

13 years agoAdd logging of various important graphics events
Mathias Agopian [Tue, 14 Sep 2010 05:57:58 +0000 (22:57 -0700)]
Add logging of various important graphics events

There are 16 events logged in the event log:
SF_APP_DEQUEUE_BEFORE
SF_APP_DEQUEUE_AFTER
SF_APP_LOCK_BEFORE
SF_APP_LOCK_AFTER
SF_APP_QUEUE

SF_REPAINT
SF_COMPOSITION_COMPLETE
SF_UNLOCK_CLIENTS
SF_SWAP_BUFFERS
SF_REPAINT_DONE

SF_FB_POST_BEFORE
SF_FB_POST_AFTER
SF_FB_DEQUEUE_BEFORE
SF_FB_DEQUEUE_AFTER
SF_FB_LOCK_BEFORE
SF_FB_LOCK_AFTER

all events log the buffer conserned and a timestamp in microseconds.

by default the logging is not enabled, to turn it on:
adb shell service call SurfaceFlinger 1006 i31 1
adb shell setprop debug.graphic_log 1

The effect is immediate in SurfaceFlinger, but applications need to be
restarted.

Change-Id: Ifc2e31f7aed072d9a7dede20ff2ce59231edbec1

13 years agoFix interaction between BluetoothEventLoop and BluetoothService.
Jaikumar Ganesh [Fri, 10 Sep 2010 22:09:54 +0000 (15:09 -0700)]
Fix interaction between BluetoothEventLoop and BluetoothService.

BluetoothEventLoop primarily handles event notifications from Bluez.
It should know innards of Bonding and especially BondState.
BondState class and BluetoothService call into each other.
When BluetoothEvent loop gets the handle to BondState it leads
to deadlocks and ANRs.

Change-Id: I785c57f6246c1288350d26d4acb87d879b27a5f9

13 years agoMerge "SipService: deliver connectivity change to all sessions." into gingerbread
Hung-ying Tyan [Tue, 14 Sep 2010 02:53:58 +0000 (19:53 -0700)]
Merge "SipService: deliver connectivity change to all sessions." into gingerbread

13 years agoReturn immutable copies of private callList.
John Wang [Tue, 14 Sep 2010 02:10:21 +0000 (19:10 -0700)]
Return immutable copies of private callList.

Change-Id: I3da97acf89e044515e98fa04233dd378c32c250d

13 years agoMerge "Fix potential crash in sync." into gingerbread
Dianne Hackborn [Tue, 14 Sep 2010 00:21:04 +0000 (17:21 -0700)]
Merge "Fix potential crash in sync." into gingerbread

13 years agoMerge "Work on issue #2991868: A toast pops up informing users..." into gingerbread
Dianne Hackborn [Tue, 14 Sep 2010 00:14:00 +0000 (17:14 -0700)]
Merge "Work on issue #2991868: A toast pops up informing users..." into gingerbread

13 years agoFix potential crash in sync.
Dianne Hackborn [Tue, 14 Sep 2010 00:12:51 +0000 (17:12 -0700)]
Fix potential crash in sync.

Change-Id: I523d8faa24b7ba57dcc09cbe91b5cb91d9f6f262

13 years agoSipService: deliver connectivity change to all sessions.
Hung-ying Tyan [Mon, 13 Sep 2010 16:17:51 +0000 (00:17 +0800)]
SipService: deliver connectivity change to all sessions.

+ add DATA_CONNECTION_LOST to SipErrorCode
+ convert it to Connection.DisconnectCause.LOST_SIGNAL in SipPhone

http://b/issue?id=2992548

Change-Id: Ie8983c1b81077b21f46304cf60b8e61df1ffd241

13 years agoWork on issue #2991868: A toast pops up informing users...
Dianne Hackborn [Mon, 13 Sep 2010 23:58:59 +0000 (16:58 -0700)]
Work on issue #2991868: A toast pops up informing users...

...that Market took over the screen after signing into a Google account

Don't warn the user about a new activity coming up on an activity that
is finishing.

Change-Id: I573073139d42a485473d0c8a7df450c1a23c35c3

13 years agoDedupe timestamp in PackageSettings
Kenny Root [Mon, 13 Sep 2010 23:29:49 +0000 (16:29 -0700)]
Dedupe timestamp in PackageSettings

Timestamp data was duplicated making the management of timestamp
unnecessarily complicated.

Change-Id: Ia13be6ee9809a314232453e8627a54f9c9d8374d

13 years agoMerge "DO NOT MERGE Fix bug 2995887 - overscroll effect initialization issue" into...
Adam Powell [Mon, 13 Sep 2010 23:09:51 +0000 (16:09 -0700)]
Merge "DO NOT MERGE Fix bug 2995887 - overscroll effect initialization issue" into gingerbread

13 years agoDO NOT MERGE Fix bug 2995887 - overscroll effect initialization issue
Adam Powell [Mon, 13 Sep 2010 23:08:02 +0000 (16:08 -0700)]
DO NOT MERGE Fix bug 2995887 - overscroll effect initialization issue

Change-Id: I03cc18616dec05eb9e0383dc02371366c70cc12b

13 years agoMerge "Fix statusbar display of wifi signalstrength" into gingerbread
Irfan Sheriff [Mon, 13 Sep 2010 23:05:06 +0000 (16:05 -0700)]
Merge "Fix statusbar display of wifi signalstrength" into gingerbread

13 years agoFix statusbar display of wifi signalstrength
Robert Greenwalt [Mon, 13 Sep 2010 22:53:26 +0000 (15:53 -0700)]
Fix statusbar display of wifi signalstrength

When turning a 1d array into a 2d, be sure and adjust length-checks.
bug:2995809

Change-Id: I9ff53f75958ea7808eb9f44bc05497e86f1807a2

13 years agoDO NOT MERGE Correct the PackageManager.checkSignatures documentation.
Chris Palmer [Mon, 13 Sep 2010 21:27:18 +0000 (14:27 -0700)]
DO NOT MERGE Correct the PackageManager.checkSignatures documentation.

Make the documentation match the current behavior since change ID
Ibdeff170bd386d723f774136b18e0ad59d9cdabb.

Will add @deprecated tags back in in a separate CL. This is just to get
things in the same state as master, following the build breakage mishap.

Change-Id: I47c53700892473061093002c32ad8f095b5813d1

Do not merge to master; an equivalent CL has already been committed there.

13 years agoTrack client requests through location manager.
Dianne Hackborn [Sat, 11 Sep 2010 01:43:00 +0000 (18:43 -0700)]
Track client requests through location manager.

This fixes a problem where applications could ask the location
manager to do very heavy-weight things (like...  say... update
location every minute), which would get accounted against the
system instead of the application because ultimately it is the
system making the heavy calls (wake locks, etc).

To solve this, we introduce a new class WorkSource representing
the source of some work.  Wake locks and Wifi locks allow you
to set the source to use (but only if you are system code and thus
can get the permission to do so), which is what will be reported
to the battery stats until the actual caller.

For the initial implementation, the location manager keeps track
of all clients requesting periodic updates, and tells its providers
about them as a WorkSource param when setting their min update time.
The network location provider uses this to set the source on the
wake and wifi locks it acquires, when doing work because of the
update period.

This should also be used elsewhere, such as in the GPS provider,
but this is a good start.

Change-Id: I2b6ffafad9e90ecf15d7c502e2db675fd52ae3cf

13 years agoOut Of Band API for Secure Simple Pairing.
Jaikumar Ganesh [Thu, 9 Sep 2010 22:37:57 +0000 (15:37 -0700)]
Out Of Band API for Secure Simple Pairing.

Change-Id: I54ded27ab85d46eef3d2cca84f2394b1ffe88ced

13 years agoMerge "DO NOT MERGE" into gingerbread
Shimeng (Simon) Wang [Mon, 13 Sep 2010 18:00:16 +0000 (11:00 -0700)]
Merge "DO NOT MERGE" into gingerbread

13 years agoDO NOT MERGE
Shimeng (Simon) Wang [Mon, 13 Sep 2010 17:23:02 +0000 (10:23 -0700)]
DO NOT MERGE

Use a static variable and methods for the current WebView.

sJavaBridge may not exist by the time onWindowFocusChanged is called.
To avoid an NPE, just static methods that modify a global field.
JWebCoreJavaBridge is a global object anyway so using a static field
will be fine.  To avoid any garbage collection issues, store the
WebView in a WeakReference.

Bug: 2908023
Change-Id: I05e9261f2c3d13c10c73c9b34f3aeea1d12a08a6

13 years agoMerge "Fix volume problems with insert revert" into gingerbread
Eric Laurent [Mon, 13 Sep 2010 16:14:39 +0000 (09:14 -0700)]
Merge "Fix volume problems with insert revert" into gingerbread

13 years agoFix volume problems with insert revert
Eric Laurent [Sat, 11 Sep 2010 00:44:44 +0000 (17:44 -0700)]
Fix volume problems with insert revert

- Use a constant input level to the reverb engine and implement volume control in the
insert reverb. This avoids the volume spikes when an effect that was inserted after
the reverb is disabled or removed.
- Fix clicks (one silent buffer) at the end of the reverb disable period.
- Modified volume management in audioflinger so that the volume ramp is also done by
the insert effect if present when the track is paused (avoids clicks).
- Increased room level for all presets.

Also fixed problems with output stage session (-1):
- effect bundle wrapper was not designed to support session -1
- the permission check in audioflinger for using session -1 failed due to a wrong usage of
getCallingPid()

Change-Id: Id1ff51327263364bf71d3f2668fa5cde4311d84f

13 years agoSIP: enhance timeout and registration status feedback.
Hung-ying Tyan [Sun, 12 Sep 2010 15:50:38 +0000 (23:50 +0800)]
SIP: enhance timeout and registration status feedback.

http://b/issue?id=2984419
http://b/issue?id=2991065

Change-Id: I2d3b1dd3a70079ff347f7256f4684aea07847f4e

13 years agoSIP: remove dependency on javax.sip.SipException.
Hung-ying Tyan [Mon, 13 Sep 2010 08:50:12 +0000 (16:50 +0800)]
SIP: remove dependency on javax.sip.SipException.

Change-Id: I77d289bef1b5e7f1ec0c0408d0bbf96c21085cd7

13 years agoMerge "Fix PointerLocationView when pointer ids are not zero-based." into gingerbread
Jeff Brown [Mon, 13 Sep 2010 03:45:31 +0000 (20:45 -0700)]
Merge "Fix PointerLocationView when pointer ids are not zero-based." into gingerbread

13 years agoFix PointerLocationView when pointer ids are not zero-based.
Jeff Brown [Mon, 13 Sep 2010 02:14:26 +0000 (19:14 -0700)]
Fix PointerLocationView when pointer ids are not zero-based.

Since we support using driver-provided pointer ids (ABS_MT_TRACKING_ID)
there is no guarantee that pointer ids will necessarily start from 0
or be contiguous.

Change-Id: I9609b7a3bb238d7edbcbd68cc839dd6d14baf9df

13 years agoMake nativeLibraryDir visible in the API
Kenny Root [Mon, 13 Sep 2010 02:20:03 +0000 (19:20 -0700)]
Make nativeLibraryDir visible in the API

Change-Id: Ic88e76a85b0041e97b4c29c42dfa09db0356391c

13 years agoSupport UI visibility and restarting in download manager.
Steve Howard [Thu, 9 Sep 2010 23:13:41 +0000 (16:13 -0700)]
Support UI visibility and restarting in download manager.

First, this change adds a column to the downloads table specifying
whether a download should be displayed in the system downloads UI.  It
adds a public method to set this parameter when requesting a download,
and a hidden method to filter queries based on this paramter (such
filtering could be made public later, but it's not strictly necessary
right now).

Second, this change adds support for restarting a completed/failed
download as a hidden method on DownloadManager.  Currently it only
works from the download manager's process - it'll be used by the new
download manager UI.

Change-Id: I15eda1a6e3717d1ce947a810b25ad3540cce809e

13 years agoMerge "Don't play a sound if a volume key press is canceled." into gingerbread
Jeff Brown [Mon, 13 Sep 2010 01:11:42 +0000 (18:11 -0700)]
Merge "Don't play a sound if a volume key press is canceled." into gingerbread

13 years agoMerge "Undo API patch due to field pulled up to superclass." into gingerbread
Jeff Brown [Mon, 13 Sep 2010 01:11:05 +0000 (18:11 -0700)]
Merge "Undo API patch due to field pulled up to superclass." into gingerbread

13 years agoDon't play a sound if a volume key press is canceled.
Jeff Brown [Mon, 13 Sep 2010 00:53:38 +0000 (17:53 -0700)]
Don't play a sound if a volume key press is canceled.

Change-Id: I8e45af20ec83a81565e10be3648b95686fa897af

13 years agoUndo API patch due to field pulled up to superclass.
Jeff Brown [Mon, 13 Sep 2010 01:01:28 +0000 (18:01 -0700)]
Undo API patch due to field pulled up to superclass.

Earlier we extracted a common superclass InputEvent from KeyEvent
and MotionEvent.  During this process, getDeviceId() and mDeviceId
were moved to the superclass.  The API change tracking was unable
to automatically figure out that the method had just been moved up
to the superclass (still binary compatible) so we patched up 9.xml
manually to fool it.  Unfortunately mDeviceId slipped in there
when it should not have since it should have been marked with @hide.
This change just removes mDeviceId.

Change-Id: I5fca14c8dc6f98952b8afbdb6e034824a22bdb1d

13 years agoMerge changes Ie3648509,I53db73c3 into gingerbread
Kenny Root [Mon, 13 Sep 2010 00:59:41 +0000 (17:59 -0700)]
Merge changes Ie3648509,I53db73c3 into gingerbread

* changes:
  Move native library removal function to helper
  Initialize native library path in PackageSetting

13 years agoFix some API discrepancies in InputEvent.
Jeff Brown [Mon, 13 Sep 2010 00:17:30 +0000 (17:17 -0700)]
Fix some API discrepancies in InputEvent.

Change-Id: I8e33e125e10075d6f256a1eb3dd46990f35074d6

13 years agoInput dispatcher ANR handling enhancements.
Jeff Brown [Wed, 8 Sep 2010 18:49:43 +0000 (11:49 -0700)]
Input dispatcher ANR handling enhancements.

This change is essentially a rewrite of the main input dispatcher loop
with the target identification folded in.  Since the input dispatcher now
has all of the window state, it can make better decisions about
when to ANR.

Added a .5 second deadline for processing app switch keys.  This behavior
predates Gingerbread but had not previously been ported.

Fixed some timing inaccuracies in the ANR accounting that could cause
applications to ANR sooner than they should have.

Added a mechanism for tracking key and motion events that have been
dispatched to a window so that appropriate cancelation events can be
synthesized when recovering from ANR.  This change helps to keep
applications in sync so they don't end up with stuck buttons upon
recovery from ANRs.

Added more comments to describe the tricky parts of PollLoop.

Change-Id: I13dffca27acb436fc383980db536abc4d8b9e6f1

13 years agoAdd faster TextUtil function for searching delimited lists.
Brad Fitzpatrick [Fri, 10 Sep 2010 23:07:52 +0000 (16:07 -0700)]
Add faster TextUtil function for searching delimited lists.

The previous version in Settings allocated memory.

Change-Id: I0f821112dc8f830689489f201ce268195f9e6cbd

13 years agoMerge "Allow two finger pan and scale on touchscreens with FEATURE_TOUCHSCREEN_MULTIT...
Adam Powell [Sun, 12 Sep 2010 17:25:55 +0000 (10:25 -0700)]
Merge "Allow two finger pan and scale on touchscreens with FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT." into gingerbread

13 years agoMove native library removal function to helper
Kenny Root [Sun, 12 Sep 2010 16:04:56 +0000 (09:04 -0700)]
Move native library removal function to helper

Moves the remoteNativeLibrariesLI call to NativeLibraryHelper to prepare
for being able to symlink the /data/data/<package>/lib dir to the ASEC
container.

Change-Id: Ie3648509c6b6293a8d9bdd815610ab408df5047f

13 years agoInitialize native library path in PackageSetting
Kenny Root [Sun, 12 Sep 2010 15:34:19 +0000 (08:34 -0700)]
Initialize native library path in PackageSetting

During boot-up we weren't paying attention to the nativeLibraryPath that
was read from the package settings XML file which reset the path to the
default /data/data/<package>/lib directory.

This adds nativeLibraryPath as an argument to the PackageSettings
constructor and related functions that will pull that value in from the
settings file.

It also removes the call to nativeLibraryDir.mkdir() which installd does
by itself.

Change-Id: I53db73c3b1bc90997a4a73f7f2fbaee125e6f67e

13 years agoMerge "Register ServiceStateChanged to CallManager." into gingerbread
Jaikumar Ganesh [Fri, 10 Sep 2010 22:54:19 +0000 (15:54 -0700)]
Merge "Register ServiceStateChanged to CallManager." into gingerbread

13 years agoRegister ServiceStateChanged to CallManager.
John Wang [Fri, 10 Sep 2010 22:07:06 +0000 (15:07 -0700)]
Register ServiceStateChanged to CallManager.

Change-Id: I216bac222e1bfd93ad36c0aeafa85c232dd60abe

13 years agoMerge "Changed menu and expandedMenu background color to dark." into gingerbread
Gilles Debunne [Fri, 10 Sep 2010 21:16:29 +0000 (14:16 -0700)]
Merge "Changed menu and expandedMenu background color to dark." into gingerbread

13 years agoMerge "Enable strictmode logging in system_server & add a lock." into gingerbread
Brad Fitzpatrick [Fri, 10 Sep 2010 21:05:57 +0000 (14:05 -0700)]
Merge "Enable strictmode logging in system_server & add a lock." into gingerbread

13 years agoMerge "Delete AWT from frameworks/base." into gingerbread
Jesse Wilson [Fri, 10 Sep 2010 21:04:01 +0000 (14:04 -0700)]
Merge "Delete AWT from frameworks/base." into gingerbread

13 years agoThis was already deprecated, but not picked up by the tool DO NOT MERGE
Joe Onorato [Fri, 10 Sep 2010 20:58:33 +0000 (16:58 -0400)]
This was already deprecated, but not picked up by the tool DO NOT MERGE

Change-Id: I4740a37039d0817a7f433f169ac2afc074101533

13 years agoChanged menu and expandedMenu background color to dark.
Gilles Debunne [Fri, 10 Sep 2010 20:33:01 +0000 (13:33 -0700)]
Changed menu and expandedMenu background color to dark.

Change-Id: I662e635c49a4a80295a2f11ccd9406301ffd831d

13 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Fri, 10 Sep 2010 20:18:37 +0000 (13:18 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 10 Sep 2010 20:04:39 +0000 (13:04 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Ia93fc0d7ab89ff0ccf09f183ae0c9366ce72f9d0

13 years agoMerge "Make @deprecated without a comment an error DO NOT MERGE" into gingerbread
Joe Onorato [Fri, 10 Sep 2010 19:45:18 +0000 (12:45 -0700)]
Merge "Make @deprecated without a comment an error DO NOT MERGE" into gingerbread

13 years agoMerge "Fix the last remaining @deprecated tag without comment warning." into gingerbread
Joe Onorato [Fri, 10 Sep 2010 19:44:36 +0000 (12:44 -0700)]
Merge "Fix the last remaining @deprecated tag without comment warning." into gingerbread

13 years agoam 51c18989: docs: update platform dashboard
Scott Main [Fri, 10 Sep 2010 19:34:06 +0000 (12:34 -0700)]
am 51c18989: docs: update platform dashboard

Merge commit '51c18989cf44d14a7ff82c45d9886b7ea55bd068' into gingerbread

* commit '51c18989cf44d14a7ff82c45d9886b7ea55bd068':
  docs: update platform dashboard

13 years agoMake @deprecated without a comment an error DO NOT MERGE
Joe Onorato [Fri, 10 Sep 2010 19:02:06 +0000 (15:02 -0400)]
Make @deprecated without a comment an error DO NOT MERGE

(do not merge because in master, this error has a different code 114 instead of 14)

Change-Id: Iffc58423a8e972f3f59edfe6668beac4b65182e0

13 years agoFix the last remaining @deprecated tag without comment warning.
Joe Onorato [Fri, 10 Sep 2010 19:01:35 +0000 (15:01 -0400)]
Fix the last remaining @deprecated tag without comment warning.

Change-Id: Id4c50dee743fa781ca3f470f97ed76d1501f7222

13 years agodocs: update platform dashboard
Scott Main [Fri, 10 Sep 2010 15:47:41 +0000 (08:47 -0700)]
docs: update platform dashboard

Change-Id: Id4acf3ca425b278e534f83511fb10dfdbdceb03b

13 years agoMerge "Fix bug 2972138 Lost cell data connection and didn't get it back, DO NOT MERGE...
Wink Saville [Fri, 10 Sep 2010 18:30:15 +0000 (11:30 -0700)]
Merge "Fix bug 2972138 Lost cell data connection and didn't get it back, DO NOT MERGE." into gingerbread

13 years agoMerge "Fixed a copy and paste error" into gingerbread
James Dong [Fri, 10 Sep 2010 18:21:42 +0000 (11:21 -0700)]
Merge "Fixed a copy and paste error" into gingerbread

13 years agoFix bug 2972138 Lost cell data connection and didn't get it back, DO NOT MERGE.
Wink Saville [Fri, 10 Sep 2010 17:50:31 +0000 (10:50 -0700)]
Fix bug 2972138 Lost cell data connection and didn't get it back, DO NOT MERGE.

The problem was ConnectvityService was not notified if a permanent error
occurs on the default apn.

bug: 2972138
Change-Id: I7be17061695ae2ba3571d70f24dcc4fe96d9ede9

13 years agoMerge "LVM release 1.09 delivery" into gingerbread
Eric Laurent [Fri, 10 Sep 2010 17:24:02 +0000 (10:24 -0700)]
Merge "LVM release 1.09 delivery" into gingerbread

13 years agoMerge "add ART for inet connection condition" into gingerbread
Robert Greenwalt [Fri, 10 Sep 2010 16:58:05 +0000 (09:58 -0700)]
Merge "add ART for inet connection condition" into gingerbread

13 years agoadd ART for inet connection condition
Robert Greenwalt [Fri, 10 Sep 2010 16:36:43 +0000 (09:36 -0700)]
add ART for inet connection condition

bug:2978624
Change-Id: I608c3d1657a4b75c42f95147ffd5e95927fc108d