summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceParser.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-11-04 13:51:45 -0800
committerAdam Lesinski <adamlesinski@google.com>2015-11-05 10:56:32 -0800
commit9f22204c3a9ddac4f92573c9ab098e6cf3ed1cb4 (patch)
tree7146efe6062b17d4a5fb63230ac3e8d64b1f2e17 /tools/aapt2/ResourceParser.h
parent08322c2152131979a846d399ca6b9bebdbdc0355 (diff)
AAPT2: Fix small issue with detecting translatable resources
Change-Id: Idd21b5de4d20be06c6f8c8eb5a22ccd68afc4927
Diffstat (limited to 'tools/aapt2/ResourceParser.h')
-rw-r--r--tools/aapt2/ResourceParser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt2/ResourceParser.h b/tools/aapt2/ResourceParser.h
index 2d5a29df2c49..06b2581ceaff 100644
--- a/tools/aapt2/ResourceParser.h
+++ b/tools/aapt2/ResourceParser.h
@@ -40,6 +40,11 @@ struct ResourceParserOptions {
* that don't match before we compile them.
*/
Maybe<std::u16string> product;
+
+ /**
+ * Whether the default setting for this parser is to allow translation.
+ */
+ bool translatable = true;
};
/*