This project is mirrored from https://github.com/LineageOS/android_packages_apps_Updater.git. Pull mirroring updated .
  1. 13 Jun, 2022 1 commit
  2. 27 May, 2022 1 commit
  3. 23 May, 2022 2 commits
  4. 06 May, 2022 1 commit
  5. 05 May, 2022 1 commit
  6. 04 May, 2022 1 commit
  7. 02 May, 2022 2 commits
  8. 13 Apr, 2022 2 commits
  9. 27 Mar, 2022 1 commit
  10. 24 Mar, 2022 1 commit
  11. 22 Mar, 2022 1 commit
  12. 21 Mar, 2022 2 commits
  13. 07 Mar, 2022 1 commit
  14. 06 Mar, 2022 1 commit
  15. 23 Feb, 2022 1 commit
  16. 22 Feb, 2022 1 commit
  17. 17 Feb, 2022 1 commit
  18. 13 Feb, 2022 1 commit
  19. 11 Feb, 2022 2 commits
    • Michael W's avatar
      Updater: Don't show thousands of days · 25104aef
      Michael W authored
      * When pausing and resuming, the ETA calculation is off by a lot
        due to the time diff since the last calculation resulting in a
        big delta and therefore a very low speed
      * By fixing this, we also need to set the last byte count to the total
        byte count there, otherwise the downloaded bytes since last calculation
        will be larger than in reality, resulting in too fast speeds calculated
      
      Change-Id: Ica1053cc297ff59221ea2bc0014f20973a080c88
      25104aef
    • Michael W's avatar
      Updater: Move progress next to progressbar · 99e4d424
      Michael W authored
      * The progress text can get very long, resulting in jumping marquee text
      * In order to reduce the length, move the percentage out of the text
        and next to the progressbar
      * The behavior can be observed e.g. on pro1 in german, where the button
        is also wider due to the german text
      
      Change-Id: I0276182efed757c0929b31434edad9be548b841c
      99e4d424
  20. 10 Feb, 2022 14 commits
    • Alexander Martinz's avatar
      Updater: layout: activity_updates: add spacing between build info and last checked entry · c4e34d5b
      Alexander Martinz authored
      
      
      Change-Id: Ie85fecb30ba12b056569049aac674dc1b8653942
      Signed-off-by: default avatarAlexander Martinz <amartinz@shiftphones.com>
      c4e34d5b
    • Alexander Martinz's avatar
      Updater: Allow starting activities from background · 66fc9645
      Alexander Martinz authored
      
      
      -----
      
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: FATAL EXCEPTION: main
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: Process: com.shiftos.updater, PID: 19707
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.shiftos.updater/org.lineageos.updater.controller.UpdaterService }: app is in background uid UidRecord{1463ce2 u0a63 TPSL bg:+47m50s26ms idle change:idle procs:1 seq(0,0,0)}
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1616)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.ContextImpl.startService(ContextImpl.java:1571)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.content.ContextWrapper.startService(ContextWrapper.java:669)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at org.lineageos.updater.UpdatesActivity.onStart(UpdatesActivity.java:181)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1433)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.Activity.performStart(Activity.java:7847)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3295)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2017)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:107)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7397)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
      05-06 17:21:58.988 10063 19707 19707 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
      
      -----
      
      Change-Id: Ibc2d471b028c1d4e824b3ede4bbc336d76801f88
      Signed-off-by: default avatarAlexander Martinz <amartinz@shiftphones.com>
      66fc9645
    • Joey's avatar
      Updater: use consistent format for file sizes · 3c7a7cd4
      Joey authored
      
      
      Change-Id: I9a17cf2df69e2e39e90de169ca108511c71d4e31
      Signed-off-by: default avatarJoey <joey@lineageos.org>
      3c7a7cd4
    • Michael W's avatar
      Updater: Show toast when starting export · 1d3758d5
      Michael W authored
      * It's not immediately clear that an export is started since the
        notification isn't intrusive
      * Show a toast - that will be clear enough
      
      Change-Id: I78d78b23884df3ddb37bc486c1d6012f899c888d
      1d3758d5
    • Michael W's avatar
      Updater: Switch to destination selector · 12a22e43
      Michael W authored
      * Let the user decide where to store the file
      * That way it's not located in /storage/emulated/0/Android/data/...
        ...org.lineageos.updater/files/LineageOS updates/*.zip
        -> The user knows where the file is stored
        -> We don't have to care about WRITE_EXTERNAL_STORAGE etc
      * Remove the cancel button - after closing the file stream we loose
        permission to access it, therefore can't delete it anymore
        -> Let the user handle deletion manually
      * Since we don't use WRITE_EXTERNAL_STORAGE anymore, remove it from
        Manifest and also remove PermissionUtils (+calls) - we can now export
        immediately.
        -> This also solves the
        "TODO: start exporting once the permission has been granted"
      
      Change-Id: I50afa403f2803569aa9def807ea20ee72c582284
      12a22e43
    • Michael W's avatar
      Updater: No need to install every update · 2623730b
      Michael W authored
      * Apparently users are not aware that they don't have to install every
        update we ever released (weeklies) after they have skipped some due
        to various reasons
      * Since we are providing full installation packages, remind the user that
        it's ok to only ever choose the newest one
      
      Change-Id: I70f9acd70344f36aaae7e45b848f6bcb7a8b3c0f
      2623730b
    • Michael W's avatar
      Updater: We don't do upgrades · f2ac903e
      Michael W authored
      * We are actually updating, but especially between translations and
        non native speakers, drawing a semantical difference is more harmful
        than helpful
      * Use "install" instead
      
      Change-Id: Icdf1ce45d6cd35334b5c8ac13af3ec6741d837b6
      f2ac903e
    • Michael Bestas's avatar
      Updater: Add exported flags in manifest · 8f332103
      Michael Bestas authored
      Targeting S+ (version 31 and above) requires that an explicit value
      for android:exported be defined when intent filters are present
      
      Change-Id: I2ce2b2cd1dcd69e343ae8577587483b19d825fdc
      8f332103
    • Michael Bestas's avatar
      Updater: Add FLAG_IMMUTABLE flag to PendingIntent · e0bcaec5
      Michael Bestas authored
      Fixes:
      Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE
      or FLAG_MUTABLE be specified when creating a PendingIntent.
      
      Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some
      functionality depends on the PendingIntent being mutable,
      e.g. if it needs to be used with inline replies or bubbles.
      
      Change-Id: I63b25512d3bf6e0d3b0cc95d91295f4065175848
      e0bcaec5
    • Michael W's avatar
      Updater: The great cleanup · 46c06ad9
      Michael W authored
      * Make final where possible
      * Remove unused casts, imports, methods, enums and constructors
      * Add null checks
      
      Change-Id: Idd1a16426dd1928e2ed9922f5a35ba32ce4f808b
      46c06ad9
    • Michael W's avatar
      Updater: update dependencies · bdb6a3ff
      Michael W authored
      Change-Id: I0686b28e7f6754c1b11b219b9036ea372032070b
      bdb6a3ff
    • Michael W's avatar
      Updater: Replace lintOptions with lint · 16cc9dd2
      Michael W authored
      * As per AS recommendation
      
      Change-Id: Id3668f21f356f13dcce4576c528b8af06d77a95f
      16cc9dd2
    • Michael W's avatar
      Updater: Compile with and target Sdk version 30 · 541e70f7
      Michael W authored
      Change-Id: Ie479a27173e9941ab3152eb3ce6078c794b5aa7f
      541e70f7
    • Michael W's avatar
      Updater: Change gradle from 3.5 to 7.1 · 45bb652a
      Michael W authored
      Change-Id: Ia70512a77cdb30c6315863dcb65233d38cb5c9b9
      45bb652a
  21. 06 Feb, 2022 1 commit
  22. 03 Feb, 2022 1 commit