Skip to content

Commit

Permalink
Move debug log related manifest declarations to the FOSS only build (#…
Browse files Browse the repository at this point in the history
…172)

Move debug log related manifest declarations to the FOSS only build variant.
This is likely what is tripping up the Google Play policy check.
  • Loading branch information
d4rken committed Jan 14, 2023
1 parent 84d6e79 commit c27e60e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
23 changes: 23 additions & 0 deletions app/src/foss/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider_paths" />
</provider>

<!-- Debug stuff-->
<activity
android:name="eu.darken.myperm.common.debug.recording.ui.RecorderActivity"
android:theme="@style/AppThemeFloating" />

<service android:name="eu.darken.myperm.common.debug.recording.core.RecorderService" />
</application>

</manifest>
17 changes: 0 additions & 17 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,6 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider_paths" />
</provider>

<!-- Debug stuff-->
<activity
android:name="eu.darken.myperm.common.debug.recording.ui.RecorderActivity"
android:theme="@style/AppThemeFloating" />

<service android:name="eu.darken.myperm.common.debug.recording.core.RecorderService" />
</application>

</manifest>

0 comments on commit c27e60e

Please sign in to comment.