On Fri, Aug 12, 2011 at 10:56 PM, William Ferguson
<[email protected]> wrote:
> It sure would be nice to be able to specify your own penalties when
> configuring StrictMode.
>
> For example, the ability to post to ACRA/(insert favourite remote
> exception handler) would really help with distributed testing. All it
> would need would be a penalty interface that received the stacktrace
> and type of violation.

Fine idea. My initial reaction was "well, just subclass StrictMode and
override something", but it's declared as final. And there's a fair
bit of references to non-SDK classes in there, so cloning it and
rolling your own seems non-trivial.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

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

Reply via email to