Ok found the cause of StrictMode.setThreadPolicy() not working.

I was making this call in the onCreate() of a subclass of the Application 
class. This worked prior to Jelly Bean.

Now in JB, it must be called after an Activity's onCreate() to take effect. 

Looks like the default StrictMode ThreadPolicy initialization done by the 
framework is not done the same way in JB than prior versions. 


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to