Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ android {
}

compileSdkVersion 28
buildToolsVersion '30.0.0-rc3'
buildToolsVersion '30.0.0-rc4'
android {
lintOptions {
abortOnError false
Expand Down Expand Up @@ -119,6 +119,16 @@ dependencies {
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.exifinterface:exifinterface:1.2.0'
testImplementation 'junit:junit:4.12'


def lifecycle_version = "2.2.0"

// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"


// SU library
implementation 'com.jaredrummler:android-shell:1.0.0'
// Xposed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

import android.app.Application;

import com.ljmu.andre.ErrorLogger.ErrorLogger;
import com.jaqxues.akrolyb.logger.FileLogger;
import com.ljmu.andre.snaptools.Networking.VolleyHandler;
import com.ljmu.andre.snaptools.Utils.ContextHelper;
import com.ljmu.andre.snaptools.Utils.PathProvider;
import com.ljmu.andre.snaptools.Utils.TimberUtils;

import timber.log.Timber;

import java.io.File;

/**
* This class was created by Andre R M (SID: 701439)
* It and its contents are free to use by all
Expand All @@ -29,7 +32,6 @@ public void onCreate() {
ContextHelper.set(getApplicationContext());

VolleyHandler.init(getApplicationContext());
ErrorLogger.init();

Timber.d("Initialising Activities");
super.onCreate();
Expand Down
7 changes: 0 additions & 7 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@
<data android:mimeType="video/*" />
</intent-filter>
</activity>
<activity
android:name="com.ljmu.andre.snaptools.HangErrorActivity"
android:exported="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize">

</activity>


<activity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import com.ljmu.andre.CBIDatabase.Utils.SQLCommand;
import com.ljmu.andre.CBIDatabase.Utils.TableVersionTable;
import com.ljmu.andre.snaptools.Utils.PathProvider;
import timber.log.Timber;

import java.util.Collection;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import timber.log.Timber;

import static com.ljmu.andre.GsonPreferences.Preferences.getPref;
import static com.ljmu.andre.snaptools.Utils.FrameworkPreferencesDef.DATABASES_PATH;

/**
* This class was created by Andre R M (SID: 701439)
* It and its contents are free to use by all
Expand Down Expand Up @@ -156,6 +152,6 @@ public <T extends CBIObject> CBITable<T> getTable(Class<T> cbiObjectClass) {
}

private static String getDBPath(String name) {
return getPref(DATABASES_PATH) + name + ".db";
return PathProvider.getDatabasesPath() + name + ".db";
}
}
78 changes: 0 additions & 78 deletions app/src/main/java/com/ljmu/andre/ErrorLogger/ErrorLogger.java

This file was deleted.

Loading