mirror of
https://github.com/Catfriend1/syncthing-android.git
synced 2025-09-11 21:43:23 +08:00
build: F-Droid v2 (#1585)
This commit is contained in:
@ -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>
|
||||
|
@ -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"));
|
||||
|
@ -1 +1 @@
|
||||
com.github.catfriend1.syncthingandroid.debug
|
||||
com.github.catfriend1.syncthingfork.debug
|
||||
|
Reference in New Issue
Block a user