diff options
Diffstat (limited to 'src/standardPush')
-rw-r--r-- | src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java | 2 | ||||
-rw-r--r-- | src/standardPush/java/de/pixart/messenger/services/PushManagementService.java | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java b/src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java index 5cfcbe920..6625a0f99 100644 --- a/src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java +++ b/src/standardPush/java/de/pixart/messenger/services/MaintenanceReceiver.java @@ -9,7 +9,7 @@ import com.google.android.gms.iid.InstanceID; import java.io.IOException; -import eu.siacs.conversations.Config; +import de.pixart.messenger.Config; public class MaintenanceReceiver extends BroadcastReceiver { @Override diff --git a/src/standardPush/java/de/pixart/messenger/services/PushManagementService.java b/src/standardPush/java/de/pixart/messenger/services/PushManagementService.java index f30bfae46..c9c252501 100644 --- a/src/standardPush/java/de/pixart/messenger/services/PushManagementService.java +++ b/src/standardPush/java/de/pixart/messenger/services/PushManagementService.java @@ -105,10 +105,6 @@ public class PushManagementService { return connection != null && connection.getFeatures().sm() && connection.getFeatures().push() && playServicesAvailable(); } - public boolean availableAndUseful(Account account) { - return Patches.SUFFICIENT_PUSH.contains(account.getServerIdentity()) && available(account); - } - private boolean playServicesAvailable() { return GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(mXmppConnectionService) == ConnectionResult.SUCCESS; } |