Nuts, but the SDK upgrade has made things that worked previously stop working.
We still have some leaks, but this change is getting immense, so I'm stopping here.
we have access to lambdas with the new MinSDK
we have access to try (resources) with the new MinSDK
SDK compat allowed us to upgrade some old deps
Google SDK checks upgraded from Play checks
the new MinSDK obviates a lot of SDK level checks
some weird work-arounds are no-longer necessary
MainActivity and ListFragment were immense, hindering leak detection and profiling - moved elements of preference keys, URL configuration, and our confirmation dialog wrapper to their own util classes
we get object leaks with the net Target/MinSDKs. Many are addressed by this, some are not
the WiGLEService IBinder was leaking starting with recent android versions
TTS invoiced with MainAcitivity instead of getApplicationContext was leaking
BluetoothScanning was leaking based on an explicit reference to the central SetNetworkListAdapter
Remaining issues:
Toast is still leaking - unclear whether this is due to our customizations, or just the library
BluetoothReceiver's android.bluetooth.le.ScanCallback still has a reference problem.
Nuts, but the SDK upgrade has made things that worked previously stop working. We still have some leaks, but this change is getting immense, so I'm stopping here.
we get object leaks with the net Target/MinSDKs. Many are addressed by this, some are not
Remaining issues: