Commit 30f3407
committed
Update the API baseline
What These Changes Mean:
Removed Methods: getDefaultImpl() and setDefaultImpl()
These were part of an older AIDL pattern for handling default implementations when the service isn't available. This was a fallback mechanism that's been deprecated in favor of better error handling.
Added: DESCRIPTOR Field
This is the standard AIDL interface descriptor string - it's always been there internally, but now it's explicitly exposed in the public API.
Added: LeakUiApp$_Parcel Class
This is a newer AIDL tooling artifact - modern AIDL compilers generate additional helper classes for parcelization.
Impact Analysis: ✅ Likely SAFE - No Breaking Changes for Clients
Why this is probably fine:
1. Internal APIs: These are in org.leakcanary.internal.* package - the internal namespace signals these aren't meant for public consumption
2. AIDL Evolution: The Android AIDL compiler has been evolving to generate more modern, efficient code. The removed methods were legacy patterns.
3. Backwards Compatible:
- The core sendHeapAnalysis() method remains unchanged
- The DESCRIPTOR field addition doesn't break existing clients
- The new _Parcel class is just tooling infrastructure
4. LeakCanary Context: This appears to be inter-process communication between LeakCanary components, not a public API for app developers
1 parent 85cfff6 commit 30f3407
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
0 commit comments