Open Elettronik opened 11 years ago
Hmm.. I'm not a fan of catching and ignoring exceptions like that. Were you able to find out what is the reason this exception is thrown out?
I find some reference on an upstream bug on this classes, which seem it won't fixed.
http://code.google.com/p/cyanogenmod/issues/detail?id=4327 http://code.google.com/p/android/issues/detail?id=33669 http://stackoverflow.com/questions/11193239/using-audiosessionid-value-to-instantiate-audiofx-class
I know it's a bad program style to catch and ignore exception, but seem working on ICS device. maybe a better solution could be logging error, or checking api level you are working on, and then using right classes,
This fix FC on ICS devices, tested on SGS I900 CM9, the same should work on JB too