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

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

DeskClock: Fix stopwatch notification

* Currently, pressing the stopwatch 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/5586

Test:
- Start the stopwatch
- Minimize app
- Wait for notification and tap it -> DeskClock reopens at stopwatch tab
- Close app
- Wait for notification and tap it -> DeskClock reopens at stopwatch tab

Change-Id: I4dc23e1f134b9c69f5df361d4403b946e84131c4
parent ab6b2b85
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