chinwag-android/app
Nik Clayton 4025ab35ff
Move cache pruning to a WorkManager worker (#3649)
- Extend what was `NotificationWorkerFactory` to `WorkerFactory`. This
  can construct arbitrary Workers as long as they provide their own
  Factory for construction.

  The per-Worker factory contains any injected components just for that
  worker type, keeping `WorkerFactory` clean.

- Move `NotificationWorkerFactory` to the new model.

- Implement `PruneCacheWorker`, and remove the code from
 `CachedTimelineViewModel`.

- Create the periodic worker in `TuskyApplication`, ensuring that the
  database is only pruned when the device is idle.
2023-06-11 13:17:30 +02:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase Save the a copy of the notification marker ID locally (#3672) 2023-05-18 23:23:42 +02:00
src Move cache pruning to a WorkManager worker (#3649) 2023-06-11 13:17:30 +02:00
build.gradle Prepare 22.0 (versionCode 110) (#3718) 2023-06-08 12:35:09 +02:00
getGitSha.gradle Previous attempt to fix git sha on non-git build broke git build. (#3322) 2023-02-16 20:20:52 +01:00
lint-baseline.xml Replace deprecated getParcelable* methods with compat versions (#3633) 2023-06-11 12:58:55 +02:00
lint.xml Ignore LogConditional issues (#3615) 2023-05-04 14:50:21 +02:00
proguard-rules.pro Remove shrinker rules for okhttp (#3560) 2023-04-24 12:08:03 +02:00