Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2d773b99 authored by Michael W's avatar Michael W
Browse files

DeskClock: Fix timer notification

* Currently, pressing the timer notification does nothing
  (but add some logs...)
* Since Android 12, notification trampolines are restricted:
  https://developer.android.com/about/versions/12/behavior-changes-12#notification-trampolines
* We need to start an activity directly, therefore move the relevant
  code to DeskClock.java directly

* Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5558

Test:
- Start a timer (with enough time for the rest of the test)
- Minimize app
- Wait for notification and tap it -> DeskClock reopens at timer tab
- Close app
- Wait for notification and tap it -> DeskClock reopens at timer tab

Change-Id: I18c742b0b6de840776931a4fb42c2420c4c9fae1
parent 943a2dcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment