This project is mirrored from https://github.com/LineageOS/android_packages_apps_DeskClock.git. Pull mirroring updated .
  1. 03 Dec, 2020 3 commits
  2. 01 Dec, 2020 9 commits
  3. 24 Nov, 2020 1 commit
  4. 20 Nov, 2020 1 commit
  5. 02 Nov, 2020 1 commit
  6. 01 Nov, 2020 1 commit
  7. 27 Oct, 2020 2 commits
  8. 01 Oct, 2020 2 commits
  9. 20 Sep, 2020 2 commits
  10. 12 Sep, 2020 2 commits
  11. 09 Sep, 2020 3 commits
  12. 07 Sep, 2020 2 commits
  13. 19 Aug, 2020 1 commit
  14. 18 Aug, 2020 1 commit
  15. 23 Jul, 2020 2 commits
    • Raman Tenneti's avatar
      DeskClock: Fix alarm clock screen show black when screen locked; · 67527f30
      Raman Tenneti authored
      Root cause: API ActivityTaskManagerService.notifyKeyguardFlagsChanged is called multiple times,
      which causes the activity status abnormal.
      
      Solution: Add 'android:showWhenLocked = true' to
      ensure activity show on the top even  when screen locked.
      
      BUG: 156311117
      
      Test: manual - Tested the DeskClock UI manually and tested the alarm.
      
      $ make -j 40
      $ ls -l  out/target/product/bonito/product/app/DeskClock/DeskClock.apk
        -rw-r----- 1 rtenneti primarygroup 6117353 Jul 13 11:35 out/target/product/bonito/product/app/DeskClock/DeskClock.apk
      
      $ adb install -r out/target/product/bonito/product/app/DeskClock/DeskClock.apk
      
      + Verified by setting up the alaram, lock the screen and waiting for the alarm to go off.
      
      Change-Id: I69c44571cd86c21203311c89081c8935d5ed1450
      67527f30
    • Raman Tenneti's avatar
      AOSP/DeskClock - Call executePendingTransactions only if mFragmentManager is... · 11b4721b
      Raman Tenneti authored
      AOSP/DeskClock - Call executePendingTransactions only if mFragmentManager is not destroyed. Fixes the crash bug. Code matches internal code.
      
      BUG: 153590150
      
      Test: manual - Tested the DeskClock UI manually and tested the timer.
      
      $ make -j 40
      
      ... 6117353 Jul  7 15:27 out/target/product/bonito/product/app/DeskClock/DeskClock.apk
      
      $ adb install -r -d -t out/target/product/bonito/product/app/DeskClock/DeskClock.apk
      
      Change-Id: I582013ebffef2c8d1ec16255ea531d874d14a968
      11b4721b
  16. 14 Jul, 2020 1 commit
  17. 13 Jul, 2020 4 commits
    • Michael W's avatar
      DeskClock: Fix FAB not being shown everytime · c38683a9
      Michael W authored
      * The getTimer() method returns null when we call getFabTargetVisibility()
        before the onCreateView method gets called, resulting in the FAB not
        being shown
      * A video how to reproduce the issue can be found on the bug report linked
        below
      * Fix: Always return the first timer (if one exists) so we can properly
        decide if the FAB needs to be shown
      
      Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/2250
      Change-Id: Id16686c729ee41d14c890827dc441e81511c8405
      c38683a9
    • Michael Bestas's avatar
      DeskClock: Remove unused imports from NotificationUtils · 8a9bb0c3
      Michael Bestas authored
      Change-Id: I421928b0dae80290bf318a117037c8044a1c7b3b
      8a9bb0c3
    • Michael Bestas's avatar
      DeskClock: Stop depending on platform APIs · 68a451b0
      Michael Bestas authored
      * We can build with sdk_version = current after latest changes
      
      Change-Id: Ie424ffd156e9595082dc8ad935fb1c9e8e22bd87
      68a451b0
    • Michael W's avatar
      DeskClock: Remove references to org.lineageos.platform.internal · 9378f673
      Michael W authored
      * Was used for a feature that isn't used anymore
      * We need to create new tables because dropping columns isn't supported
        -> create temp tables, copy over values, remove old tables, rename temp
           tables
      * Also fixes alarm inserts, which partially failed due to increasing
        volume and profile being indexed wrong:
      "CursorWindow: Failed to read row 0, column 11 from a CursorWindow which
      has 1 rows, 11 columns."
      * Above fix is required for "new Alarms(cursor)" to not fail so we can
        actually get a valid Alarms object to insert into our (temp) database
      
      Change-Id: I80e495792dcb65955de09268c7df9c6846cee559
      9378f673
  18. 12 Jul, 2020 1 commit
    • Michael W's avatar
      DeskClock: Don't rely on framework · 2369e050
      Michael W authored
      * Building within an AOSP environment sets sdk_version: "current"
        which makes the build fail here due to usage of "com.android.internal"
        stuff
      * Set local ids instead where required and use PreferenceImageView
        from androidx instead of com.android.internal
      
      Change-Id: I5b50531720840ae81559c8fd958166154098b782
      2369e050
  19. 21 Jun, 2020 1 commit