OSDN Git Service

Explicitly export content providers
authorNick Kralevich <nnk@google.com>
Mon, 30 Jul 2012 19:41:30 +0000 (12:41 -0700)
committerNick Kralevich <nnk@google.com>
Mon, 30 Jul 2012 19:41:30 +0000 (12:41 -0700)
In a future version of Android, the default value for
<provider android:exported> will change from true to false.
Explicitly set android:exported="true"

Bug: 3306452
Change-Id: I4df74c627505c596a3bce81a5417d32e5002a75f

AndroidManifest.xml

index cfe0e18..c73d92f 100644 (file)
@@ -53,6 +53,7 @@
         <uses-library android:name="javax.obex" />
         <provider android:name=".opp.BluetoothOppProvider"
             android:authorities="com.android.bluetooth.opp"
+            android:exported="true"
             android:process="@string/process">
             <path-permission
                     android:path="/btopp"