aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2021-09-23 17:18:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-09-23 17:18:34 +0000
commitd1a12c7e5c22c96945aa9af53b56325c8581defc (patch)
tree1a751dc314695730c911b0811f6d0f5285556e2f
parent75adcf17226a340b01c4aac29c9a74ef855bd2e8 (diff)
parent81d1d4677a2af8ea9466f89aff0321286b26b4c7 (diff)
downloadtests-d1a12c7e5c22c96945aa9af53b56325c8581defc.tar.gz
Merge "Add plurals to ignore string check" into sc-v2-dev
-rw-r--r--tools/rro/resource_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rro/resource_utils.py b/tools/rro/resource_utils.py
index 8628abf..11e8edc 100644
--- a/tools/rro/resource_utils.py
+++ b/tools/rro/resource_utils.py
@@ -111,7 +111,7 @@ def get_resources_from_single_file(filename, ignore_strings=False):
resType = "array"
if resource.tag == 'item' or resource.tag == 'public':
resType = resource.get('type')
- if resType == 'string' and ignore_strings:
+ if (resType == 'string' or resType == 'plurals') and ignore_strings:
continue
if resType == 'overlayable':
for policy in resource: