OSDN Git Service

android-x86/frameworks-base.git
13 years agofix [2931909] SensorManger breaks when using different SensorEventListener w/ the...
Mathias Agopian [Tue, 14 Sep 2010 23:44:59 +0000 (16:44 -0700)]
fix [2931909] SensorManger breaks when using different SensorEventListener w/ the same sensors

- Sensor handle can now be arbitrary instead of being limited to 0-31
- make sure to disable sensors only when no listener uses them anymore

Change-Id: If656c8c24d9827a7db1de3b3aa89961abb7def0c

13 years agoMerge "Fix app switch latency optimization." into gingerbread
Jeff Brown [Fri, 17 Sep 2010 00:12:24 +0000 (17:12 -0700)]
Merge "Fix app switch latency optimization." into gingerbread

13 years agoKill off the remaining GC-specific system properties.
Carl Shapiro [Thu, 16 Sep 2010 23:26:52 +0000 (16:26 -0700)]
Kill off the remaining GC-specific system properties.

Change-Id: Ib09ef132c6fb99b9eb22ecfd75a910c9c0f01e25

13 years agoFix app switch latency optimization.
Jeff Brown [Thu, 16 Sep 2010 21:07:33 +0000 (14:07 -0700)]
Fix app switch latency optimization.

This optimization was broken due to recent changes in how ANRs are handled.

Change-Id: Ic99248a12755fadac8d4893e7d305b773e038d3d

13 years agoMerge "Make sure the .wav extractor does not read data outside the bounds of the...
Andreas Huber [Thu, 16 Sep 2010 22:20:33 +0000 (15:20 -0700)]
Merge "Make sure the .wav extractor does not read data outside the bounds of the 'data' box." into gingerbread

13 years agoMerge "Make sure stagefright -o terminates even if we're using a raw audio source...
Andreas Huber [Thu, 16 Sep 2010 22:20:21 +0000 (15:20 -0700)]
Merge "Make sure stagefright -o terminates even if we're using a raw audio source (such as .wav pcm)" into gingerbread

13 years agoMake sure stagefright -o terminates even if we're using a raw audio source (such...
Andreas Huber [Thu, 16 Sep 2010 21:55:48 +0000 (14:55 -0700)]
Make sure stagefright -o terminates even if we're using a raw audio source (such as .wav pcm)

Change-Id: Iec809df89e6b75706cf5b1ce21006c2e217e018f

13 years agoMake sure the .wav extractor does not read data outside the bounds of the 'data'...
Andreas Huber [Thu, 16 Sep 2010 21:54:10 +0000 (14:54 -0700)]
Make sure the .wav extractor does not read data outside the bounds of the 'data' box.

Change-Id: Icf18f9224d97e6a78328dd429ebc3a3433e5cecd
related-to-bug: 3007790

13 years agoRemove fields no longer in API.
Jeff Brown [Thu, 16 Sep 2010 21:38:20 +0000 (14:38 -0700)]
Remove fields no longer in API.

Change-Id: I4a5f932fefe045678a539874d11705a1a726bd94

13 years agoMerge "Support new URI structure for download provider." into gingerbread
Steve Howard [Thu, 16 Sep 2010 20:42:34 +0000 (13:42 -0700)]
Merge "Support new URI structure for download provider." into gingerbread

13 years agoMerge "Input API review." into gingerbread
Jeff Brown [Thu, 16 Sep 2010 19:57:56 +0000 (12:57 -0700)]
Merge "Input API review." into gingerbread

13 years agoMerge "Fix input dispatcher regression on launcher drag&drop." into gingerbread
Jeff Brown [Thu, 16 Sep 2010 19:38:31 +0000 (12:38 -0700)]
Merge "Fix input dispatcher regression on launcher drag&drop." into gingerbread

13 years agoFix input dispatcher regression on launcher drag&drop.
Jeff Brown [Thu, 16 Sep 2010 19:31:46 +0000 (12:31 -0700)]
Fix input dispatcher regression on launcher drag&drop.

Change-Id: I40e937bd712cd2ed6cceac95dfd1b8c8e070724f

13 years agoMerge "DO NOT MERGE - Doclava warnings are now errors." into gingerbread
Joe Onorato [Thu, 16 Sep 2010 18:45:34 +0000 (11:45 -0700)]
Merge "DO NOT MERGE - Doclava warnings are now errors." into gingerbread

