refactor: strip release debug logs and drop hand-rolled catches
- Strip Log.d/Log.v in release via R8; remove the per-frame parallax log. - Use runCatchingCancellable instead of manual cancellation rethrows. - Remove an unreachable catch in AlbumViewViewModel.deleteSelected. - Reduce AlbumRefreshWorker to the work itself; drop log-only counters. - Replace a force-unwrap in HomeScreen with a local val.
This commit is contained in:
1 parent
7dc1171678
commit
3b85cdb822
8 files changed
+38
-99
No files matched your search
Vendored
+6
@@ -1,2 +1,8 @@
|
||||
# Library consumer rules preserve their runtime entry points. Keep release crash locations.
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# Strip debug and verbose logging from release builds.
|
||||
-assumenosideeffects class android.util.Log {
|
||||
public static int d(...);
|
||||
public static int v(...);
|
||||
}
|
||||
Reference in new issue
Block a user