1. 13 Nov, 2020 1 commit
  2. 13 Oct, 2020 1 commit
  3. 29 Sep, 2020 2 commits
    • Michael Comella's avatar
      For #13959: move resetAfter into StrictModeManager. · f19c9920
      Michael Comella authored
      In a followup PR, we need to add state to strictModeManager (the
      number of suppressions). This is much simpler to do when this is defined
      as a class rather than an object. However, when this is defined as a
      class, `resetAfter` needs access to the strictModeManager. Instead of
      passing it in as an argument, it made sense to move this function onto
      the strictModeManager instead.
      
      Since folks are used to calling:
      ```
      StrictMode.ThreadPolicy.allowThreadDiskReads().resetAfter
      ```
      
      We're going to have to add a lint check to prevent them from doing that.
      f19c9920
    • Michael Comella's avatar
      For #13959: change StrictModeManager to class from object. · 6abeb2d9
      Michael Comella authored
      I originally tried to create this PR leaving this as an object to keep
      the change simple but it wasn't worth it - once the object started to
      keep state, we'd need to manually reset the state between runs. Also,
      the tests were already getting hacky with static mocking so it was
      easier to address some of those issues this way too.
      6abeb2d9
  4. 02 Sep, 2020 1 commit
  5. 29 Aug, 2020 1 commit
  6. 27 Aug, 2020 2 commits
  7. 26 Aug, 2020 4 commits
  8. 24 Aug, 2020 1 commit
  9. 04 Aug, 2020 1 commit
  10. 31 Jul, 2020 1 commit
  11. 28 Jul, 2020 1 commit
  12. 21 Jul, 2020 5 commits
  13. 16 Jul, 2020 1 commit
  14. 27 Jun, 2020 1 commit
  15. 26 Jun, 2020 1 commit
  16. 25 Jun, 2020 1 commit
  17. 21 Jun, 2020 1 commit
  18. 18 Jun, 2020 1 commit
    • MarcLeclair's avatar
      For #11660: added prefetch for topsites and update in onCreateView() (#11668) · b52091ed
      MarcLeclair authored
      * For #11660:added prefetch for topsites
      
      TopSites will be prefetched with observerOnce (wrapper around observerForever).
      Also, the SessionControlView.update() is called right away instead of waiting from consumeFrom
      in the HomeFragment.onCreateView() which will allow the UI to render all at once on its first
      perform traversal
      
      * Removed the submitList(null) since it retriggered a drawing on lower end device
      b52091ed
  19. 17 Jun, 2020 1 commit
  20. 16 Jun, 2020 1 commit
  21. 09 Jun, 2020 1 commit
  22. 08 Jun, 2020 1 commit
    • Sachin's avatar
      for #7225, Changed strictMode thread penalty to dialog on startup and back to... · 74948cb3
      Sachin authored
      for #7225, Changed strictMode  thread penalty to dialog on startup and back to logs after startup is done. (#10831)
      
      for #7225, refactored and cleanup the branch.
      
      for #7225, change strict mode policy only on main process.
      
      for #7225, setting thread policy inside a seperate thread to keep it from getting overridden in activities.
      
      for #7225 removed Handler().postAtFrontOfQueue as a solution due to unknown side effects. moved the enableStrictMode function to be static so we can reuse it.
      
      for #7225 lint check
      
      for #7225 created strict mode manager and moved enabledStrictMode function inside it.
      
      for #7225 removed penalty death on network
      
      for #7225 added allow disk access on thread for already existing violation
      
      
      strict mode running in main process to see if it passes the gitlab check, will revert it if it doesnt
      
      allowed diskread for super.onCreate for home activity
      
      added comments for disk violation oncreate homeactivity
      
      added fragment manager inside strictmode manager
      
      allowed disk read for onboarding
      
      allowed disk read for cachedTopSites
      74948cb3
  23. 04 Jun, 2020 2 commits
  24. 03 Jun, 2020 1 commit
  25. 13 May, 2020 1 commit
  26. 22 Apr, 2020 1 commit
  27. 17 Apr, 2020 2 commits
  28. 09 Apr, 2020 1 commit
  29. 31 Mar, 2020 1 commit
    • Grisha Kruglov's avatar
      Part 6: Kick-off account manager initialization after visual completeness · 6c38b773
      Grisha Kruglov authored
      In order to hide the time it takes for the account manager to be initialized
      (which always involves disk IO, and often network IO), let's kick it off
      after "visual completeness".
      This makes sure that for most users, by the time they interact with the account
      manager-related functionality (e.g. in Settings), it's ready to go.
      
      Also, for signed-in users, this will establish background sync workers.
      6c38b773