mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Remove Sentry.io
This commit is contained in:
parent
1a34a015fa
commit
8ac3a79639
7 changed files with 4 additions and 27 deletions
|
@ -113,6 +113,5 @@ dependencies {
|
|||
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
|
||||
implementation 'androidx.core:core:1.7.0'
|
||||
|
||||
devImplementation 'io.sentry:sentry-android:5.4.0'
|
||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
||||
}
|
||||
|
|
|
@ -59,7 +59,5 @@
|
|||
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<meta-data android:name="io.sentry.dsn" android:value="https://ba17f240b58144e398c862bb953256ef@o755123.ingest.sentry.io/5792286" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
|
@ -18,8 +18,6 @@ import java.time.LocalTime;
|
|||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import io.sentry.Sentry;
|
||||
|
||||
|
||||
public class AlarmReceiver extends BroadcastReceiver {
|
||||
|
||||
|
@ -56,7 +54,6 @@ public class AlarmReceiver extends BroadcastReceiver {
|
|||
catch (Exception e){
|
||||
Log.e(TAG, e.toString());
|
||||
e.printStackTrace();
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
|
||||
if (firstDrug != null) {
|
||||
|
@ -118,7 +115,6 @@ public class AlarmReceiver extends BroadcastReceiver {
|
|||
// Exception Create That Error Object and throw it
|
||||
//E.g: FileNotFoundException ,etc
|
||||
e.printStackTrace();
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,8 +13,6 @@ import java.io.IOException;
|
|||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
|
||||
import io.sentry.Sentry;
|
||||
|
||||
|
||||
/**
|
||||
* Created by jfoucry on 5/25/16.
|
||||
|
@ -52,7 +50,6 @@ class DBDrugs extends SQLiteOpenHelper {
|
|||
myContext.getDatabasePath(String.valueOf(database));
|
||||
}
|
||||
catch (final Exception e){
|
||||
Sentry.captureException(e);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@ -107,7 +104,6 @@ class DBDrugs extends SQLiteOpenHelper {
|
|||
assetDB.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -188,7 +184,6 @@ class DBDrugs extends SQLiteOpenHelper {
|
|||
} catch(Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
return cip13;
|
||||
}
|
||||
|
|
|
@ -13,8 +13,6 @@ import java.util.ArrayList;
|
|||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
import io.sentry.Sentry;
|
||||
|
||||
/**
|
||||
* Created by jacques on 24/04/16.
|
||||
*/
|
||||
|
@ -404,7 +402,6 @@ class DBHelper extends SQLiteOpenHelper {
|
|||
} catch(Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
|
|
@ -13,9 +13,6 @@ import androidx.core.app.NotificationManagerCompat;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import io.sentry.Sentry;
|
||||
|
||||
|
||||
/**
|
||||
* Created by jacques on 17/09/16.
|
||||
*/
|
||||
|
@ -58,7 +55,6 @@ public class PillDroidJobService extends JobService {
|
|||
catch (Exception e){
|
||||
Log.e(TAG, e.toString());
|
||||
e.printStackTrace();
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
|
||||
if (firstDrug != null) {
|
||||
|
@ -133,7 +129,6 @@ public class PillDroidJobService extends JobService {
|
|||
// Exception Create That Error Object and throw it
|
||||
//E.g: FileNotFoundException ,etc
|
||||
e.printStackTrace();
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,8 +5,6 @@ import java.io.InputStream;
|
|||
import java.io.OutputStream;
|
||||
import java.util.Random;
|
||||
|
||||
import io.sentry.Sentry;
|
||||
|
||||
public class Utils {
|
||||
private static final String TAG = UtilDate.class.getName();
|
||||
|
||||
|
@ -25,7 +23,6 @@ public class Utils {
|
|||
}
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue