Commit f9d22c3d authored by Thomas's avatar Thomas
Browse files

Some cleaning

parent cdd29006
Pipeline #401070 failed with stage
in 4 minutes and 18 seconds
......@@ -80,13 +80,13 @@ android {
fdroid {
manifest.srcFile "src/common/AndroidManifest.xml"
assets.srcDirs = ['/src/mains/assets', 'src/common/assets']
java.srcDirs = ['src/main/java', 'src/fdroid/java','src/common/java', 'src/fdroidcommon/java']
java.srcDirs = ['src/main/java', 'src/fdroid/java','src/common/java']
res.srcDirs = ['src/main/res', 'src/fdroid/res','src/common/res']
}
lite {
manifest.srcFile "src/lite/AndroidManifest.xml"
assets.srcDirs = ['/src/mains/assets']
java.srcDirs = ['src/main/java', 'src/lite/java', 'src/fdroidcommon/java']
java.srcDirs = ['src/main/java', 'src/lite/java']
res.srcDirs = ['src/main/res', 'src/lite/res']
}
}
......@@ -195,7 +195,7 @@ dependencies {
playstoreImplementation 'org.framagit.tom79:country-picker-android:1.2.0'
playstoreImplementation 'com.vanniktech:emoji-one:0.6.0'
playstoreImplementation 'ja.burhanrashid52:photoeditor:0.4.0'
playstoreImplementation 'com.github.UnifiedPush:android-connector_fcm_added:1.0.0'
playstoreImplementation 'com.github.UnifiedPush:android-embedded_fcm_distributor:1.0.0'
//Fdroid
fdroidApi 'com.theartofdev.edmodo:android-image-cropper:2.8.+'
......
......@@ -99,7 +99,7 @@
</intent-filter>
</receiver>
<receiver
android:name=".services.FakeDistributor"
android:name=".services.EmbeddedDistrib"
android:enabled="true"
android:exported="false">
<intent-filter>
......
......@@ -3,7 +3,7 @@ package app.fedilab.android.services;
import org.unifiedpush.android.embedded_fcm_distributor.EmbeddedDistributorReceiver;
class EmbeddedDistrib extends EmbeddedDistributorReceiver {
public class EmbeddedDistrib extends EmbeddedDistributorReceiver {
public EmbeddedDistrib() {
super(new HandlerFCM());
}
......
......@@ -5,7 +5,8 @@ import android.content.Context;
import androidx.annotation.Nullable;
import org.jetbrains.annotations.NotNull;
import org.unifiedpush.android.connector_fcm_added.GetEndpointHandler;
import org.unifiedpush.android.embedded_fcm_distributor.GetEndpointHandler;
public class HandlerFCM implements GetEndpointHandler {
......@@ -14,5 +15,4 @@ public class HandlerFCM implements GetEndpointHandler {
return "https://gotify.fedilab.app/FCM?token=" + token + "&instance=" + instance;
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment