| Index: tools/grit/grit/format/policy_templates/writers/android_policy_writer.py
|
| diff --git a/tools/grit/grit/format/policy_templates/writers/android_policy_writer.py b/tools/grit/grit/format/policy_templates/writers/android_policy_writer.py
|
| index 3f8518382a55582b185c3a845a8d273a1328e9c5..b5a686260c3935a4d519752c87302d2d9feaf005 100755
|
| --- a/tools/grit/grit/format/policy_templates/writers/android_policy_writer.py
|
| +++ b/tools/grit/grit/format/policy_templates/writers/android_policy_writer.py
|
| @@ -64,18 +64,12 @@ class AndroidPolicyWriter(xml_formatted_writer.XMLFormattedWriter):
|
| def CanBeRecommended(self, policy):
|
| return False
|
|
|
| - def IsDeprecatedPolicySupported(self, policy):
|
| - return True
|
| -
|
| - def IsFuturePolicySupported(self, policy):
|
| - return True
|
| -
|
| def WritePolicy(self, policy):
|
| name = policy['name']
|
| self.AddStringResource(name + 'Title', policy['caption'])
|
|
|
| - # Get the first line of the policy description.
|
| - description = policy['desc'].split('\n', 1)[0]
|
| + # Get the policy description.
|
| + description = policy['desc']
|
| self.AddStringResource(name + 'Desc', description)
|
|
|
| items = policy.get('items')
|
|
|