pblundell 2cbdce272b Remove obsolete AndroidLeakFixes after minimum SDK upgrade
Removes 5 AndroidLeakFixes enum constants that are no longer needed
with minimum SDK 26+:

- MEDIA_SESSION_LEGACY_HELPER (API 21 only)
- CONNECTIVITY_MANAGER (API ≤23 only)
- ACTIVITY_MANAGER (Samsung API 22 only)
- IMM_FOCUSED_VIEW (API ≤23 only)
- SPELL_CHECKER (API 23 only)

These fixes were already no-ops with early returns after the min SDK
upgrade. Removing them completely eliminates ~200 lines of dead code
and documentation while maintaining all functional leak fixes.

The remaining 10 AndroidLeakFixes enum constants continue to provide
useful leak fixes for Android 26+.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-04 10:01:35 +00:00
2026-02-26 13:12:59 +00:00
2021-12-22 20:46:00 +08:00
2021-11-20 15:03:13 +08:00
2024-05-09 17:22:10 -07:00
2026-02-26 13:12:59 +00:00
2015-05-08 08:44:09 -07:00
2024-06-04 11:52:09 -07:00
2021-04-07 16:00:34 -07:00

LeakCanary 🐤

A memory leak detection library for Android.

square.github.io/leakcanary

🙏 If you like LeakCanary you can show support by starring this repository.

License

Copyright 2015 Square, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Languages
Kotlin 99.7%
Java 0.3%