update ro.weednet.contactssync to 1.2.0

This commit is contained in:
David Black 2013-04-28 22:29:14 +01:00
parent e6f3eee96e
commit 3c59976761
2 changed files with 55 additions and 9 deletions

View File

@ -1,19 +1,19 @@
Category:Office
License:GPLv3
Web Site:https://github.com/loadrunner/Facebook-Contact-Sync
Web Site:
Source Code:https://github.com/loadrunner/Facebook-Contact-Sync
Issue Tracker:https://github.com/loadrunner/Facebook-Contact-Sync/issues
Summary:Sync your Facebook Contacts
Description:
To configure, go to "Settings => Accounts & Sync => Add Account".
Depending on how many friends you have, the first import might take a while, so be patient.
Depending on how many friends you have, the first import might take a while,
so be patient.
* Facebook does not allow to export phone numbers or emails. Only names, pictures and statuses are synced.
* Facebook users have the option to block one or all apps. If they opt for that, they will be EXCLUDED from your friends list.
* Does NOT work on Samsung Galaxy SIII
* Facebook does not allow to export phone numbers or emails: only names, pictures and statuses are synced.
* Facebook users have the option to block one or all apps: if they opt for that, they will be EXCLUDED from your friends list.
Status: The most recent versions use a proprietary library and have build problems.
Appbrain SDK was removed before building.
.
Repo Type:git
@ -21,9 +21,10 @@ Repo:https://github.com/loadrunner/Facebook-Contact-Sync.git
Build Version:1.0.0,32,b3879c973e7cac3a3319
Build Version:1.0.1,33,252c8dd4c9
Build Version:1.2.0,39,!Appbrain SDK can be patched but still FacebookSDK errors (at v1.2.0),\
srclibs=FacebookSDK@master,\
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1$$FacebookSDK$$@' project.properties
Build Version:1.2.0,39,v1.2.0,rm=libs/appbrain-sdk-android.jar,\
srclibs=FacebookSDK@sdk-version-3.0.1,patch=appbrain.patch,prebuild=\
sed -i 's@\(reference.1=\).*@\1$$FacebookSDK$$@' project.properties && \
sed -i 's/Class\[\]/Class\<?\>\[\]/g' $$FacebookSDK$$/src/com/facebook/model/GraphObject.java
Auto Update Mode:None
Update Check Mode:Tags

View File

@ -0,0 +1,45 @@
diff --git a/src/ro/weednet/ContactsSync.java b/src/ro/weednet/ContactsSync.java
index 7c62c2b..90e57a2 100644
--- a/src/ro/weednet/ContactsSync.java
+++ b/src/ro/weednet/ContactsSync.java
@@ -22,8 +22,6 @@
*/
package ro.weednet;
-import com.appbrain.AppBrain;
-
import ro.weednet.contactssync.Constants;
import ro.weednet.contactssync.activities.Preferences;
import ro.weednet.contactssync.client.RawContact;
@@ -83,7 +81,6 @@ public class ContactsSync extends Application {
reloadPreferences();
mMaxPhotoSize = ContactManager.getPhotoPickSize(this);
- AppBrain.initApp(this);
}
public SyncType getSyncType() {
diff --git a/src/ro/weednet/contactssync/activities/Preferences.java b/src/ro/weednet/contactssync/activities/Preferences.java
index 294c64f..2ccc59e 100644
--- a/src/ro/weednet/contactssync/activities/Preferences.java
+++ b/src/ro/weednet/contactssync/activities/Preferences.java
@@ -22,8 +22,6 @@
*/
package ro.weednet.contactssync.activities;
-import com.appbrain.AppBrain;
-
import ro.weednet.ContactsSync;
import ro.weednet.contactssync.R;
import ro.weednet.contactssync.authenticator.AuthenticatorActivity;
@@ -170,10 +168,6 @@ public class Preferences extends Activity {
public void onBackPressed() {
ContactsSync app = ContactsSync.getInstance();
- if (!app.getDisableAds()) {
- AppBrain.getAds().maybeShowInterstitial(this);
- }
-
finish();
}