13 years agoMerge "Fixed a bug in the query to the supported profiles and levels" into gingerbread
James Dong [Thu, 16 Sep 2010 18:45:01 +0000 (11:45 -0700)]
Merge "Fixed a bug in the query to the supported profiles and levels" into gingerbread

13 years agoFixed a bug in the query to the supported profiles and levels
James Dong [Thu, 16 Sep 2010 04:07:52 +0000 (21:07 -0700)]
Fixed a bug in the query to the supported profiles and levels

According to OMX spec, the levels returned is the max level settings.
In fact, we could not enum all the levels.

Change-Id: Ib1cba74100512800a5761c7567894c7ea5b5a452

13 years agoMerge "Sometimes the avc software decoder will signal that a frame is ready but then...
Andreas Huber [Thu, 16 Sep 2010 18:32:25 +0000 (11:32 -0700)]
Merge "Sometimes the avc software decoder will signal that a frame is ready but then unexpectedly fail to return the frame... stop asserting on that and return an error instead." into gingerbread

13 years agoDO NOT MERGE - Doclava warnings are now errors.
Joe Onorato [Thu, 16 Sep 2010 17:49:46 +0000 (13:49 -0400)]
DO NOT MERGE - Doclava warnings are now errors.

Change-Id: I688d8f66829d8526d76c321427dd701fbe8d1792

13 years agoMerge "This was marked @Deprecated in the docs, but it was misspelled." into gingerbread
Joe Onorato [Thu, 16 Sep 2010 18:26:30 +0000 (11:26 -0700)]
Merge "This was marked @Deprecated in the docs, but it was misspelled." into gingerbread

13 years agoThis was marked @Deprecated in the docs, but it was misspelled.
Joe Onorato [Thu, 16 Sep 2010 18:19:54 +0000 (14:19 -0400)]
This was marked @Deprecated in the docs, but it was misspelled.

Change-Id: Ic8bd8f53b205da46510ddc7f2ffaec16758a4639

13 years agoMerge "Doc change: clean up droiddoc (cs) macros." into gingerbread
Dirk Dougherty [Thu, 16 Sep 2010 18:16:29 +0000 (11:16 -0700)]
Merge "Doc change: clean up droiddoc (cs) macros." into gingerbread

13 years agoDoc change: clean up droiddoc (cs) macros.
Dirk Dougherty [Wed, 15 Sep 2010 01:15:08 +0000 (18:15 -0700)]
Doc change: clean up droiddoc (cs) macros.

Change-Id: I84b08a573fea42686a41ff694f1a52e8fb760dc5

13 years agoMerge "Fix NPE when handling certain kinds of ANRs." into gingerbread
Jeff Brown [Thu, 16 Sep 2010 18:06:29 +0000 (11:06 -0700)]
Merge "Fix NPE when handling certain kinds of ANRs." into gingerbread

13 years agoFix NPE when handling certain kinds of ANRs.
Jeff Brown [Thu, 16 Sep 2010 18:02:16 +0000 (11:02 -0700)]
Fix NPE when handling certain kinds of ANRs.

Change-Id: Iccef1852e52c84f6f49d30c491431460a10b33d3

13 years agoMerge "Fix the rest of the javadoc warnings." into gingerbread
Joe Onorato [Thu, 16 Sep 2010 17:39:46 +0000 (10:39 -0700)]
Merge "Fix the rest of the javadoc warnings." into gingerbread

13 years agoFix the rest of the javadoc warnings.
Joe Onorato [Thu, 16 Sep 2010 17:38:25 +0000 (13:38 -0400)]
Fix the rest of the javadoc warnings.

Change-Id: Ifbf422a2eb177858813d118f03ceddcd807e73b4

13 years agoSometimes the avc software decoder will signal that a frame is ready but then unexpec...
Andreas Huber [Thu, 16 Sep 2010 17:25:34 +0000 (10:25 -0700)]
Sometimes the avc software decoder will signal that a frame is ready but then unexpectedly fail to return the frame... stop asserting on that and return an error instead.

Change-Id: I6c0782b51b57e9be0fd410bd34078dc3c2b088d6
related-to-bug: 3005156

13 years agoA ThreadedSource wraps around an existing MediaSource and reads output buffers on...
Andreas Huber [Wed, 15 Sep 2010 23:20:42 +0000 (16:20 -0700)]
A ThreadedSource wraps around an existing MediaSource and reads output buffers on a separate thread. It's now used for the vpx decoder to decode frames ahead of time to improve playback performance.

Change-Id: I57a798b00adeb2c8056e85aab29a2b57aef00b63

13 years agoMerge "DO NOT MERGE. Use the new -knowntags option to suppress warnings for some...
Joe Onorato [Thu, 16 Sep 2010 16:04:43 +0000 (09:04 -0700)]
Merge "DO NOT MERGE. Use the new -knowntags option to suppress warnings for some known tags." into gingerbread

13 years agoMerge "Fix problem in lvm effect bundle wrapper" into gingerbread
Eric Laurent [Thu, 16 Sep 2010 16:04:37 +0000 (09:04 -0700)]
Merge "Fix problem in lvm effect bundle wrapper" into gingerbread

13 years agoDO NOT MERGE. Use the new -knowntags option to suppress warnings for some known tags.
Joe Onorato [Thu, 16 Sep 2010 15:56:03 +0000 (11:56 -0400)]
DO NOT MERGE. Use the new -knowntags option to suppress warnings for some known tags.

Change-Id: I4a04d9b182f2e644eb8d1966c33a0d280bf203e6

13 years agoMerge "These are not javadoc tags, they are annotations in sample code. Escape them...
Joe Onorato [Thu, 16 Sep 2010 16:02:35 +0000 (09:02 -0700)]
Merge "These are not javadoc tags, they are annotations in sample code. Escape them properly." into gingerbread

13 years agoFix problem in lvm effect bundle wrapper
Eric Laurent [Thu, 16 Sep 2010 01:29:49 +0000 (18:29 -0700)]
Fix problem in lvm effect bundle wrapper

When an effect was deleted while enabled, the count of enabled effects
in the bundle was not decremented. Resulted a state where if another effect
was still enabled, its process function was called only every other time.

Change-Id: I59a0c5b7f50f416a9ecadae297b42912e56ddd51

13 years agoThese are not javadoc tags, they are annotations in sample code. Escape them properly.
Joe Onorato [Thu, 16 Sep 2010 15:55:35 +0000 (11:55 -0400)]
These are not javadoc tags, they are annotations in sample code. Escape them properly.

Change-Id: Ic3b9f2738a1f8ae8aa6a2a278f1d4ba3a7727b51

13 years agoSipService: add log control, suppress ping log.
Hung-ying Tyan [Wed, 15 Sep 2010 21:45:19 +0000 (05:45 +0800)]
SipService: add log control, suppress ping log.

Change-Id: I78332ddee1272be41b1fbc80c603e41200c6be1a

13 years agoAdd a new phone state ANSWERING.
Chung-yih Wang [Thu, 16 Sep 2010 11:00:01 +0000 (19:00 +0800)]
Add a new phone state ANSWERING.

The state ANSWERING is set when we answer an incoming sip call, i.e.
sending a 'OK' response to the peer. The state will be set to ACTIVE
once the 'ACK' from peer is received.

Change-Id: I84ee3cc68222eb34e032896ce23f7431d4ad774a

13 years agoFix the unhandled authentication message.
Chung-yih Wang [Thu, 16 Sep 2010 04:32:26 +0000 (12:32 +0800)]
Fix the unhandled authentication message.

bug id: http://b/2991911

Change-Id: Iec86e3aee0fb12034ee25bc0e93fd575c1208a5f

13 years agoMerge "Adding new assets for designers" into gingerbread
Chet Haase [Thu, 16 Sep 2010 04:14:09 +0000 (21:14 -0700)]
Merge "Adding new assets for designers" into gingerbread

13 years agoAdding new assets for designers
Chet Haase [Thu, 16 Sep 2010 01:25:17 +0000 (18:25 -0700)]
Adding new assets for designers

Change-Id: I2ea13f0b376c6271f88baaaa2b150101fb79cff0

13 years agoMerge "Make input dispatcher only ANR for foreground windows." into gingerbread
Jeff Brown [Thu, 16 Sep 2010 01:55:25 +0000 (18:55 -0700)]
Merge "Make input dispatcher only ANR for foreground windows." into gingerbread

13 years agoMake input dispatcher only ANR for foreground windows.
Jeff Brown [Wed, 15 Sep 2010 22:18:56 +0000 (15:18 -0700)]
Make input dispatcher only ANR for foreground windows.

Redesigned the input dispatcher's ANR timeout mechanism so it is much
closer to Froyo's policy.  ANR is only ever signalled if the dispatcher
is waiting on a window to finish processing its previous event(s) and
there is new pending input.

In the old code, we tracked the dispatch timeout separately for each
input channel.  This was somewhat complicated and also resulted in the
situation where applications could ANR long after the user had pushed
them into the background.

Change-Id: I666ecada0952d4b95f1d67b9f733842b745c7f4b

13 years agoContactsContract: update SipAddress to be multi-valued
David Brown [Wed, 15 Sep 2010 20:34:13 +0000 (13:34 -0700)]
ContactsContract: update SipAddress to be multi-valued

This is step (1) of the device-side changes to deal with SIP addresses
becoming first-class objects in focus.

It'll be multi-valued in focus, so make it multi-valued on the device
(just like Phone, Email, Im, etc.)

Possible types are CUSTOM, HOME, WORK, and OTHER.

Also while I was in there, fixed the typo in "TYPE_MAINDEN_NAME" in the
Nickname class.  (I can't remove it, since it's public API, so I added a
new constant with the correct spelling and deprecated the misspelled
one.)

Bug: 3004838

TESTED: on passion:

  - Flashed this change onto a device that already had a contact with a
    SipAddress, verified that it still shows up fine in the UI.

  - Wiped data, rerean SetupWizard and logged in, made sure that SIP
    addresses got synced down properly.

  - Edited SIP address on the device, made sure it got correctly synced
    up to the SIP user-defined field.

Change-Id: I6ecf551b64f87de03a7807e6212297d91f9e3981

13 years agoMerge "Update Inet Connection Status display" into gingerbread
Robert Greenwalt [Thu, 16 Sep 2010 00:59:54 +0000 (17:59 -0700)]
Merge "Update Inet Connection Status display" into gingerbread

13 years agoUpdate Inet Connection Status display
Robert Greenwalt [Thu, 16 Sep 2010 00:36:33 +0000 (17:36 -0700)]
Update Inet Connection Status display

Cellular signal strength should also be green - these assets aren't, but
the art guys are working on that.

Also using a new intent so we don't overload the CONNECTIVITY_ACTION and
confuse the apps.
bug:2994024

Change-Id: I6fe8f65dd6e9869d9724064c4fae45340491a4d8

13 years agoClarify the danger of READ_LOGS and DUMP permissions.
Chris Palmer [Wed, 15 Sep 2010 17:45:31 +0000 (10:45 -0700)]
Clarify the danger of READ_LOGS and DUMP permissions.

The logs inevitably contain PII, so now we are making that clear in user
strings and developer docs. Moving DUMP and READ_LOGS into the PERSONAL_INFO
group.

Note that this means we need string translations.

Change-Id: I1b5bf9d2d827ab1a31dedbdb30d0906a87c26a32

13 years agoMerge "Upgrade to the latest .webm project code." into gingerbread
Andreas Huber [Wed, 15 Sep 2010 23:23:06 +0000 (16:23 -0700)]
Merge "Upgrade to the latest .webm project code." into gingerbread

13 years agoFix the runtime restart due to name change.
Wu-cheng Li [Wed, 15 Sep 2010 23:06:20 +0000 (16:06 -0700)]
Fix the runtime restart due to name change.

bug:3001395
bug:3001399
Change-Id: I73fd1a63fea0807531b01ae2a754b32efffd41b1

13 years agoMerge "b/3004029 Fixed content resolver loss" into gingerbread
Erik [Wed, 15 Sep 2010 22:51:53 +0000 (15:51 -0700)]
Merge "b/3004029 Fixed content resolver loss" into gingerbread

13 years agoMerge "Close tz query cursor when done." into gingerbread
Erik [Wed, 15 Sep 2010 22:51:37 +0000 (15:51 -0700)]
Merge "Close tz query cursor when done." into gingerbread

13 years agob/3004029 Fixed content resolver loss
Erik [Wed, 15 Sep 2010 22:45:19 +0000 (15:45 -0700)]
b/3004029 Fixed content resolver loss

We were creating a static AsyncQueryHandler which only held a
weak reference to the content resolver. This caused db updates
to be dropped once the original context had been gc'd. This
fix creates a new handler for each update to ensure we have a
valid resolver.

Change-Id: I049d8390ac0215e12e63d57b0bae4d3f6df64b6a

13 years agoMerge "Add new/changed drawable assets from design team" into gingerbread
Chet Haase [Wed, 15 Sep 2010 22:33:31 +0000 (15:33 -0700)]
Merge "Add new/changed drawable assets from design team" into gingerbread

13 years agoAdd new/changed drawable assets from design team
Chet Haase [Wed, 15 Sep 2010 22:09:40 +0000 (15:09 -0700)]
Add new/changed drawable assets from design team

Change-Id: I8b2274357e41093e120bee42272026446e94872d

13 years agoUpgrade to the latest .webm project code.
Andreas Huber [Wed, 15 Sep 2010 22:13:16 +0000 (15:13 -0700)]
Upgrade to the latest .webm project code.

Change-Id: I645eff9b7c10bf33144977e6093663407af402e2

13 years agoMerge "Update camera API and javadoc for API review comments." into gingerbread
Wu-cheng Li [Wed, 15 Sep 2010 21:57:59 +0000 (14:57 -0700)]
Merge "Update camera API and javadoc for API review comments." into gingerbread

13 years agoMerge "Add some explicit error log messages" into gingerbread
James Dong [Wed, 15 Sep 2010 21:51:57 +0000 (14:51 -0700)]
Merge "Add some explicit error log messages" into gingerbread

13 years agoMerge "Fix audio input sample timestamp when audio driver loses audio samples" into...
James Dong [Wed, 15 Sep 2010 21:51:49 +0000 (14:51 -0700)]
Merge "Fix audio input sample timestamp when audio driver loses audio samples" into gingerbread

13 years agoUpdate camera API and javadoc for API review comments.
Wu-cheng Li [Wed, 15 Sep 2010 21:08:15 +0000 (14:08 -0700)]
Update camera API and javadoc for API review comments.

bug:3001395
bug:3001399
Change-Id: I7030c4eff94ab11f44b862e8c206fb69a4e5c428

13 years agoClose tz query cursor when done.
Erik [Wed, 15 Sep 2010 20:37:19 +0000 (13:37 -0700)]
Close tz query cursor when done.

Change-Id: I9cb30539b12121f01e093985985e3c802f7a9e8c

13 years agoMerge "Fixing the NPE in SipPhone bug id: http://b/2987816" into gingerbread
Hung-ying Tyan [Wed, 15 Sep 2010 20:02:46 +0000 (13:02 -0700)]
Merge "Fixing the NPE in SipPhone bug id: b/2987816" into gingerbread

13 years agoMerge "Fix links in SIP API javadoc." into gingerbread
Hung-ying Tyan [Wed, 15 Sep 2010 19:56:36 +0000 (12:56 -0700)]
Merge "Fix links in SIP API javadoc." into gingerbread

13 years agoFix links in SIP API javadoc.
Hung-ying Tyan [Tue, 14 Sep 2010 12:43:54 +0000 (20:43 +0800)]
Fix links in SIP API javadoc.

Change-Id: I839280fe18502bb576f6e9c9a7948077c02fa570

13 years agofix a typo where the eventtags code were wrong
Mathias Agopian [Wed, 15 Sep 2010 19:46:59 +0000 (12:46 -0700)]
fix a typo where the eventtags code were wrong

Change-Id: I517112a1475c10b71009a0aa9c3894c76a1f270f

13 years agoSupport new URI structure for download provider.
Steve Howard [Mon, 13 Sep 2010 01:49:08 +0000 (18:49 -0700)]
Support new URI structure for download provider.

I'm changing the URI structure for the download provider a bit.  The
download provider will now support two views into its data:

* content://downloads/my_downloads... will basically be the current
  view, which is limited to downloads owned by the calling UID
* content://downloads/all_downloads... will include all downloads in
  the system, but will require special permission

In addition to making things more clear, this change will allow for
granting URI permissions to individual downloads via the
/all_downloads/... URI.

This change includes the framework changes necessary to support the
new structure.  The bulk of the work will be in the DownloadProvider
code itself.

In addition, this change makes DownloadManager return a content URI
rather than a file URI for /cache downloads.  This avoids any
confusion in clients, which wouldn't be able to open the file
directly, and better supports granting permissions to viewers.

Change-Id: Ie548b927817ac774111990dd0c9d26aaf979d1ea

13 years agoMerge "Various fixes to improve resilience of the rtsp stack against spurious errors...
Andreas Huber [Wed, 15 Sep 2010 18:25:40 +0000 (11:25 -0700)]
Merge "Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting." into gingerbread

13 years agoVarious fixes to improve resilience of the rtsp stack against spurious errors instead...
Andreas Huber [Wed, 15 Sep 2010 18:18:13 +0000 (11:18 -0700)]
Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting.

Change-Id: Idbec5996ed0675c70e911b9c0514961fea099fb4

13 years agoMerge "Mark MODIFY_PHONE_STATE permission as signatureOrSystem" into gingerbread
David Brown [Wed, 15 Sep 2010 18:11:18 +0000 (11:11 -0700)]
Merge "Mark MODIFY_PHONE_STATE permission as signatureOrSystem" into gingerbread

13 years agoFixing the NPE in SipPhone
Chung-yih Wang [Wed, 15 Sep 2010 08:03:24 +0000 (16:03 +0800)]
Fixing the NPE in SipPhone
bug id: http://b/2987816

Change-Id: Iee252eee0a5243b70ff0b6f287279f92235b5b2d

13 years agoMerge "SIP: add PEER_NOT_REACHABLE error feedback." into gingerbread
Hung-ying Tyan [Wed, 15 Sep 2010 06:10:03 +0000 (23:10 -0700)]
Merge "SIP: add PEER_NOT_REACHABLE error feedback." into gingerbread

13 years agoMerge "SipService: send SERVER_ERROR if server doesn't provide nonce" into gingerbread
Hung-ying Tyan [Wed, 15 Sep 2010 06:09:26 +0000 (23:09 -0700)]
Merge "SipService: send SERVER_ERROR if server doesn't provide nonce" into gingerbread

13 years agoInput API review.
Jeff Brown [Wed, 15 Sep 2010 01:03:38 +0000 (18:03 -0700)]
Input API review.

Drop currently unsupported input features.
Add documentation comments.

Change-Id: I407d2e1dd90c5ee82983a3ccf177430d35ee7592

13 years agoSIP: add PEER_NOT_REACHABLE error feedback.
Hung-ying Tyan [Wed, 15 Sep 2010 03:23:22 +0000 (11:23 +0800)]
SIP: add PEER_NOT_REACHABLE error feedback.

http://b/issue?id=3002033

Change-Id: Ib64b08919d214acbab89945ac19dc113a68e62ad

13 years agoMerge "Free AssetManager weak refs before unmounting" into gingerbread
Kenny Root [Wed, 15 Sep 2010 01:02:39 +0000 (18:02 -0700)]
Merge "Free AssetManager weak refs before unmounting" into gingerbread

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 agoMark MODIFY_PHONE_STATE permission as signatureOrSystem
David Brown [Tue, 14 Sep 2010 23:19:31 +0000 (16:19 -0700)]
Mark MODIFY_PHONE_STATE permission as signatureOrSystem

This permission isn't needed right now, since there aren't actually any
public APIs that require it.  (There are a few calls in the ITelephony
interface that do, but they're all hidden.)

Since there's no good reason for 3rd party apps to declare it, let's
mark it signatureOrSystem for now.  We can bring it back -- and probably
split it apart into multiple finer-grained permissions -- once we
finally expose full telephony APIs to 3rd party apps (see bug 1043005).

Bug: 2989096
Change-Id: Idf898d5e12d648a959f622cd815e75597195aa82

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 agoFree AssetManager weak refs before unmounting
Kenny Root [Tue, 14 Sep 2010 21:49:41 +0000 (14:49 -0700)]
Free AssetManager weak refs before unmounting

AssetManagers are kept in WeakReference pools so there's a change
another thread in the system_server has opened a file on the external
card. Attempt to force a garbage collection to free these references
each time we're about to unmount a volume on the external storage.

Change-Id: I6e816e8c67b179887e488dc6758b43bcdd5914fb

13 years agoAdd some explicit error log messages
James Dong [Mon, 13 Sep 2010 23:30:51 +0000 (16:30 -0700)]
Add some explicit error log messages

Change-Id: I8a69157b75a67f0d3c19f05775a8cb0629232299

13 years agoFix audio input sample timestamp when audio driver loses audio samples
James Dong [Tue, 14 Sep 2010 18:48:11 +0000 (11:48 -0700)]
Fix audio input sample timestamp when audio driver loses audio samples

Change-Id: Ic0f1489f710929af50e7714867ae5153b3242dd8

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 agoSipService: send SERVER_ERROR if server doesn't provide nonce
Hung-ying Tyan [Tue, 14 Sep 2010 19:00:19 +0000 (03:00 +0800)]
SipService: send SERVER_ERROR if server doesn't provide nonce

in authentication response.

Change-Id: I93e8c0d6754399ca2f382033085e40fc4c6ccb19

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