Add new 'explicit GC' policy to StrictMode.
This change adds the policy but offers no public way to enable it. A follow-up change will expose the detect/permit methods in the API and change detectAll to enable it. This new policy can only be triggered through the libcore BlockGuard API. Bug: 3400644 Test: cts-tradefed run cts-dev -m CtsLibcoreTestCases Test: cts-tradefed run cts-dev -m CtsOsTestCases (cherry picked from commit c92f9edf53d09952fe9ab3d8066aed7fa7ecc852) Change-Id: Ieebe4db747902246968d6382bbc9cee0e539af85 Merged-In: Ieebe4db747902246968d6382bbc9cee0e539af85 (cherry picked from commit b3b07312)
Loading
Please register or sign in to comment