Commit b22fb08
committed
fix lock screen orientation issues
- Implement `setUninstallBlocked` in `DeviceAdmin` to programmatically prevent app uninstallation when anti-uninstall is enabled
- Update `PasswordOverlayActivity` to handle configuration changes (orientation, screen size) without finishing the activity
- Fix logic in `PasswordOverlayScreen.kt` to prevent the lock screen from dismissing during configuration changes
- Refactor `AppLockAccessibilityService` to improve detection of device admin settings pages and simplify deactivation checks
- Remove redundant `ADMIN_CONFIG_CLASSES` and simplify exclusion logic in `ExperimentalAppLockService`
- Add logging for orientation changes in `PasswordOverlayScreen`1 parent 4a0effc commit b22fb08
6 files changed
+22
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| |||
285 | 290 | | |
286 | 291 | | |
287 | 292 | | |
288 | | - | |
| 293 | + | |
289 | 294 | | |
290 | 295 | | |
291 | 296 | | |
| |||
301 | 306 | | |
302 | 307 | | |
303 | 308 | | |
304 | | - | |
| 309 | + | |
305 | 310 | | |
306 | 311 | | |
307 | 312 | | |
| |||
Lines changed: 8 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
115 | | - | |
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 117 | + | |
124 | 118 | | |
125 | 119 | | |
126 | 120 | | |
| |||
372 | 366 | | |
373 | 367 | | |
374 | 368 | | |
375 | | - | |
376 | | - | |
377 | 369 | | |
378 | 370 | | |
379 | 371 | | |
| |||
385 | 377 | | |
386 | 378 | | |
387 | 379 | | |
388 | | - | |
389 | | - | |
| 380 | + | |
| 381 | + | |
390 | 382 | | |
391 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
392 | 386 | | |
393 | 387 | | |
394 | 388 | | |
| |||
404 | 398 | | |
405 | 399 | | |
406 | 400 | | |
407 | | - | |
408 | 401 | | |
409 | 402 | | |
410 | 403 | | |
| |||
423 | 416 | | |
424 | 417 | | |
425 | 418 | | |
| 419 | + | |
426 | 420 | | |
427 | | - | |
| 421 | + | |
428 | 422 | | |
429 | 423 | | |
430 | 424 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
| 162 | + | |
165 | 163 | | |
166 | 164 | | |
167 | 165 | | |
| |||
0 commit comments