Skip to content

Commit b7870f6

Browse files
zhaoqxucopybara-github
authored andcommitted
Fix a bug that we applied the wrong acl for guarding resource name obfuscation.
PiperOrigin-RevId: 582174329 Change-Id: I2a05fb3a97480b7afea72e9339a7b97dcf063017
1 parent b7404c9 commit b7870f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/resources.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,7 @@ def _is_resource_name_obfuscation_enabled(ctx, is_resource_shrunk):
20952095
return (ctx.fragments.android.use_android_resource_name_obfuscation or
20962096
_FEATURE_RESOURCE_NAME_OBFUSCATION in ctx.features) and \
20972097
is_resource_shrunk and \
2098-
not acls.in_android_binary_raw_access_to_resource_paths_allowlist(str(ctx.label))
2098+
not acls.in_android_binary_resource_name_obfuscation_opt_out_allowlist(str(ctx.label))
20992099

21002100
resources = struct(
21012101
process = _process,

0 commit comments

Comments
 (0)