Thx AndroidStudio/IntellijIDEA for renaming everything for me!
parent
c8529ee12b
commit
8eeabcf8f6
@ -1,4 +1,4 @@
|
||||
package com.fox2code.mmm.utils;
|
||||
package com.fox2code.mmm.utils.io;
|
||||
|
||||
// Original written by tsuharesu
|
||||
// Adapted to create a "drop it in and watch it work" approach by Nikhil Jha.
|
@ -1,4 +1,4 @@
|
||||
package com.fox2code.mmm.utils;
|
||||
package com.fox2code.mmm.utils.io;
|
||||
|
||||
import android.content.Context;
|
||||
import android.database.Cursor;
|
@ -1,4 +1,4 @@
|
||||
package com.fox2code.mmm.utils;
|
||||
package com.fox2code.mmm.utils.io;
|
||||
|
||||
import android.util.Log;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.fox2code.mmm.utils;
|
||||
package com.fox2code.mmm.utils.io;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
@ -1,4 +1,4 @@
|
||||
package com.fox2code.mmm.utils;
|
||||
package com.fox2code.mmm.utils.io;
|
||||
|
||||
import androidx.annotation.Keep;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.fox2code.mmm.utils;
|
||||
package com.fox2code.mmm.utils.io;
|
||||
|
||||
import static com.fox2code.mmm.AppUpdateManager.FLAG_COMPAT_LOW_QUALITY;
|
||||
import static com.fox2code.mmm.AppUpdateManager.getFlagsForModule;
|
@ -1,4 +1,4 @@
|
||||
package com.fox2code.mmm.utils;
|
||||
package com.fox2code.mmm.utils.io;
|
||||
|
||||
// Original written by tsuharesu
|
||||
// Adapted to create a "drop it in and watch it work" approach by Nikhil Jha.
|
@ -1,4 +1,4 @@
|
||||
package com.fox2code.mmm.utils;
|
||||
package com.fox2code.mmm.utils.sentry;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:ignore="QueryAllPackagesPermission">
|
||||
|
||||
<uses-sdk tools:overrideLibrary="io.sentry.android" />
|
||||
|
||||
<application android:icon="@mipmap/ic_launcher" android:enableOnBackInvokedCallback="true"
|
||||
tools:targetApi="tiramisu">
|
||||
|
||||
<meta-data
|
||||
android:name="io.sentry.auto-init"
|
||||
android:value="false" />
|
||||
<meta-data
|
||||
android:name="io.sentry.dsn"
|
||||
android:value="https://198c68516cb0412b9832204631a3fac8@o993586.ingest.sentry.io/4504069942804480" />
|
||||
<!-- Sane value, but feel free to lower it -->
|
||||
<meta-data
|
||||
android:name="io.sentry.traces.sample-rate"
|
||||
android:value="0.5" />
|
||||
<!-- Doesn't actually monitor anything, just used to get the activities the user went through -->
|
||||
<meta-data
|
||||
android:name="io.sentry.traces.user-interaction.enable"
|
||||
android:value="true" />
|
||||
<!-- Just a screenshot of ONLY the current activity at the time of the crash -->
|
||||
<meta-data
|
||||
android:name="io.sentry.attach-screenshot"
|
||||
android:value="true" />
|
||||
<!-- Just the current activity at the time of the crash -->
|
||||
<meta-data
|
||||
android:name="io.sentry.attach-stacktrace"
|
||||
android:value="true" />
|
||||
<!-- Don't send PII, this is actually default but let's be explicit -->
|
||||
<meta-data
|
||||
android:name="io.sentry.sendDefaultPii"
|
||||
android:value="false" />
|
||||
<meta-data
|
||||
android:name="io.sentry.traces.profiling.sample-rate"
|
||||
android:value="0.5" />
|
||||
</application>
|
||||
</manifest>
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:ignore="QueryAllPackagesPermission">
|
||||
|
||||
<application android:icon="@mipmap/ic_launcher">
|
||||
|
||||
</application>
|
||||
</manifest>
|
@ -1,18 +0,0 @@
|
||||
package com.fox2code.mmm.sentry;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
public class SentryBreadcrumb {
|
||||
public SentryBreadcrumb() {}
|
||||
|
||||
public void setType(@Nullable String type) {}
|
||||
|
||||
public void setData(@NotNull String key, @Nullable Object value) {
|
||||
Objects.requireNonNull(key);
|
||||
}
|
||||
|
||||
public void setCategory(@Nullable String category) {}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package com.fox2code.mmm.sentry;
|
||||
|
||||
import com.fox2code.mmm.MainApplication;
|
||||
|
||||
public class SentryMain {
|
||||
public static final boolean IS_SENTRY_INSTALLED = false;
|
||||
|
||||
public static void initialize(MainApplication mainApplication) {}
|
||||
|
||||
public static void addSentryBreadcrumb(SentryBreadcrumb sentryBreadcrumb) {}
|
||||
|
||||
public static boolean isSentryEnabled() { return false; }
|
||||
}
|
Before Width: | Height: | Size: 511 KiB After Width: | Height: | Size: 511 KiB |
Before Width: | Height: | Size: 592 KiB After Width: | Height: | Size: 592 KiB |
Loading…
Reference in New Issue