path is doing a full path match. It did not guard /btopp/
also fix a minor problem in tests/AndroidManifest.xml
bug
11148516
(cherry picked from commit
2819c1dbef39a712ab8adfcd36d2cb01f2379259)
Change-Id: I00b23e5c3a98422c2dd1cc220f2c121578ff5c8f
android:exported="true"
android:process="@string/process">
<path-permission
- android:path="/btopp"
+ android:pathPrefix="/btopp"
android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
</provider>
<service
<application>
<uses-library android:name="android.test.runner" />
<uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
- <uses-permission android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE" />
+ <uses-permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE" />
<path-permission
android:path="/btopp"
android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />