commit | 32e60c7942eeba920ec5c27b372ec0899fd75a20 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Thu Sep 30 16:22:36 2010 -0700 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Fri Oct 01 12:54:10 2010 -0700 |
tree | ed5d3bc9fe7f029ba7467fe5188e5d2068d48c02 | |
parent | f7681f84918c27f6a626681ce37ed2a236c44e82 [diff] |
Update StrictMode's public API. This makes it more future-proof and maintainable, not exposing the internal bitpacking state. The implementation is unchanged (the policy is still just an int we pass around). Also starts to introduce VmPolicy, for things which are process-wide, not per-thread. As an initial user, make SQLite's Cursor finalization leak warnings use StrictMode. Change-Id: Idedfba4e965716f5089a52036421460b1f383725