Guard proc_compaction_proactiveness
Bug: 330670954 Test: TH Change-Id: I92c5f5d08fbe16a7c185e430799c98b6a9b38ecf
This commit is contained in:
parent
81bf7bd5a7
commit
ec218a7678
2 changed files with 5 additions and 6 deletions
|
@ -22,8 +22,11 @@ type proc_min_free_order_shift, fs_type, proc_type;
|
|||
type proc_kpageflags, fs_type, proc_type;
|
||||
type proc_watermark_boost_factor, fs_type, proc_type;
|
||||
type proc_percpu_pagelist_high_fraction, fs_type, proc_type;
|
||||
# TODO(b/330670954): guard this once all internal references are removed.
|
||||
type proc_compaction_proactiveness, fs_type, proc_type;
|
||||
|
||||
starting_at_board_api(202504, `
|
||||
type proc_compaction_proactiveness, fs_type, proc_type;
|
||||
')
|
||||
|
||||
# proc, sysfs, or other nodes that permit configuration of kernel usermodehelpers.
|
||||
type usermodehelper, fs_type, proc_type;
|
||||
type sysfs_usermodehelper, fs_type, sysfs_type;
|
||||
|
|
|
@ -48,10 +48,6 @@ def do_main():
|
|||
removed_attributes = prebuilt_policy.typeattributes - current_policy.typeattributes
|
||||
added_attributes = current_policy.typeattributes - prebuilt_policy.typeattributes
|
||||
|
||||
# TODO(b/330670954): remove this once all internal references are removed.
|
||||
if "proc_compaction_proactiveness" in added_types:
|
||||
added_types.remove("proc_compaction_proactiveness")
|
||||
|
||||
if removed_types:
|
||||
results += "The following public types were removed:\n" + ", ".join(removed_types) + "\n"
|
||||
|
||||
|
|
Loading…
Reference in a new issue