This project is mirrored from https://github.com/LineageOS/android_packages_apps_Updater.git. Pull mirroring updated .
  1. 28 Apr, 2019 1 commit
    • Michael W's avatar
      Updater: Make upgrade-url device specific · 5763bc9d
      Michael W authored
      * After moving from the generic /upgrade.html url to a device specific
        one, updater needs to display that instead
      
      Change-Id: If9fc6bddfab206a97283f2080ea4df0cbb742a7d
      5763bc9d
  2. 10 Apr, 2019 1 commit
  3. 07 Apr, 2019 1 commit
  4. 10 Mar, 2019 1 commit
  5. 05 Mar, 2019 1 commit
  6. 26 Feb, 2019 1 commit
  7. 10 Feb, 2019 1 commit
  8. 12 Jan, 2019 1 commit
  9. 27 Sep, 2018 1 commit
  10. 30 Aug, 2018 2 commits
  11. 26 Aug, 2018 1 commit
    • Anton Hansson's avatar
      Updater: Set LOCAL_PRIVATE_PLATFORM_APIS · 832efc94
      Anton Hansson authored
      This change sets LOCAL_SDK_VERSION for all packages where
      this is possible without breaking the build, and
      LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
      
      Setting one of these two will be made required soon, and this
      is a change in preparation for that. Not setting LOCAL_SDK_VERSION
      makes the app implicitly depend on the bootclasspath, which is
      often not required. This change effectively makes depending on
      private apis opt-in rather than opt-out.
      
      Bug: 73535841
      Change-Id: Iabb0556dc1c80c7fc7f6c76d61d5e441b03cdce0
      832efc94
  12. 16 Aug, 2018 1 commit
  13. 08 Aug, 2018 1 commit
  14. 05 Aug, 2018 1 commit
  15. 26 Jul, 2018 1 commit
  16. 24 Jul, 2018 2 commits
  17. 15 Jul, 2018 1 commit
  18. 14 Jul, 2018 4 commits
  19. 11 Jul, 2018 1 commit
  20. 09 Jul, 2018 1 commit
  21. 18 Jun, 2018 1 commit
  22. 15 Jun, 2018 1 commit
    • LuK1337's avatar
      Updater: Move battery level check to UpdatesListAdapter · 67cb2626
      LuK1337 authored
      * We cannot create dialog from service level without
        hardcoding theme resource and granting SYSTEM_ALERT_WINDOW
        permission therefore we got to move it here.
      
      Change-Id: I70ee5d6c8ef4af4f5c6f29e593b1c20797781017
      67cb2626
  23. 13 Jun, 2018 6 commits
    • Gabriele M's avatar
      Requre a minimum remaining battery capacity to install updates · f9463c37
      Gabriele M authored
      The recovery doesn't install the update if the remaining battery
      capacity isn't at least 20% (or 15% if charging). Require at least
      40%, just to be safe.
      
      Change-Id: I5cd7c40f029141cde2b0922b25fece2b55989710
      f9463c37
    • Gabriele M's avatar
      Minor app notification improvements · 0332be5e
      Gabriele M authored
      - Don't use BigTextStyle if we only need to show a single line of
        text, but keep using it if the progressbar is visible.
      - Change the icon to reflect the currrent state.
      - Use android.R.drawable instead of com.android.internal.R.drawable
      
      Change-Id: I0f69fe5f4fa63cdec180e89afa098d27819f33fd
      0332be5e
    • Gabriele M's avatar
      Show in app reboot button · ce4b0269
      Gabriele M authored
      Change-Id: I8d65746b58c16a7cf4a430ea29bb7b0fba1802d5
      ce4b0269
    • Gabriele M's avatar
      Turn UpdateInstaller into a singleton · f4b37294
      Gabriele M authored
      For symmetry with ABUpdateInstaller.
      
      Change-Id: I9b61ed286c91f10140705e7b3e24b0eab0c75f49
      f4b37294
    • Gabriele M's avatar
      Remove Controller interface · 4bacd24d
      Gabriele M authored
      This is just useless as is.
      
      Change-Id: I957ea3bda4097ccb8d730943639cd5e74b1b2440
      4bacd24d
    • Gabriele M's avatar
      Remove LegacySupport class · 78e69c05
      Gabriele M authored
      This was meant to provide an upgrade path from the old app. It's
      been almost a year now, this class is no longer needed.
      
      Change-Id: I17c82e5877b275c5ceb3caefa28066abc170f095
      78e69c05
  24. 03 Jun, 2018 1 commit
  25. 16 May, 2018 2 commits
    • Gabriele M's avatar
      Prevent null pointer exceptions · 8b300f0d
      Gabriele M authored
      The main activity connects to the service after setting up the local
      broadcast. This allows the service to send notification before the
      activity is ready, causing null pointer exceptions. This happens for
      example rotating the screen while an update is being installed.
      
      Also, replace the existing check on mUpdaterController with a check
      on mDownloadsId since the latter depends on the former and both are
      required.
      
      Change-Id: I620fd7aa1e90468ab40dfedaa06c23f96f3e6807
      8b300f0d
    • Gabriele M's avatar
      Use Content-Length if greater than current size · 4f7db45f
      Gabriele M authored
      The server may temporarily report an incorrect size that is smaller
      than the actual size. Content-Length is expected to always be
      accurate, but its value does not correspond to the full file size
      when resuming downloads. Use Content-Length only if it's bigger
      than the currently known size.
      
      Change-Id: I2cc06bfbd2349f21528047b4840f549fbe84964e
      4f7db45f
  26. 08 May, 2018 1 commit
  27. 04 May, 2018 1 commit
  28. 21 Apr, 2018 1 commit
  29. 20 Apr, 2018 1 commit
    • Gabriele M's avatar
      Append random ID to temporary json file names · cc1ad0e8
      Gabriele M authored
      Multiple update list downloads can happen simultaneously. Use
      unique file names for the temporary jsons to avoid conflicts.
      
      Change-Id: I751c9838394e1f5aebbe359f61532947b429f39b
      cc1ad0e8