Add RAM Usage feature to the widget#53
Conversation
- Add `section_ram` to translations and update subset limit - Add RAM UI toggles and settings to `MainActivity` - Update all 11 `widget_layout*.xml` files to include `text_ram` - Dynamically fetch device free RAM in `AwidgetProvider` via `ActivityManager` - Fix Robolectric unit test flake in `StepCounterServiceTest`
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR implements a new RAM usage monitoring feature for the widget. It introduces RAM visibility toggles, font size, and text formatting settings in the main application UI. The underlying logic fetches the free system memory directly from
ActivityManagerand maps it to the newly createdtext_ramTextView across all 11 widget layout variants. The update operates inside the widget's standard TICK broadcast.Additionally, this pull request fixes a flaky test (
StepCounterServiceTest) by writing the SharedPreferences data prior to Robolectric service creation.PR created automatically by Jules for task 16726876618766929699 started by @LeanBitLab