summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-03-23 16:00:06 -0700
committerAshwini Oruganti <ashfall@google.com>2020-03-23 16:00:06 -0700
commit18ad9bb2e6d3ec2dbbbbac8c74ccb1741394424b (patch)
tree574c8867c50103d9e7a6dbaf26433e292dabe9a5
parent4d4e9490fdd512668ac0d47764f3eeb19504a6d2 (diff)
downloadTerminal-18ad9bb2e6d3ec2dbbbbac8c74ccb1741394424b.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: Id3c5cd0fe0a30326bfaae06a6ac3d4f304a32296
-rw-r--r--AndroidManifest.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 6e2c3e1..cf64269 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,23 +15,22 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.terminal">
+ package="com.android.terminal">
- <application
- android:label="@string/app_label"
- android:enabled="false">
+ <application android:label="@string/app_label"
+ android:enabled="false">
- <activity
- android:name=".TerminalActivity"
- android:windowSoftInputMode="stateAlwaysVisible|adjustResize">
+ <activity android:name=".TerminalActivity"
+ android:windowSoftInputMode="stateAlwaysVisible|adjustResize"
+ android:exported="true">
<intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.DEFAULT" />
- <category android:name="android.intent.category.LAUNCHER" />
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <service android:name=".TerminalService" />
+ <service android:name=".TerminalService"/>
</application>
</manifest>