Skip to content

Potluck Android v1.0.6

Choose a tag to compare

@Imagiyy Imagiyy released this 12 Nov 11:12
· 2 commits to main since this release

Fix group usage time resetting to zero on app update.

Bug Fix

  • Used time no longer resets to zero when the app is updated or restarted
  • Usage reports from Android UsageStats now supplement (never overwrite) session-tracked time
  • Active sessions are always reflected in the UI member breakdown
  • Total pool "Gobbled" time is now guaranteed to equal the sum of each member's individual usage

Technical Details

  • GroupState.getUsageByApp(): takes maxOf(reported, session) instead of letting reports overwrite sessions
  • EventReducer.calculatePool(): unified calculation path via getMemberUsedSeconds() for all members
  • Unattributed sessions always counted regardless of usage report presence