build: F-Droid v2 (#1585)

This commit is contained in:
Catfriend1
2025-09-08 12:42:17 +02:00
committed by GitHub
parent 37f17df7f0
commit 29e6df2f0a
16 changed files with 74 additions and 48 deletions

View File

@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="com.github.catfriend1.syncthingandroid.permission.RECEIVE_SYNC_STATUS" />
<uses-permission android:name="com.github.catfriend1.syncthingfork.permission.RECEIVE_SYNC_STATUS" />
<application
android:allowBackup="true"
@ -19,7 +19,7 @@
<receiver android:name=".SyncStatusReceiver" android:exported="true">
<intent-filter>
<action android:name="com.github.catfriend1.syncthingandroid.ACTION_NOTIFY_FOLDER_SYNC_COMPLETE" />
<action android:name="com.github.catfriend1.syncthingfork.ACTION_NOTIFY_FOLDER_SYNC_COMPLETE" />
</intent-filter>
</receiver>
</application>

View File

@ -9,7 +9,7 @@ public class SyncStatusReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if ("com.github.catfriend1.syncthingandroid.ACTION_NOTIFY_FOLDER_SYNC_COMPLETE".equals(action)) {
if ("com.github.catfriend1.syncthingfork.ACTION_NOTIFY_FOLDER_SYNC_COMPLETE".equals(action)) {
Log.d("SyncStatusReceiver", "Received broadcast");
Log.d("SyncStatusReceiver", "deviceId: " + intent.getStringExtra("deviceId"));
Log.d("SyncStatusReceiver", "folderId: " + intent.getStringExtra("folderId"));

View File

@ -1 +1 @@
com.github.catfriend1.syncthingandroid.debug
com.github.catfriend1.syncthingfork.debug