Glenn Kasten
afb40b5fcf
setActiveTrack and setBufferProvider can't fail
...
Return void, not status_t, from setActiveTrack and setBufferProvider.
These methods returned status_t, but the callers never checked the
return value. Since these aren't externally visible APIs, they now
return void, and assert on bad input parameters.
Change-Id: I530ed29484596ae41e8659826ca425149c51c2a1
2011-12-15 15:55:51 -08:00
Narayan Kamath
e61fd281a8
Merge "Remove BlockingMediaPlayer."
2011-12-09 06:30:14 -08:00
Romain Guy
d3209c1bb2
Merge "GenerationCache::get would return a random value instead of NULL Bug #5401917 "
2011-12-08 18:51:03 -08:00
Romain Guy
46b9f7cc20
GenerationCache::get would return a random value instead of NULL
...
Bug #5401917
This was causing a ton of random crashes in apps.
Change-Id: I9069a060824ec89115cd3bcd38beaeb9ecc4488e
2011-12-08 18:50:27 -08:00
Mangesh Ghiware
66b2ff818b
Update computation of reading level scale.
...
Fixes bug 5726043 (Extra double-tap needed to zoom out to overview mode
on nytimes.com on a Stingray)
Change-Id: I54dc303f4aa81ddc38c234228adc915b9f6749dc
2011-12-08 17:11:16 -08:00
Fabrice Di Meglio
63b068040f
Merge "Clean TextLayout code and remove RTL_USE_HARFBUZZ"
2011-12-08 15:42:28 -08:00
Fabrice Di Meglio
b02d0ca555
Clean TextLayout code and remove RTL_USE_HARFBUZZ
...
- remove dependencies on ICU
- use TextLayouCache
- remove RTL_USE_HARFBUZZ define (we *are* using Harfbuzz now)
- also fix compilation warning
Change-Id: I022e11703438d07032e49e42724184f6bf16653e
2011-12-08 15:16:17 -08:00
Kenny Root
c2fc52dc9c
Merge "Add aapt support for implicitly-granted permissions"
2011-12-08 09:02:51 -08:00
Kenny Root
063a44e541
Add aapt support for implicitly-granted permissions
...
Bug: 2363582
Bug: 2877343
Change-Id: Iff7b496fb845e45fe1be2317089a96f7d63ed223
2011-12-08 08:46:34 -08:00
James Dong
1321bc1fa3
Merge "Update onVideoSizeChanged() callback method Java doc to explicitly specify the conditions under which the width/height passed to the callback could be 0."
2011-12-07 23:05:03 -08:00
Dave Burke
9650b018e3
am e118c1de: am ef8913c0: Merge "Remove dangerous and useless optimization Bug #5525888 " into ics-mr1
...
* commit 'e118c1de0037e6732b66b9f52903567caa961c31':
Remove dangerous and useless optimization Bug #5525888
2011-12-07 20:43:18 -08:00
Dave Burke
e118c1de00
am ef8913c0: Merge "Remove dangerous and useless optimization Bug #5525888 " into ics-mr1
...
* commit 'ef8913c035e679ea8b8891e26db1fa571e9b9d54':
Remove dangerous and useless optimization Bug #5525888
2011-12-07 20:41:27 -08:00
Dave Burke
ef8913c035
Merge "Remove dangerous and useless optimization Bug #5525888 " into ics-mr1
2011-12-07 20:40:10 -08:00
Wink Saville
a78a08b103
am ea75b822: am 234a5ef6: Merge "When the SIM_READY set current preferred network type." into ics-mr1
...
* commit 'ea75b82221dc9086cf97a791aed3b79ff3731bba':
When the SIM_READY set current preferred network type.
2011-12-07 20:19:50 -08:00
Wink Saville
ea75b82221
am 234a5ef6: Merge "When the SIM_READY set current preferred network type." into ics-mr1
...
* commit '234a5ef66275087aff9cfb94adc7608e9f358f11':
When the SIM_READY set current preferred network type.
2011-12-07 20:18:06 -08:00
Wink Saville
234a5ef662
Merge "When the SIM_READY set current preferred network type." into ics-mr1
2011-12-07 20:15:45 -08:00
Wink Saville
975d348c18
When the SIM_READY set current preferred network type.
...
This looks to fix a problem where the nv_data.bin file
file gets corrupted. When greping a radio log for "md5" if something
like following is seen:
RIL(s) : load_md5_state: MD5 state 1
RIL(s) : check_md5:
RIL(s) : compute_md5: path /efs/nv_data.bin
RIL(s) : check_md5: MD5 fail. orignal md5 '628647a8e5c6cac2d586199417c0103c' computed md5 '58a635cbaf5fe4ffb2797aeaa2b32709' (rild)
RIL(s) : check_md5:
RIL(s) : compute_md5: path /efs/.nv_data.bak
It means that corruption was detected and a back version was used
which is ok. Apparently that backup version can have the default
network type revert to 2G only thus causing the symptoms reported
in b/5695729 where after taking an OTA 2G becomes the default.
By calling setCurrentPreferredNetworkType when the sim is ready we
can reset the the network type to 3G.
Note: I also tried calling setCurrentPreferredNetworkType in
EVENT_RADIO_AVAILABLE but that didn't work and we would see
the response to setPreferredNetworkType failing as the ril wasn't ready.
RILJ : setCurrentPreferredNetworkType: 0
RILJ : [0004]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0
RILJ : [0004]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
Bug: 5695729
Change-Id: Ibbd29cda0b201a8c08f4dcfa5cec211611e1d599
2011-12-07 20:07:54 -08:00
Jaikumar Ganesh
07c2c9f03b
am 38342c9d: am d426c338: Merge "Reduce likelihood of crash in state machine." into ics-mr1
...
* commit '38342c9d858d8b021bc5c616cfe6c0ab9f359b2b':
Reduce likelihood of crash in state machine.
2011-12-07 19:53:47 -08:00
Jaikumar Ganesh
38342c9d85
am d426c338: Merge "Reduce likelihood of crash in state machine." into ics-mr1
...
* commit 'd426c338a66f63f8e5528ac38ec5b61625f2c897':
Reduce likelihood of crash in state machine.
2011-12-07 19:52:11 -08:00
Jaikumar Ganesh
d426c338a6
Merge "Reduce likelihood of crash in state machine." into ics-mr1
2011-12-07 19:50:03 -08:00
Romain Guy
c7ee3cab56
Remove dangerous and useless optimization
...
Bug #5525888
Change-Id: I553828c0da09b15d0dce3727e4c26a9d0bcf72ea
2011-12-07 19:10:04 -08:00
John Wang
10fd37dd9e
am 2de0b07f: am ca0a68cc: Merge "Correct the dialing number of structured MMI." into ics-mr1
...
* commit '2de0b07f47c3561b6e550ff630901d2776a437e3':
Correct the dialing number of structured MMI.
2011-12-07 19:03:42 -08:00
Gilles Debunne
b69c8cab56
am 0235016a: am 2df13452: Merge "Insert into user dict with the correct locale" into ics-mr1
...
* commit '0235016acb241556f24689e3d818db6973b5ad4f':
Insert into user dict with the correct locale
2011-12-07 19:03:30 -08:00
John Wang
2de0b07f47
am ca0a68cc: Merge "Correct the dialing number of structured MMI." into ics-mr1
...
* commit 'ca0a68cc8afd023c94bcd5a1f3f2b2f9407fbe3b':
Correct the dialing number of structured MMI.
2011-12-07 18:51:11 -08:00
John Wang
ca0a68cc8a
Merge "Correct the dialing number of structured MMI." into ics-mr1
2011-12-07 18:49:28 -08:00
Gilles Debunne
0235016acb
am 2df13452: Merge "Insert into user dict with the correct locale" into ics-mr1
...
* commit '2df13452e05745a3da624c34018da983173c32c4':
Insert into user dict with the correct locale
2011-12-07 18:42:04 -08:00
Gilles Debunne
2df13452e0
Merge "Insert into user dict with the correct locale" into ics-mr1
2011-12-07 18:41:04 -08:00
Adam Powell
243657993c
resolved conflicts for merge of db81dc72 to master
...
Change-Id: Ie7e1d9a255934e45d8b241b15e9674046cff2444
2011-12-07 18:18:58 -08:00
Jaikumar Ganesh
a544d467f2
Reduce likelihood of crash in state machine.
...
Reduce likelihood of crash when state machine has quit and someone
sends a message using one of the public functions.
Bug: 5724844
Change-Id: I6582a1d19113e6ed545c8ab20adb0a414d8784a7
2011-12-07 18:07:29 -08:00
Adam Powell
db81dc7233
am cf6a6522: Merge "Raise touch slop value from previous experiment" into ics-mr1
...
* commit 'cf6a6522fdbce05896d3a551f7cd6243857ceced':
Raise touch slop value from previous experiment
2011-12-07 17:57:08 -08:00
Adam Powell
cf6a6522fd
Merge "Raise touch slop value from previous experiment" into ics-mr1
2011-12-07 17:55:35 -08:00
Adam Powell
6720a87ad1
Raise touch slop value from previous experiment
...
Change-Id: I7681c401803643f309fd988824602169a830de29
2011-12-07 17:53:46 -08:00
Daniel Sandler
1ba22cc33d
am b490d8d6: am 29933fb2: Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1
...
* commit 'b490d8d6214114391622b4302ca2f5f39b2166c6':
Improve handling of small largeIcons in tablet ticker.
2011-12-07 17:43:39 -08:00
Daniel Sandler
b490d8d621
am 29933fb2: Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1
...
* commit '29933fb26a4294a9bd30f9227809e28949252833':
Improve handling of small largeIcons in tablet ticker.
2011-12-07 17:42:07 -08:00
Daniel Sandler
29933fb26a
Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1
2011-12-07 17:40:07 -08:00
Joe Malin
84a0060ea1
am bea42859: am aa2719df: am 3937e055: Merge "DOC CHANGE: Add text for android.os.storage" into ics-mr0
...
* commit 'bea4285934b4cd5bab21f7c69ac82d871b6ee05f':
DOC CHANGE: Add text for android.os.storage
2011-12-07 17:17:09 -08:00
Dianne Hackborn
7e05b4a309
am 7377e593: am 0e385ee4: am b32785c6: Merge "More fixing for issue #5366535 : Lockscreen has wrong layout..." into ics-mr0
...
* commit '7377e59314885b8ef65bd19d04984998cb2e5ff4':
More fixing for issue #5366535 : Lockscreen has wrong layout...
2011-12-07 17:17:07 -08:00
Dianne Hackborn
41e0b205c4
am 2657d889: (-s ours) am b259c04d: Merge "Merge commit \'eee12419\' into manualmerge" into ics-mr1
...
* commit '2657d889ea7e60f5d97926dc7720e9780b6796e0':
DO NOT MERGE. Integrate from MR 1 to fix issue #5366535 : Lockscreen...
2011-12-07 17:14:48 -08:00
Joe Malin
bea4285934
am aa2719df: am 3937e055: Merge "DOC CHANGE: Add text for android.os.storage" into ics-mr0
...
* commit 'aa2719df72225402737009b1cc2e3cfea8e74bc7':
DOC CHANGE: Add text for android.os.storage
2011-12-07 17:14:47 -08:00
Dianne Hackborn
7377e59314
am 0e385ee4: am b32785c6: Merge "More fixing for issue #5366535 : Lockscreen has wrong layout..." into ics-mr0
...
* commit '0e385ee4de901f4c509374fad5bc040a2ac80721':
More fixing for issue #5366535 : Lockscreen has wrong layout...
2011-12-07 17:14:46 -08:00
Robert Greenwalt
7776da1b79
am 4741163c: am fbb09ea8: Merge "Fix NPE in trimV4AddrZeros." into ics-mr1
...
* commit '4741163cd719ce88eddf17ebb0a3ffd6a8044fbe':
Fix NPE in trimV4AddrZeros.
2011-12-07 17:12:47 -08:00
Dianne Hackborn
2657d889ea
am b259c04d: Merge "Merge commit \'eee12419\' into manualmerge" into ics-mr1
...
* commit 'b259c04d4321536ef9f5cc9b55079d3bd450eef7':
DO NOT MERGE. Integrate from MR 1 to fix issue #5366535 : Lockscreen...
2011-12-07 17:12:43 -08:00
Joe Malin
aa2719df72
am 3937e055: Merge "DOC CHANGE: Add text for android.os.storage" into ics-mr0
...
* commit '3937e055708a8618f184feab204fed4bb41f3f6e':
DOC CHANGE: Add text for android.os.storage
2011-12-07 17:11:59 -08:00
Dianne Hackborn
0e385ee4de
am b32785c6: Merge "More fixing for issue #5366535 : Lockscreen has wrong layout..." into ics-mr0
...
* commit 'b32785c6e893743956e28b285b8e6f6fc7aa8edb':
More fixing for issue #5366535 : Lockscreen has wrong layout...
2011-12-07 17:11:57 -08:00
Robert Greenwalt
4741163cd7
am fbb09ea8: Merge "Fix NPE in trimV4AddrZeros." into ics-mr1
...
* commit 'fbb09ea84f7a9df94358f05f4e680cb363bae663':
Fix NPE in trimV4AddrZeros.
2011-12-07 17:10:37 -08:00
Dianne Hackborn
b259c04d43
Merge "Merge commit 'eee12419' into manualmerge" into ics-mr1
2011-12-07 17:10:34 -08:00
Robert Greenwalt
fbb09ea84f
Merge "Fix NPE in trimV4AddrZeros." into ics-mr1
2011-12-07 17:09:05 -08:00
Amith Yamasani
7029f19dc8
am 675a5ba8: am 3b5555fc: Merge "Make new ringer toggles on power menu accessible and navigable with keyboard." into ics-mr1
...
* commit '675a5ba82f886d8a5f954219b6544a97acb17e29':
Make new ringer toggles on power menu accessible and navigable with keyboard.
2011-12-07 16:58:45 -08:00
Amith Yamasani
675a5ba82f
am 3b5555fc: Merge "Make new ringer toggles on power menu accessible and navigable with keyboard." into ics-mr1
...
* commit '3b5555fc4483f6813f3df4787d98dd5357851566':
Make new ringer toggles on power menu accessible and navigable with keyboard.
2011-12-07 16:56:17 -08:00
Robert Greenwalt
0faacf0658
Fix NPE in trimV4AddrZeros.
...
Change-Id: Id6ab91dabce4a2adba02f2601bc1157e87b782c3
2011-12-07 16:55:38 -08:00