Commit 7e67151
rich cannings
Add permission checks for Verification API calls
Ensure that only applications with
android.Manifest.permission.PACKAGE_VERIFICATION_AGENT can call application
verification APIs, like PackageManager.verifyPendingInstall and
PackageManager.extendVerificationTimeout
Bug: 7049083
Change-Id: I5fc28b37e864d67cd319a1ed9d03a90dd15ad0521 parent ac137b3 commit 7e67151
File tree
4 files changed
+15
-2
lines changed- api
- core
- java/android/content/pm
- res
- services/java/com/android/server/pm
4 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2319 | 2319 | | |
2320 | 2320 | | |
2321 | 2321 | | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
2322 | 2325 | | |
2323 | 2326 | | |
2324 | 2327 | | |
| |||
2342 | 2345 | | |
2343 | 2346 | | |
2344 | 2347 | | |
2345 | | - | |
2346 | 2348 | | |
2347 | 2349 | | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
2348 | 2353 | | |
2349 | 2354 | | |
2350 | 2355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | | - | |
1666 | 1665 | | |
1667 | 1666 | | |
1668 | 1667 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5531 | 5531 | | |
5532 | 5532 | | |
5533 | 5533 | | |
| 5534 | + | |
| 5535 | + | |
| 5536 | + | |
| 5537 | + | |
5534 | 5538 | | |
5535 | 5539 | | |
5536 | 5540 | | |
| |||
5542 | 5546 | | |
5543 | 5547 | | |
5544 | 5548 | | |
| 5549 | + | |
| 5550 | + | |
| 5551 | + | |
| 5552 | + | |
5545 | 5553 | | |
5546 | 5554 | | |
5547 | 5555 | | |
| |||
0 commit comments