summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ashwini Oruganti <ashfall@google.com> 2020-03-10 13:02:39 -0700
committer Ashwini Oruganti <ashfall@google.com> 2020-03-10 13:12:37 -0700
commit8c8287b5448028d1b3b43db651c94478714149cf (patch)
tree189e149549f18e12d231c81fdb1c24d9389e75f9
parent72fcef13fa57edf60775a98995a60aa92e5f48fd (diff)
CompanionDeviceManager: 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. Bug: 150232615 Test: TH Change-Id: Ic35ee82ec75ac7697498652725dc10188885a514
-rw-r--r--packages/CompanionDeviceManager/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/CompanionDeviceManager/AndroidManifest.xml b/packages/CompanionDeviceManager/AndroidManifest.xml
index a9c668599a2a..f24e3bb61aef 100644
--- a/packages/CompanionDeviceManager/AndroidManifest.xml
+++ b/packages/CompanionDeviceManager/AndroidManifest.xml
@@ -46,7 +46,8 @@
<activity
android:name=".DeviceChooserActivity"
android:theme="@style/ChooserActivity"
- android:permission="android.permission.BIND_COMPANION_DEVICE_MANAGER_SERVICE">
+ android:permission="android.permission.BIND_COMPANION_DEVICE_MANAGER_SERVICE"
+ android:exported="true">
<!--TODO include url scheme filter similar to PrintSpooler -->
<intent-filter>
<action android:name="android.companiondevice.START_DISCOVERY" />