aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-02-12 02:39:42 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-02-12 02:39:42 +0000
commitaf151c0e0bbb036daf95566603d6d66927b5a513 (patch)
treeb39587be38f1cf92ed6999d552f277a463b88174
parent01a12d7b0af5dd9a7ab2c45ca9eb66e5cda53fe2 (diff)
parent6b35274c988d44603dd40117d7b0cb1b099b1e8b (diff)
downloadTV-af151c0e0bbb036daf95566603d6d66927b5a513.tar.gz
Move ratings to a seperate dir am: 6b2ddaa7a4 am: 6b35274c98
Change-Id: Ie1a28b2e64c2f8a827e557bf54bc61a28028e86d
-rw-r--r--Android.bp1
-rw-r--r--ratings/Android.bp20
-rw-r--r--ratings/AndroidManifest.xml22
-rw-r--r--ratings/res/values/rating_system_strings.xml (renamed from res/values/rating_system_strings.xml)0
-rw-r--r--ratings/res/xml/tv_content_rating_systems.xml (renamed from res/xml/tv_content_rating_systems.xml)0
5 files changed, 43 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 58ba27d0..79ae05c2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -62,6 +62,7 @@ android_app {
"tv-auto-factory-jar",
"tv-common",
"tv-error-prone-annotations-jar",
+ "tv-ratings-resources",
"tv-javax-annotations-jar",
"tv-lib-dagger",
"tv-lib-exoplayer",
diff --git a/ratings/Android.bp b/ratings/Android.bp
new file mode 100644
index 00000000..ced758f0
--- /dev/null
+++ b/ratings/Android.bp
@@ -0,0 +1,20 @@
+// Copyright (C) 2020 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+android_library {
+ name: "tv-ratings-resources",
+ sdk_version: "system_current",
+ resource_dirs: ["res"],
+ min_sdk_version: "23",
+}
diff --git a/ratings/AndroidManifest.xml b/ratings/AndroidManifest.xml
new file mode 100644
index 00000000..42428d18
--- /dev/null
+++ b/ratings/AndroidManifest.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2020 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.tv.ratings" xmlns:tools="http://schemas.android.com/tools">
+ <uses-sdk android:targetSdkVersion="28" android:minSdkVersion="23"/>
+ <application />
+</manifest>
diff --git a/res/values/rating_system_strings.xml b/ratings/res/values/rating_system_strings.xml
index 9922cb1c..9922cb1c 100644
--- a/res/values/rating_system_strings.xml
+++ b/ratings/res/values/rating_system_strings.xml
diff --git a/res/xml/tv_content_rating_systems.xml b/ratings/res/xml/tv_content_rating_systems.xml
index 361393f5..361393f5 100644
--- a/res/xml/tv_content_rating_systems.xml
+++ b/ratings/res/xml/tv_content_rating_systems.xml