v1.2.1
Bug fixes
Fixes crash on MIUI devices when opening "Manage Blocked Apps" (#10)
Two bugs caused the activity to crash back to the home screen on MIUI:
-
activityInfonull crash — MIUI'squeryIntentActivitiescan return results with a nullactivityInfo. The package name was read from it outside the existingtry-catch, so the resultingNullPointerExceptionpropagated to the main thread and crashed the activity. -
Eager icon loading — all app icons were loaded into memory at once before the list rendered. On devices with many apps installed this could trigger an
OutOfMemoryErrorthat also escaped thetry-catch.
Icons are now loaded lazily per row via Coil so only visible icons are held in memory at any time.