mirror of
https://github.com/square/leakcanary.git
synced 2026-03-13 08:24:22 +08:00
2cbdce272b37814910be9f43fee8741df4e4b4cd
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>
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.
Description
A memory leak detection library for Android.
androidjavakotlinkotlin-androidleak-canaryleak-traceleakcanarymemory-leakoutofmemoryoutofmemoryerror
Readme
150 MiB
Languages
Kotlin
99.7%
Java
0.3%