Skip to content

Commit 8a22f01

Browse files
Sungsoo LimAndroid (Google) Code Review
authored andcommitted
Merge "Add version attribute in tv_content_rating_system.xml" into lmp-dev
2 parents bee465f + 6219fa8 commit 8a22f01

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

core/res/res/xml/tv_content_rating_systems.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
** limitations under the License.
1717
*/
1818
-->
19-
<rating-system-definitions>
19+
<rating-system-definitions version="1.0">
2020
<!-- Range specific TV content rating system for AM TV-->
2121
<rating-system-definition id="AM_TV_RS"
2222
displayName="@string/display_name_amtvrs"

media/java/android/media/tv/TvContentRating.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
* &lt;?xml version="1.0" encoding="UTF-8"?&gt;
4242
* &lt;!DOCTYPE rating-systems [
4343
* &lt;!ELEMENT rating-system-definitions (rating-system-definition+)&gt;
44+
* &lt;!ATTLIST rating-system-definitions
45+
* version CDATA #REQUIRED&gt;
4446
* &lt;!ELEMENT rating-system-definition (
4547
* (sub-rating-definition*, rating-definition, sub-rating-definition*)+, order*)&gt;
4648
* &lt;!ATTLIST rating-system-definition
@@ -73,7 +75,7 @@
7375
* <u>System defined string for {@code domain}</u>
7476
* <table border="0" cellspacing="0" cellpadding="0">
7577
* <tr>
76-
* <td>String value</td>
78+
* <td width=10%>String value</td>
7779
* <td>Comments</td>
7880
* </tr>
7981
* <tr>
@@ -85,7 +87,7 @@
8587
* <u>System defined string for {@code ratingSystem}</u>
8688
* <table border="0" cellspacing="0" cellpadding="0">
8789
* <tr>
88-
* <td>String value</td>
90+
* <td width=10%>String value</td>
8991
* <td>Comments</td>
9092
* </tr>
9193
* <tr>
@@ -282,7 +284,7 @@
282284
* <u>System defined string for {@code rating}</u>
283285
* <table border="0" cellspacing="0" cellpadding="0">
284286
* <tr>
285-
* <td>String value</td>
287+
* <td width=10%>String value</td>
286288
* <td>Comments</td>
287289
* </tr>
288290
* <tr>
@@ -767,7 +769,6 @@
767769
* <tr>
768770
* <td>IN_TV_S</td>
769771
* <td>Public exhibition restricted to members of any profession or any class of persons
770-
* <td>Public exhibition restricted to members of any profession or any class of persons
771772
* </td>
772773
* </tr>
773774
* <tr>
@@ -860,7 +861,6 @@
860861
* <tr>
861862
* <td>MX_TV_A</td>
862863
* <td>Appropriate for all ages, parental guidance is recommended for children under 7 years
863-
* <td>Appropriate for all ages, parental guidance is recommended for children under 7 years
864864
* </td>
865865
* </tr>
866866
* <tr>
@@ -871,7 +871,6 @@
871871
* <tr>
872872
* <td>MX_TV_B-15</td>
873873
* <td>Designed for ages 15 and up, slightly more intensive than the \'A\' and \'B\' ratings
874-
* <td>Designed for ages 15 and up, slightly more intensive than the \'A\' and \'B\' ratings
875874
* </td>
876875
* </tr>
877876
* <tr>
@@ -1237,7 +1236,6 @@
12371236
* <tr>
12381237
* <td>US_TVPG_TV_PG</td>
12391238
* <td>This program contains material that parents may find unsuitable for younger children
1240-
* <td>This program contains material that parents may find unsuitable for younger children
12411239
* </td>
12421240
* </tr>
12431241
* <tr>
@@ -1310,7 +1308,7 @@
13101308
* <u>System defined string for {@code subRating}</u>
13111309
* <table border="0" cellspacing="0" cellpadding="0">
13121310
* <tr>
1313-
* <td>String value</td>
1311+
* <td width=10%>String value</td>
13141312
* <td>Comments</td>
13151313
* </tr>
13161314
* <tr>

0 commit comments

Comments
 (0)