android_packages_modules_Co.../staticlibs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi ed4e7ec954 Update the logic of isFeatureEnabled and isFeatureNotChickenedOut
If the flag value is unset or 0, isFeatureEnabled return false and
isFeatureNotChickenedOut return true.
If the flag value is -1 (force disable), both return false.
If the flag value is other values, both query the package version and
return `flagValue <= packageVersion`

Now the only difference is a default behavior when the flag is not set
or 0.
So isFeatureEnabled and isFeatureNotChickenedOut can use the same flag.

This CL also fixes the issue in rollback.
Before this CL, isFeatureNotChickenedOut did not check the module
version and could have a issue if there is a rollback.

Test: NetworkStaticLibsTests
Bug: 279108992
Change-Id: I12d6ebadff3aee7b7c614aca4eb0a34ef0db9857
2023-09-27 17:30:01 +09:00
..
client-libs bump min_sdk_version from 29 (Q) to 30 (R) 2023-09-19 23:22:58 +00:00
device Update the logic of isFeatureEnabled and isFeatureNotChickenedOut 2023-09-27 17:30:01 +09:00
framework/com/android/net/module/util Merge "Add IA Address option struct." into main 2023-09-07 08:43:12 +00:00
native use different log.h header file 2023-09-21 22:11:43 +00:00
netd bump min_sdk_version from 29 (Q) to 30 (R) 2023-09-19 23:22:58 +00:00
tests/unit Update the logic of isFeatureEnabled and isFeatureNotChickenedOut 2023-09-27 17:30:01 +09:00
testutils Merge changes I8843ce7c,I90566998 into main 2023-09-22 02:26:19 +00:00
Android.bp bump min_sdk_version from 29 (Q) to 30 (R) 2023-09-19 23:22:58 +00:00
jarjar-rules-shared.txt Support both R and S+ in NetworkFactory 2021-07-08 10:20:58 +00:00
lint-baseline.xml Baseline NewApi issues 2023-08-17 04:42:53 +00:00
TEST_MAPPING Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge 2023-09-11 11:53:46 +09:00