Commit 913e67c
Add background operations with persistent notifications, update to version 1.7.2
New Features:
- Background Operations: Operations continue when app is minimized or screen is off
- Persistent Notifications: Real-time progress updates in status bar showing file count, current file, and percentage
- Foreground Service: OperationService manages all long-running operations (extract, compress, decompile, create)
- Completion Notifications: Dismissible notifications remain visible after operations complete for easy review
- Notification Permissions: Added POST_NOTIFICATIONS permission support for Android 13+
- Thread Safety: All I/O operations moved to Dispatchers.IO for smooth UI performance
Technical Implementation:
- New OperationService foreground service with dataSync type
- Progress polling every 500ms with notification updates
- Initial progress written before service start for instant notification display
- STOP_FOREGROUND_DETACH keeps completion notifications visible
- Android 13+ notification permission handling in MainActivity
- All operations (extraction, compression, decompilation, creation) integrated with service
Documentation:
- Updated README with comprehensive feature list and usage instructions
- Added background operations technical details
- Updated requirements and architecture sections
- Added FFmpeg-Kit and Sora Editor credits
Version:
- Updated versionCode to 11
- Updated versionName to "1.7.2"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent a2f9e3d commit 913e67c
File tree
6 files changed
+412
-29
lines changed- app
- src/main
- java/com/renpytool
6 files changed
+412
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
11 | 24 | | |
| 25 | + | |
12 | 26 | | |
13 | | - | |
| 27 | + | |
| 28 | + | |
14 | 29 | | |
15 | 30 | | |
16 | 31 | | |
17 | | - | |
| 32 | + | |
18 | 33 | | |
19 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
20 | 37 | | |
21 | 38 | | |
22 | 39 | | |
| |||
29 | 46 | | |
30 | 47 | | |
31 | 48 | | |
32 | | - | |
| 49 | + | |
33 | 50 | | |
34 | 51 | | |
35 | 52 | | |
| 53 | + | |
36 | 54 | | |
37 | 55 | | |
38 | 56 | | |
| |||
103 | 121 | | |
104 | 122 | | |
105 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
106 | 148 | | |
107 | 149 | | |
108 | 150 | | |
| |||
118 | 160 | | |
119 | 161 | | |
120 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
121 | 179 | | |
122 | 180 | | |
123 | 181 | | |
124 | | - | |
125 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
126 | 185 | | |
127 | 186 | | |
128 | 187 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
135 | 197 | | |
136 | 198 | | |
137 | 199 | | |
138 | 200 | | |
139 | 201 | | |
| 202 | + | |
| 203 | + | |
140 | 204 | | |
141 | 205 | | |
142 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
54 | 65 | | |
55 | 66 | | |
56 | 67 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
133 | 147 | | |
134 | 148 | | |
135 | 149 | | |
| |||
176 | 190 | | |
177 | 191 | | |
178 | 192 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
187 | 213 | | |
188 | 214 | | |
189 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
94 | 113 | | |
95 | 114 | | |
96 | 115 | | |
| |||
100 | 119 | | |
101 | 120 | | |
102 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
103 | 140 | | |
104 | 141 | | |
105 | 142 | | |
| |||
187 | 224 | | |
188 | 225 | | |
189 | 226 | | |
190 | | - | |
| 227 | + | |
191 | 228 | | |
192 | 229 | | |
193 | 230 | | |
| |||
199 | 236 | | |
200 | 237 | | |
201 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
202 | 244 | | |
203 | 245 | | |
204 | 246 | | |
| |||
366 | 408 | | |
367 | 409 | | |
368 | 410 | | |
369 | | - | |
| 411 | + | |
370 | 412 | | |
371 | 413 | | |
372 | 414 | | |
| |||
378 | 420 | | |
379 | 421 | | |
380 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
381 | 428 | | |
382 | 429 | | |
383 | 430 | | |
| |||
433 | 480 | | |
434 | 481 | | |
435 | 482 | | |
436 | | - | |
| 483 | + | |
437 | 484 | | |
438 | 485 | | |
439 | 486 | | |
| |||
445 | 492 | | |
446 | 493 | | |
447 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
448 | 500 | | |
449 | 501 | | |
450 | 502 | | |
| |||
559 | 611 | | |
560 | 612 | | |
561 | 613 | | |
562 | | - | |
| 614 | + | |
563 | 615 | | |
564 | 616 | | |
565 | 617 | | |
| |||
571 | 623 | | |
572 | 624 | | |
573 | 625 | | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
574 | 631 | | |
575 | 632 | | |
576 | 633 | | |
| |||
0 commit comments