From 112d520385524342a9782706136b16e1c0543b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot=20=28=40U-Exp=29?= Date: Fri, 12 Dec 2014 14:59:15 +0100 Subject: [PATCH] Add broadcast received to detect connectivity changes (only detect there is a change a this time, we need to know what change is it and if we need to do something) * Also remove useless function into IncomingSms * Add new notification type DEBUG to debug program if no debogger was available when dev --- AndroidManifest.xml | 6 ++++++ .../ConnectivityChanged.java | 18 ++++++++++++++++++ .../broadcast_receivers/IncomingSms.java | 4 ---- .../enums/OCSMSNotificationType.java | 1 + .../OCSMSNotificationManager.java | 6 ++++++ 5 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 src/fr/unix_experience/owncloud_sms/broadcast_receivers/ConnectivityChanged.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 24f07f4..d5d6721 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -93,6 +93,12 @@ + + + + + +