summaryrefslogtreecommitdiff
path: root/oem_template/data_app/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'oem_template/data_app/AndroidManifest.xml')
-rw-r--r--oem_template/data_app/AndroidManifest.xml62
1 files changed, 62 insertions, 0 deletions
diff --git a/oem_template/data_app/AndroidManifest.xml b/oem_template/data_app/AndroidManifest.xml
new file mode 100644
index 0000000..1f4046c
--- /dev/null
+++ b/oem_template/data_app/AndroidManifest.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * Copyright (C) 2017 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.
+ -->
+<!-- OEM-INSTRUCTION: Change the package attribute to something OEM-specific. -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="CHANGE">
+
+ <!--
+ OEM-INSTRUCTION: Change these to match the platform release the app is
+ for and update for every platform release to ensure the app is only
+ installed on the release it is targeted for. Typically, all values should
+ be the same unless two Android releases use the same distro format
+ version.
+
+ Your app version code strategy and the version of the app included in the
+ system image should be chosen to prevent older versions of the app being
+ installed on newer Android devices.
+ minSdkVersion will prevent newer versions of the app being installed on
+ older devices.
+ maxSdkVersion is not used by the device, but can be used by app stores to
+ prevent the app being shown to users of newer devices.
+ -->
+ <uses-sdk android:minSdkVersion="CHANGE"
+ android:targetSdkVersion="CHANGE"
+ android:maxSdkVersion="CHANGE" />
+
+ <!--
+ OEM-INSTRUCTION: Optionally restrict the app to an OEM-specific feature,
+ or remove the element entirely.
+ -->
+ <uses-feature
+ android:name="CHANGE"
+ android:required="true"/>
+
+ <application
+ android:allowBackup="false"
+ android:label="@string/app_name">
+
+ <provider
+ android:name="com.android.timezone.data.TimeZoneRulesDataProvider"
+ android:authorities="com.android.timezone"
+ android:grantUriPermissions="true"
+ android:readPermission="android.permission.UPDATE_TIME_ZONE_RULES"
+ android:exported="true">
+ <meta-data android:name="android.timezoneprovider.OPERATION"
+ android:value="INSTALL"/>
+ </provider>
+ </application>
+</manifest>