Skip to content
Snippets Groups Projects
  1. Nov 16, 2020
    • Matthias Urhahn's avatar
      Improve HotDataFlow behavior (EXPOSUREAPP-3777) (#1612) · 0f866e50
      Matthias Urhahn authored
      * Fix HotDataFlow behavior.
      * Prevent re-execution of past submissions when the observable goes cold.
      * Guard internal value updates with a mutex in case the value update is not as thread-safe as we think it is.
      
      * Fix problematic testcases.
      Unverified
      0f866e50
    • Matthias Urhahn's avatar
      Handle failure to persist GSON serialized JSON data (EXPOSUREAPP-3777) (#1604) · a6335e7f
      Matthias Urhahn authored
      * Flush the json data after writing it, otherwise if the app process dies, we end up with an empty file.
      GSON deserializes this into a null object that looks like a non-null object until it is evaluated some time later.
      
      Force an evaluation via `require(it.size >= 0)` and delete the corrupt data file when catching the exception.
      
      * Show a visible error dialog if we fail to save data.
      
      * Used buffered versions of readers and writer.
      Unverified
      a6335e7f
  2. Nov 04, 2020
  3. Nov 03, 2020
  4. Oct 29, 2020
  5. Oct 28, 2020
  6. Oct 27, 2020
  7. Oct 26, 2020
  8. Oct 23, 2020
  9. Oct 22, 2020
Loading