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

Commit 69040640 authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

specify different provider permissions for debug and release

parent 52c63be4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -85,10 +85,15 @@ android {
    }

    sourceSets {
        debug {
            manifest.srcFile 'src/debug/AndroidManifest.xml'
        }
        releaseDev {
            manifest.srcFile 'src/release/AndroidManifest.xml'
            java.srcDirs = ['src/release/java']
        }
        releaseStable {
            manifest.srcFile 'src/release/AndroidManifest.xml'
            java.srcDirs = ['src/release/java']
        }
    }
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <permission android:name="foundation.e.apps.debug.permission.PROVIDER_READ" />

</manifest>
 No newline at end of file
+0 −2
Original line number Diff line number Diff line
@@ -55,8 +55,6 @@
        <package android:name="${parentalControlPkgName}" />
    </queries>

    <permission android:name="${applicationId}.permission.PROVIDER_READ" android:protectionLevel="signature" />

    <application
        android:name=".AppLoungeApplication"
        android:allowBackup="false"
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <permission android:name="foundation.e.apps.permission.PROVIDER_READ" android:protectionLevel="signature" />

</manifest>
 No newline at end of file