Repository navigation
1.1.0
Release v1.1.0 - Performance & Stability Update
This is a maintenance release focused on improving the overall performance, stability, and user experience of Device Inspector. Key issues related to UI freezes and fresh-install crashes have been addressed.
🚀 Key Improvements
1. Major Performance Overhaul
The entire application architecture has been refactored to prevent UI freezes ("jank") when navigating the app.
- Instant Tab Switching: Previously, the UI would freeze for a fraction of a second when switching between the main sections (Usage, History, Security, Device Info). This was because each screen was loading its data on the main thread.
- Fix: Data loading for all screens is now handled centrally when the app is first launched and is performed on background threads. This ensures that switching between tabs is always smooth and instantaneous.
2. Sub-Tab Performance Fix
- Smooth Filtering: A similar UI freeze occurred in the "App Usage" section when switching between the "7 Days," "24 Hours," and "Today" filters. This was caused by the app list being re-sorted on the main thread.
- Fix: The sorting logic is now executed on a background thread, displaying a brief loading indicator instead of freezing the UI.
🐛 Bug Fixes
1. Crash on Fresh Install Fixed
- Issue: The application would crash immediately after a user granted the "Usage Access" permission on a fresh install. This was caused by a race condition where the app tried to fetch data before the system had fully registered the new permission.
- Fix: The data-fetching functions have been made more robust with
try-catchblocks. The app will now safely handle the momentary lack of permission and prevent any crashes, leading to a much smoother first-time user experience.
2. "Today" Chart Timeline Corrected
- Issue: In the "App Usage" section, the timeline chart for the "Today" view was not correctly scaling the usage bars. It was positioning them relative to the current time instead of the full 24-hour day represented by the labels.
- Fix: The scaling logic for the timeline chart has been corrected. Usage bars now accurately align with the 0-24 hour labels, correctly visualizing when the usage occurred during the day.