android_packages_modules_Co.../tests/common/java/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi ab1a0671c7 Stop throwing when the invalid capability is passed
When new capability is introduced and added to capaility or
forbiddenCapability by default, module rollback could cause system
server crash since JobScheduler persists network request that contains
new capability that is invalid for old code.
This CL updates capability validation not to throw exception to avoid
system crash in this case.

Bug: 343823469
Bug: 313030307
Test: NetworkCapabilitiesTest
Change-Id: I5708c475f3b4974284531212b77f9788ca9f497e
2024-06-05 11:57:18 +09:00
..
net Stop throwing when the invalid capability is passed 2024-06-05 11:57:18 +09:00