Commit ebd7f3f
committed
Refactor: Simplify notification permission request logic
- Simplified the intent creation and launch for notification settings on Android 14+ (Upside Down Cake).
- Removed a `FIXME` comment and suppressed the deprecation warning for `startActivityAndCollapse` on Android Oreo and above, as it is still the intended behavior for that code path.1 parent 267c0c6 commit ebd7f3f
File tree
1 file changed
+4
-5
lines changed- app/src/main/kotlin/com/d4rk/musicsleeptimer/plus/services
1 file changed
+4
-5
lines changedLines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | 88 | | |
0 commit comments