summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-03-23 14:38:44 -0700
committerAshwini Oruganti <ashfall@google.com>2020-03-23 14:38:44 -0700
commit4d0e80957529777cbb87cd50d26c83a1968caa40 (patch)
tree6bd31538d39d728e0b3bcc3c1ca5f2327f83c62e /AndroidManifest.xml
parent10a42cbd4d9993c7da4cbe15c2f20e7e145e8b3b (diff)
downloadHTMLViewer-4d0e80957529777cbb87cd50d26c83a1968caa40.tar.gz
Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for S+. This change adds the value reflecting the previous default to the manifest. These changes were made using an automated tool, the xml file may be reformatted slightly creating a larger diff. The only "real" change is the addition of "android:exported" to activities, services, and receivers that have one or more intent-filters. Bug: 150232615 Test: TH Exempt-From-Owner-Approval: mechanical refactoring Change-Id: I532d806c8aef39e131e1456dd200223b05a8cabf
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml23
1 files changed, 13 insertions, 10 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 655127b..f6b8db3 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/Browser/AndroidManifest.xml
**
@@ -18,18 +19,19 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.htmlviewer">
- <original-package android:name="com.android.htmlviewer" />
+ package="com.android.htmlviewer">
+ <original-package android:name="com.android.htmlviewer"/>
<application android:label="@string/app_label"
- android:supportsRtl="true">
+ android:supportsRtl="true">
<activity android:name="HTMLViewerActivity"
- android:label="@string/app_label"
- android:theme="@android:style/Theme.DeviceDefault.Settings">
+ android:label="@string/app_label"
+ android:theme="@android:style/Theme.DeviceDefault.Settings"
+ android:exported="true">
<intent-filter>
- <category android:name="android.intent.category.DEFAULT" />
- <action android:name="android.intent.action.VIEW" />
- <data android:scheme="content" />
+ <category android:name="android.intent.category.DEFAULT"/>
+ <action android:name="android.intent.action.VIEW"/>
+ <data android:scheme="content"/>
<data android:mimeType="text/html"/>
<data android:mimeType="text/plain"/>
<data android:mimeType="application/xhtml+xml"/>
@@ -37,7 +39,8 @@
</intent-filter>
</activity>
<meta-data android:name="android.nfc.disable_beam_default"
- android:value="true" />
- <meta-data android:name="android.max_aspect" android:value="2.1" />
+ android:value="true"/>
+ <meta-data android:name="android.max_aspect"
+ android:value="2.1"/>
</application>
</manifest>