Octodroid: Added patch to remove bugsense

also remove srclibs & project.properties lines
This commit is contained in:
أحمد المحمودي (Ahmed El-Mahmoudy) 2014-05-28 11:46:14 +03:00
parent 42c0412060
commit b363dab50a
2 changed files with 42 additions and 3 deletions

View file

@ -32,9 +32,8 @@ Repo:https://github.com/slapperwan/gh4a.git
Build:3.6,36 Build:3.6,36
commit=53d2e5bbfd76d8ad4a779913df7b3f193fb19a3e commit=53d2e5bbfd76d8ad4a779913df7b3f193fb19a3e
srclibs=ActionBarSherlock@9598f2bb2c,ViewPagerIndicator@65457eac06 prebuild=rm -rf libs/android-support-v4.jar
prebuild=echo "android.library.reference.2=$$ViewPagerIndicator$$" >> project.properties && \ patch=bugsense.patch
rm -rf libs/android-support-v4.jar
gradle=yes gradle=yes
Auto Update Mode:None Auto Update Mode:None

View file

@ -0,0 +1,40 @@
diff --git a/build.gradle b/build.gradle
index 5150e12..6cd42b1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,7 +10,6 @@ buildscript {
repositories {
maven { url 'http://dl.bintray.com/populov/maven' }
- maven { url "http://www.bugsense.com/gradle/" }
maven { url 'https://github.com/kageiit/maven-repo/raw/master' }
mavenCentral()
}
@@ -50,7 +49,6 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
- compile "com.bugsense.trace:bugsense:3.6"
compile 'com.android.support:support-v4:19.+'
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
compile 'com.viewpagerindicator:library:2.4.1@aar'
diff --git a/src/com/gh4a/Gh4Application.java b/src/com/gh4a/Gh4Application.java
index 0e894d6..f56a934 100644
--- a/src/com/gh4a/Gh4Application.java
+++ b/src/com/gh4a/Gh4Application.java
@@ -47,7 +47,6 @@ import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.content.res.Configuration;
import android.graphics.Typeface;
-import com.bugsense.trace.BugSenseHandler;
import com.gh4a.activities.Github4AndroidActivity;
/**
@@ -99,7 +98,6 @@ public class Gh4Application extends Application implements OnSharedPreferenceCha
selectTheme(prefs.getInt("theme", Constants.Theme.DARK));
prefs.registerOnSharedPreferenceChangeListener(this);
- BugSenseHandler.initAndStartSession(this, "1e6a83ae");
mPt = new PrettyTime();