Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c422b0e authored by Matthew Xie's avatar Matthew Xie Committed by dcashman
Browse files

Use pathPrefix filter instead of path for /btopp content

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 55f86e09)

Change-Id: I00b23e5c3a98422c2dd1cc220f2c121578ff5c8f
parent 69bb2e8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@
            android:exported="true"
            android:process="@string/process">
            <path-permission
                    android:path="/btopp"
                    android:pathPrefix="/btopp"
                    android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
        </provider>
        <service
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
    <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" />