summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reduce the outrageous verbosity of CallerInfo.toString().David Brown2010-11-301-22/+35
| | | | | Bug: 3121292 Change-Id: Ia8383891ef29a003acbd627b25ce87a187ef95c0
* fix [3237242] sensormanager sensor active count gets out of syncMathias Agopian2010-11-3010-54/+22
| | | | | | | | | | | | | | | | | | whether a physical sensor needed to be active or not was managed by a simpe reference counter; unfortunatelly nothing prevented it to get out of sync if a sensor was disabled more than once. sensorservice already maintainted a list of all the "clients" connected to a physical sensor; we now use that list to determine if a sensor should be enabled. This can never be "out-of-sync" since this is the only data structure linking a sensor to a user of that sensor. also removed the isEnabled() method, which was never used and implemented wrongly (since it didn't take into account that a sensor could be disabled for a client but not of another). Change-Id: I789affb877728ca957e99f7ba749def37c4db1c7
* Merge "allow rotation-vector to have 4 components" into gingerbreadMathias Agopian2010-11-303-20/+50
|\
| * allow rotation-vector to have 4 componentsMathias Agopian2010-11-303-20/+50
| | | | | | | | | | | | | | | | | | | | | | | | - upadte documentation for rotation vector - update method dealing with rotation vector to deal with 4 components - virtual rotation-vector sensor reports all four components - improve SensorManager documentation layout Whent he 4-th component of the rotation-vector is present, we can save a square-root when computing the quaternion or rotation matrix from it. Change-Id: Ia84d278dd5f0909fab1c5ba050f8df2679e2c7c8
* | Merge "Fix bug 3121292: Contact photo not shown correctly for SIP calls" ↵David Brown2010-11-301-28/+90
|\ \ | | | | | | | | | into gingerbread
| * | Fix bug 3121292: Contact photo not shown correctly for SIP callsDavid Brown2010-10-261-28/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that when we did a contact lookup based on a SIP address, the resulting CallerInfo object did not have the person_id field set correctly. That meant we had no way to look up the photo for that person. This was because of a missing case in the logic to determine which column (in the resulting cursor) to use for the person_id lookup. We were handling lookups fine in the PhoneLookup and Phone tables, but were missing a case for direct lookups in the Data table (which is how we look up SIP addresses.) The fix is to add a case for URIs like "content://com.android.contacts/data" when looking up the person_id. Also, since the person_id lookup is pretty hairy (and includes ~20 lines of comments to explain what it's doing!) refactor it out into a helper method. TESTED: Both SIP and PSTN calls; verified that contact name *and* photo are displayed correctly in all cases. Bug: 3121292 Change-Id: I2b0083cc5394c1a49bbdc9a4e5651854aedb82f7
* | | Merge "DO NOT MERGE Support for "chunked" HTTP transfer encoding." into ↵Andreas Huber2010-11-304-13/+142
|\ \ \ | | | | | | | | | | | | gingerbread
| * | | DO NOT MERGE Support for "chunked" HTTP transfer encoding.Andreas Huber2010-11-304-13/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | DO NOT MERGE Change-Id: I253d48ea69f239a6d3d0bb7e0d31eef5c773a9d6 related-to-bug: 3205131
* | | | Merge "Uses 4-th order low-pass for extracting gravity." into gingerbreadMathias Agopian2010-11-304-2/+33
|\ \ \ \
| * | | | Uses 4-th order low-pass for extracting gravity.Mathias Agopian2010-11-304-2/+33
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Most accelerometers have 8-bits accuracy so we beed to reject 48dB in thestop-band, which requires a 4-th order filter at the cut-off frequency we're using. Change-Id: Ic00421d38d751641f86b1f3ad7663e6b44a91198
* | | | Merge "DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube ↵Andreas Huber2010-11-303-3533/+5067
|\ \ \ \ | |/ / / |/| | | | | | | webm playback." into gingerbread
| * | | DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm ↵Andreas Huber2010-11-303-3533/+5067
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | playback. DO NOT MERGE related-to-bug: 3141937 Change-Id: Iaf1b0c5d45a6b5bb7624a59747041c27b4dde83b
* | | | Merge "don't attempt to normalize the rotation vector" into gingerbreadMathias Agopian2010-11-301-4/+6
|\ \ \ \
| * | | | don't attempt to normalize the rotation vectorMathias Agopian2010-11-221-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indeed, by construction of the rotation matrix, it is guaranteed to have a length of 1. moreover, the normalization code was missing a square-root, fortunatelly, since the length is 1, this didn't cause any damage (since sqrt(1) = 1). Change-Id: I9facd668caaf5bb3bfccb139ab872f2bb2066365
* | | | | Merge "Doc change: updating ndk download and overview page" into gingerbreadRobert Ly2010-11-302-295/+308
|\ \ \ \ \
| * | | | | Doc change: updating ndk download and overview pageRobert Ly2010-11-302-295/+308
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icbd578958d7a20c19f60827988a8893785b40851
* | | | | | docs: updates to the backup dev guideScott Main2010-11-301-9/+61
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | add sample code for performing restore and fix typos bug: 3180881,3125550,3125563 Change-Id: I27dd19ede8bad03d11b8ddebe516e9dbf4fdbb89
* | | | | Merge "After seeking display the first new video frame right away without ↵Andreas Huber2010-11-301-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | concern for A/V sync. This looks much more responsive to the user." into gingerbread
| * | | | | After seeking display the first new video frame right away without concern ↵Andreas Huber2010-11-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for A/V sync. This looks much more responsive to the user. Change-Id: Ifb1f8c91e95a5cafe30ae1035973316c210b98a5 related-to-bug: 3152363
* | | | | | Merge "Update java doc for visualizer FFT capture." into gingerbreadEric Laurent2010-11-301-8/+38
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Update java doc for visualizer FFT capture.Eric Laurent2010-10-281-8/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The java doc for visualizer FFT capture was not describing correctly the layout of the data returned by getFft() method. Change-Id: Idec09538490ea73b211db253b1b8b733ca4d4a72
* | | | | | Merge "DO NOT MERGE - Instead of asserting that ISurface successfully ↵Andreas Huber2010-11-305-57/+120
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | registered buffers, report an error and propagate it up to the java client." into gingerbread
| * | | | | | DO NOT MERGE - Instead of asserting that ISurface successfully registered ↵Andreas Huber2010-11-305-57/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffers, report an error and propagate it up to the java client. Change-Id: Ibb14e5aff20920da4917d85de38ba3a8ee71d0bd related-to-bug: 3188835
* | | | | | | Merge "Do not merge: Doc change: API diff report for gingerbread." into ↵Dirk Dougherty2010-11-30246-0/+59146
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gingerbread
| * | | | | | | Do not merge: Doc change: API diff report for gingerbread.Dirk Dougherty2010-11-30246-0/+59146
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: I14e59a2281fac9a437ebf52df4c846e7a1e9cc4a
* | | | | | | Do not merge: Doc change: highlights and SDK version notes for Android 2.3 ↵Dirk Dougherty2010-11-3014-29/+1422
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | platform. Change-Id: I08a2f67d324484ed05b956c540facd69f9028563
* | | | | | Merge "Import revised translations. DO NOT MERGE" into gingerbreadEric Fischer2010-11-301-1/+1
|\ \ \ \ \ \
| * | | | | | Import revised translations. DO NOT MERGEEric Fischer2010-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I627dac0019241260b99a049091dca67dae996246
* | | | | | | Merge "Fix GSM permanent failure handling, DO NOT MERGE." into gingerbreadWink Saville2010-11-301-12/+18
|\ \ \ \ \ \ \
| * | | | | | | Fix GSM permanent failure handling, DO NOT MERGE.Wink Saville2010-11-171-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wait until all APN's have been tried before checking for permanent errors and then, don't do retires only if all of the APN's had permanent errors. Also, don't disable the requested apn type because if we do we won't be able to setup data because there won't be an apn type. This was tested by creating a new non existent APN, I chose: Name="badapn1" APN="badapn1" Server="noapn.com" Then selecting "badapn1" will cause a permanent error. bug: 3202729 Change-Id: I182c7197456c849176ce08d7d1459359f8c3b30e
* | | | | | | | Merge "Hide plugin views when we start playing HTML5 video" into gingerbreadBen Murdoch2010-11-302-0/+15
|\ \ \ \ \ \ \ \
| * | | | | | | | Hide plugin views when we start playing HTML5 videoBen Murdoch2010-11-112-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plugins like Flash draw directly to the screen on top of all other views - including the fullscreen HTML5 video view. This means that if you start an HTML5 video on a page also serving a flash clip then flash will obscure the video. This patch hides plugin views before start the video and shows them again when the VideoView is destroyed. Bug: 3183521 Change-Id: I9839c47e9d64b081651b952057e9283630362b29
* | | | | | | | | Merge "Correct SipService.isOpened() implementation." into gingerbreadHung-ying Tyan2010-11-301-12/+12
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Correct SipService.isOpened() implementation.Hung-ying Tyan2010-11-021-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it return true for all existing accounts. Rename mOpened to mOpenedToReceiveCalls to make it less confusing. Bug: 3155849 Change-Id: I327f411bf76afd73434ad1fa2ffef3db1e35d778
* | | | | | | | | | Merge "Notify SipSessions before closing SIP stack." into gingerbreadHung-ying Tyan2010-11-301-0/+1
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Notify SipSessions before closing SIP stack.Hung-ying Tyan2010-10-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3116480 Change-Id: I748d63382ade250aed27ccb09ea68c76a433fd27
* | | | | | | | | | | Merge "Throw proper exceptions in SipManager" into gingerbreadHung-ying Tyan2010-11-302-9/+12
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Throw proper exceptions in SipManagerHung-ying Tyan2010-11-032-9/+12
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of silently returning null and causing NPE in applications as returning null is not documented in the javadoc. Add connection to the connection list in SipCall after dial() succeeds so that we don't need to clean up if it fails. The original code will cause the failed connection to continue to live in the SipCall and in next dial() attempt, a new connection is created and the in-call screen sees two connections in the call and thus shows conference call UI. Bug: 3157234, 3157387 Change-Id: Iabc3235f781c4f1e09384a67ad56b09ad2c12e5e
* | | | | | | | | | | Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." ↵Chia-chi Yeh2010-11-291-4/+4
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gingerbread
| * | | | | | | | | | | Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.Chia-chi Yeh2010-11-011-4/+4
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie6d77b0f61a37333e05cdcdb6ef29d6f6c345a9d
* | | | | | | | | | | Merge "DO NOT MERGE fix runstate race condition" into gingerbreadIrfan Sheriff2010-11-291-2/+3
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | DO NOT MERGE fix runstate race conditionIrfan Sheriff2010-10-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3107829 Change-Id: I94312ad10975af24660455c3aace97634f06f3e1
* | | | | | | | | | | | Merge "RTP: Pause echo suppressor when far-end volume is low." into gingerbreadChia-chi Yeh2010-11-291-8/+13
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | RTP: Pause echo suppressor when far-end volume is low.Chia-chi Yeh2010-10-271-8/+13
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3136725 Change-Id: Ieeedd2836d3028045aacac963f44285491708cc3
* | | | | | | | | | | | Doc change: add AccelerometerPlay to the generated samples.Dirk Dougherty2010-11-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I95764f216455bbceef7fa95a1a819b906e4e7e7c
* | | | | | | | | | | | Remove HeavyWeight sample from generated html samples.Dirk Dougherty2010-11-291-2/+0
| |_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idafb3d225d8e6a694faa2d8679c4dad6198df466
* | | | | | | | | | | Merge "Revert "Disabling AccessibilityService sample from build system."" ↵Trevor Johns2010-11-241-0/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gingerbread
| * | | | | | | | | | | Revert "Disabling AccessibilityService sample from build system."Trevor Johns2010-11-241-0/+2
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This re-enables the AccessibilityService sample. This reverts commit ca9d51b15074163521b140dce431cc3a10cb56fe.
* | | | | | | | | | | Merge "Add Wi-Fi tests for static IP. DO NOT MERGE" into gingerbreadXia Wang2010-11-244-21/+197
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Add Wi-Fi tests for static IP. DO NOT MERGEXia Wang2010-11-224-21/+197
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add support in parser to parse static IP settings - Add test for static IP configuration Change-Id: I37e11ceb0f34c87113d8281b4de09893506c29e7