Kenny Root
61ef747e0e
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
2010-10-04 15:17:19 -07:00
Mindy Pereira
1da40fbd47
Merge "DO NOT MERGE. Fix logic for switching between overscroll and scroll modes." into gingerbread
2010-10-04 10:10:06 -07:00
Daisuke Miyakawa
255f7cb02a
Merge "Refrain warning when not appropriate. Do not merge" into gingerbread
2010-10-04 08:31:56 -07:00
Kenny Root
a2b0e61228
Merge "ZipFileRO: moar logging and wrap close" into gingerbread
2010-10-04 07:28:20 -07:00
Hung-ying Tyan
ae4bfa97ed
Merge "SIP: minor fixes." into gingerbread
2010-10-03 22:43:28 -07:00
Jeff Brown
e8914cec61
Merge "Wait for initial device scan to finish before updating config." into gingerbread
2010-10-01 19:01:11 -07:00
Jeff Brown
f1aa6a1d6c
Merge "Minor logging changes to input dispatcher to help with debugging." into gingerbread
2010-10-01 18:58:32 -07:00
Jeff Brown
1ad00e96fe
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
2010-10-01 18:55:43 -07:00
Kenny Root
dbf6f272a2
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
2010-10-01 18:30:59 -07:00
Jeff Brown
2806e381cf
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
2010-10-01 18:05:13 -07:00
James Dong
db193288b2
Merge "Turn off media time adjustment by default" into gingerbread
2010-10-01 17:27:51 -07:00
Dianne Hackborn
5eb17e6029
Merge "Some documentation fixes." into gingerbread
2010-10-01 16:46:29 -07:00
Jeff Brown
5629ea8fda
Merge "Support haptic feedback for virtual keys defined in key layout." into gingerbread
2010-10-01 16:09:58 -07:00
Chia-chi Yeh
533ca9650a
Merge "KeyStore: Update the parameters of generating master keys." into gingerbread
2010-10-01 15:34:43 -07:00
Scott Main
e0033c246d
am 32441bbe: docs: device dashboard update for 10/1
...
Merge commit '32441bbe61e2f02f09a319c00895aef8cfc27ff4' into gingerbread
* commit '32441bbe61e2f02f09a319c00895aef8cfc27ff4':
docs: device dashboard update for 10/1
2010-10-01 15:11:10 -07:00
Jeff Brown
956c0fb238
Support haptic feedback for virtual keys defined in key layout.
...
Change-Id: I83e4108a87332692e03791dc066206becbc7941f
2010-10-01 15:08:56 -07:00
Hung-ying Tyan
aa2d67d4b7
Merge "Add CallManager/Phone.setEchoSuppressionEnabled()." into gingerbread
2010-10-01 14:52:00 -07:00
Adam Powell
0cb6b18839
Merge "DO NOT MERGE Fix bug 3026771, other design/asset fixes." into gingerbread
2010-10-01 14:46:40 -07:00
Kenny Root
45c396e868
Merge "Add "none" for vold and deprecate mkobb -c" into gingerbread
2010-10-01 14:06:46 -07:00
Dianne Hackborn
9e4b567105
Merge "Fix issue #3037083 : Problem report for Pinball" into gingerbread
2010-10-01 13:39:39 -07:00
Steve Howard
87548ede54
Merge "A few additions to the download manager public API documentation" into gingerbread
2010-10-01 13:12:39 -07:00
Andreas Huber
c264c38e19
Merge "Start playing live streams from the start, no the middle..." into gingerbread
2010-10-01 11:35:17 -07:00
Fabrice Di Meglio
e520131959
Merge "Fix bug #3055578 ("adb shell bmgr list sets" generates NPE and cannot be run again when device has no account setup)" into gingerbread
2010-10-01 11:30:50 -07:00
Andreas Huber
16e3e00799
Merge "Remove development-only code." into gingerbread
2010-10-01 11:23:24 -07:00
Erik
b1ab6a8fff
Merge "b/3054044 Make allDay event times format in utc" into gingerbread
2010-10-01 11:08:13 -07:00
Andreas Huber
47ec74b31c
Merge "Squashed commit of the following:" into gingerbread
2010-10-01 11:01:33 -07:00
Dianne Hackborn
6381cf3b9d
Merge "Rub in a little 'ol log-b-gone." into gingerbread
2010-09-30 19:03:38 -07:00
Joe Onorato
f25ba29a5b
Merge "Use the private version of userActivity." into gingerbread
2010-09-30 18:12:24 -07:00
Kenny Root
eba1e0162a
Merge "Being already unmounted is not a failure" into gingerbread
2010-09-30 18:03:25 -07:00
Chia-chi Yeh
ded2f9d4c0
Merge "RTP: Start AudioRecord before AudioTrack to avoid being disabled." into gingerbread
2010-09-30 17:41:09 -07:00
Eric Laurent
2a6277cfd9
Merge "Issue 3032913: improve AudioTrack recovery time" into gingerbread
2010-09-30 17:39:36 -07:00
Hung-ying Tyan
9e03f93304
Merge "SipService: turn off verbose logging" into gingerbread
2010-09-30 17:20:25 -07:00
Steve Howard
77b23794f8
Merge "Avoid NPE when viewing failed legacy download with no local path" into gingerbread
2010-09-30 16:22:58 -07:00
Jake Hamby
514c70a790
Merge "Typo fixes in comments and minor code cleanups." into gingerbread
2010-09-30 15:47:34 -07:00
Jeff Brown
39e1275d2b
Merge "Move verbose logging of device capabilities to dumpsys." into gingerbread
2010-09-30 15:46:00 -07:00
Eric Fischer
dd8fa072b0
Merge "Import revised translations. DO NOT MERGE" into gingerbread
2010-09-30 15:44:54 -07:00
Jeff Brown
26c94ff615
Move verbose logging of device capabilities to dumpsys.
...
Change-Id: I5d55eaebfdf049bd1ac1e7bab2758886cfefc9d7
2010-09-30 15:34:48 -07:00
Kenny Root
9e681f5374
Merge "Fix location of gdbserver upon installation" into gingerbread
2010-09-30 14:27:15 -07:00
Mike Lockwood
33756f1947
Merge "location: rebind to network location and geocoder services after package update" into gingerbread
2010-09-30 13:07:06 -07:00
Dianne Hackborn
23beef51fd
Merge "Fix night/notnight resource folder handling." into gingerbread
2010-09-30 12:40:52 -07:00
Steve Howard
db6a8843ef
Merge "Have download manager give more details when downloads are paused" into gingerbread
2010-09-30 11:11:16 -07:00
Chia-chi Yeh
ae17a37d2d
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
2010-10-01 01:42:55 +08:00
Chia-chi Yeh
670a23f493
Merge "KeyStore: Initialize IV correctly." into gingerbread
2010-09-30 02:44:16 -07:00
Chia-chi Yeh
857edec1a2
KeyStore: Initialize IV correctly.
...
Change-Id: Idbf207dfcc11b92e606cbf4fd3732ed7a8aa3416
2010-09-30 17:28:01 +08:00
Chia-chi Yeh
18fc21daf5
Merge "KeyStore: Fix the return value when send() or recv() has an error." into gingerbread
2010-09-30 00:39:32 -07:00
Chia-chi Yeh
1c2eccfac3
KeyStore: Fix the return value when send() or recv() has an error.
...
Change-Id: I20a63c76bd29b1a9f8959a6c4fe5a5b8a9a971b4
2010-09-30 15:17:58 +08:00
Hung-ying Tyan
263ab1cd7d
Merge "Add uri field to SipManager.ListenerRelay" into gingerbread
2010-09-30 00:05:58 -07:00
Chia-chi Yeh
ebbc6372b2
Merge "RTP: Adjust the jitter buffer to 512ms." into gingerbread
2010-09-29 23:24:32 -07:00
Adam Powell
a5e76f4d4b
Merge "Fix text anchors" into gingerbread
2010-09-29 21:05:12 -07:00
Robert Greenwalt
e88b133a3b
Merge "Change the 0_fully signal icon to the new style" into gingerbread
2010-09-29 19:48:57 -07:00