- 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.
9 lines
299 B
Prolog
9 lines
299 B
Prolog
# 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(...);
|
|
}
|