1
0
mirror of https://github.com/etesync/android synced 2025-01-09 07:11:00 +00:00

Rename the Android package to EteSync

I was trying to avoid it, and keep it as davdroid both for attribution,
and making it easy to cherry-pick fixes from DAVdroid.
However, it seems to be causing clashes with the davdroid app, although
every piece of documentation claims otherwise.[1]

At least it seems like cherry-picks can still be achieved using:

git cherry-pick -s recursive -X find-renames=30 COMMIT

1. https://developer.android.com/studio/build/application-id.html
(one such doc)
This commit is contained in:
Tom Hacohen 2017-02-27 12:57:57 +00:00
parent 49ec35b137
commit abc15f01d8
78 changed files with 313 additions and 323 deletions

View File

@ -1,4 +1,4 @@
image: registry.gitlab.com/bitfireat/davdroid:latest image: registry.gitlab.com/bitfireat/syncadapter:latest
before_script: before_script:
- git submodule update --init --recursive - git submodule update --init --recursive

View File

@ -35,7 +35,7 @@
-dontnote sun.security.ssl.SSLContextImpl -dontnote sun.security.ssl.SSLContextImpl
# DAVdroid + libs # DAVdroid + libs
-keep,includedescriptorclasses class at.bitfire.davdroid.** { *; } # all DAVdroid code and deps are required -keep,includedescriptorclasses class syncadapter.** { *; } # all DAVdroid code and deps are required
# gson # gson
-dontnote sun.misc.Unsafe # not available on Android -dontnote sun.misc.Unsafe # not available on Android

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.os.Build; import android.os.Build;

View File

@ -6,13 +6,13 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.model; package com.etesync.syncadapter.model;
import android.content.ContentValues; import android.content.ContentValues;
import org.junit.Test; import org.junit.Test;
import at.bitfire.davdroid.model.ServiceDB.Collections; import com.etesync.syncadapter.model.ServiceDB.Collections;
import okhttp3.mockwebserver.MockWebServer; import okhttp3.mockwebserver.MockWebServer;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;

View File

@ -6,15 +6,15 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import org.junit.After; import org.junit.After;
import org.junit.Before; import org.junit.Before;
import java.net.URI; import java.net.URI;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.HttpClient; import com.etesync.syncadapter.HttpClient;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.mockwebserver.Dispatcher; import okhttp3.mockwebserver.Dispatcher;
import okhttp3.mockwebserver.MockResponse; import okhttp3.mockwebserver.MockResponse;

View File

@ -6,7 +6,7 @@
~ which accompanies this distribution, and is available at ~ which accompanies this distribution, and is available at
~ http://www.gnu.org/licenses/gpl.html ~ http://www.gnu.org/licenses/gpl.html
--> -->
<manifest package="at.bitfire.davdroid" <manifest package="com.etesync.syncadapter"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:installLocation="internalOnly"> android:installLocation="internalOnly">
@ -57,7 +57,7 @@
android:exported="false" android:exported="false"
android:process=":sync"> android:process=":sync">
<intent-filter> <intent-filter>
<action android:name="at.bitfire.davdroid.REINIT_LOGGER"/> <action android:name="com.etesync.syncadapter.REINIT_LOGGER"/>
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver <receiver
@ -65,7 +65,7 @@
android:exported="true"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" /> <action android:name="android.intent.action.PACKAGE_REPLACED" />
<data android:scheme="package" android:path="at.bitfire.davdroid" /> <data android:scheme="package" android:path="com.etesync.syncadapter" />
</intent-filter> </intent-filter>
</receiver> </receiver>

View File

@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.accounts.AccountManager; import android.accounts.AccountManager;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.accounts.AccountManager; import android.accounts.AccountManager;
@ -27,8 +27,8 @@ import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import at.bitfire.davdroid.model.ServiceDB.OpenHelper; import com.etesync.syncadapter.model.ServiceDB.OpenHelper;
import at.bitfire.davdroid.model.ServiceDB.Services; import com.etesync.syncadapter.model.ServiceDB.Services;
public class AccountUpdateService extends Service { public class AccountUpdateService extends Service {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.accounts.AccountManager; import android.accounts.AccountManager;
import android.accounts.OnAccountsUpdateListener; import android.accounts.OnAccountsUpdateListener;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.annotation.TargetApi; import android.annotation.TargetApi;
import android.app.Application; import android.app.Application;
@ -36,10 +36,10 @@ import java.util.logging.Logger;
import javax.net.ssl.HostnameVerifier; import javax.net.ssl.HostnameVerifier;
import at.bitfire.cert4android.CustomCertManager; import at.bitfire.cert4android.CustomCertManager;
import at.bitfire.davdroid.log.LogcatHandler; import com.etesync.syncadapter.log.LogcatHandler;
import at.bitfire.davdroid.log.PlainTextFormatter; import com.etesync.syncadapter.log.PlainTextFormatter;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.model.Settings; import com.etesync.syncadapter.model.Settings;
import lombok.Cleanup; import lombok.Cleanup;
import lombok.Getter; import lombok.Getter;
import okhttp3.internal.tls.OkHostnameVerifier; import okhttp3.internal.tls.OkHostnameVerifier;
@ -66,9 +66,9 @@ public class App extends Application {
@Getter @Getter
private static HostnameVerifier hostnameVerifier; private static HostnameVerifier hostnameVerifier;
public final static Logger log = Logger.getLogger("davdroid"); public final static Logger log = Logger.getLogger("syncadapter");
static { static {
at.bitfire.cert4android.Constants.log = Logger.getLogger("davdroid.cert4android"); at.bitfire.cert4android.Constants.log = Logger.getLogger("syncadapter.cert4android");
} }
@Override @Override

View File

@ -5,11 +5,11 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.net.Uri; import android.net.Uri;
import static at.bitfire.davdroid.BuildConfig.DEBUG_REMOTE_URL; import static com.etesync.syncadapter.BuildConfig.DEBUG_REMOTE_URL;
public class Constants { public class Constants {

View File

@ -1,4 +1,4 @@
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.util.Base64; import android.util.Base64;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.content.Context; import android.content.Context;
@ -25,8 +25,8 @@ import java.util.concurrent.TimeUnit;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.model.Settings; import com.etesync.syncadapter.model.Settings;
import okhttp3.Interceptor; import okhttp3.Interceptor;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.accounts.Account; import android.accounts.Account;

View File

@ -1,4 +1,4 @@
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.app.PendingIntent; import android.app.PendingIntent;
import android.content.Context; import android.content.Context;
@ -10,9 +10,9 @@ import android.support.v7.app.NotificationCompat;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.Exceptions;
import at.bitfire.davdroid.ui.AccountSettingsActivity; import com.etesync.syncadapter.ui.AccountSettingsActivity;
import at.bitfire.davdroid.ui.DebugInfoActivity; import com.etesync.syncadapter.ui.DebugInfoActivity;
import at.bitfire.ical4android.CalendarStorageException; import at.bitfire.ical4android.CalendarStorageException;
import at.bitfire.vcard4android.ContactsStorageException; import at.bitfire.vcard4android.ContactsStorageException;
import lombok.Getter; import lombok.Getter;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
@ -19,9 +19,9 @@ import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle; import android.os.Bundle;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.model.ServiceDB.Services; import com.etesync.syncadapter.model.ServiceDB.Services;
import at.bitfire.davdroid.resource.LocalTaskList; import com.etesync.syncadapter.resource.LocalTaskList;
import at.bitfire.ical4android.TaskProvider; import at.bitfire.ical4android.TaskProvider;
import lombok.Cleanup; import lombok.Cleanup;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import android.os.Build; import android.os.Build;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;

View File

@ -1,4 +1,4 @@
package at.bitfire.davdroid.journalmanager; package com.etesync.syncadapter.journalmanager;
import org.apache.commons.codec.Charsets; import org.apache.commons.codec.Charsets;
@ -7,8 +7,8 @@ import java.io.IOException;
import java.net.HttpURLConnection; import java.net.HttpURLConnection;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.GsonHelper; import com.etesync.syncadapter.GsonHelper;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
@ -18,7 +18,7 @@ import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;
import static at.bitfire.davdroid.journalmanager.Helpers.hmac; import static com.etesync.syncadapter.journalmanager.Helpers.hmac;
abstract class BaseManager { abstract class BaseManager {
final static protected MediaType JSON = MediaType.parse("application/json; charset=utf-8"); final static protected MediaType JSON = MediaType.parse("application/json; charset=utf-8");

View File

@ -1,8 +1,7 @@
package at.bitfire.davdroid.journalmanager; package com.etesync.syncadapter.journalmanager;
import java.io.IOException; import java.io.IOException;
import java.io.Serializable; import java.io.Serializable;
import java.net.HttpURLConnection;
import at.bitfire.cert4android.Constants; import at.bitfire.cert4android.Constants;
import okhttp3.Headers; import okhttp3.Headers;

View File

@ -1,4 +1,4 @@
package at.bitfire.davdroid.journalmanager; package com.etesync.syncadapter.journalmanager;
import android.util.Base64; import android.util.Base64;
@ -16,14 +16,12 @@ import org.spongycastle.crypto.paddings.PKCS7Padding;
import org.spongycastle.crypto.paddings.PaddedBufferedBlockCipher; import org.spongycastle.crypto.paddings.PaddedBufferedBlockCipher;
import org.spongycastle.crypto.params.KeyParameter; import org.spongycastle.crypto.params.KeyParameter;
import org.spongycastle.crypto.params.ParametersWithIV; import org.spongycastle.crypto.params.ParametersWithIV;
import org.spongycastle.jcajce.provider.digest.SHA256;
import org.spongycastle.util.encoders.Hex; import org.spongycastle.util.encoders.Hex;
import java.security.MessageDigest;
import java.security.SecureRandom; import java.security.SecureRandom;
import java.util.Arrays; import java.util.Arrays;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
public class Helpers { public class Helpers {
// FIXME: This should be somewhere else // FIXME: This should be somewhere else

View File

@ -1,11 +1,9 @@
package at.bitfire.davdroid.journalmanager; package com.etesync.syncadapter.journalmanager;
import java.io.IOException; import java.io.IOException;
import java.net.HttpURLConnection; import java.net.HttpURLConnection;
import java.util.logging.Level;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.GsonHelper;
import at.bitfire.davdroid.GsonHelper;
import okhttp3.FormBody; import okhttp3.FormBody;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;

View File

@ -1,12 +1,12 @@
package at.bitfire.davdroid.journalmanager; package com.etesync.syncadapter.journalmanager;
import com.google.gson.reflect.TypeToken; import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type; import java.lang.reflect.Type;
import java.util.List; import java.util.List;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.GsonHelper; import com.etesync.syncadapter.GsonHelper;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;

View File

@ -1,4 +1,4 @@
package at.bitfire.davdroid.journalmanager; package com.etesync.syncadapter.journalmanager;
import com.google.gson.reflect.TypeToken; import com.google.gson.reflect.TypeToken;
@ -8,8 +8,8 @@ import java.lang.reflect.Type;
import java.util.List; import java.util.List;
import java.util.UUID; import java.util.UUID;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.GsonHelper; import com.etesync.syncadapter.GsonHelper;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
@ -17,8 +17,8 @@ import okhttp3.RequestBody;
import okhttp3.Response; import okhttp3.Response;
import okhttp3.ResponseBody; import okhttp3.ResponseBody;
import static at.bitfire.davdroid.journalmanager.Helpers.sha256; import static com.etesync.syncadapter.journalmanager.Helpers.sha256;
import static at.bitfire.davdroid.journalmanager.Helpers.toHex; import static com.etesync.syncadapter.journalmanager.Helpers.toHex;
public class JournalManager extends BaseManager { public class JournalManager extends BaseManager {
final static private Type journalType = new TypeToken<List<Journal>>() { final static private Type journalType = new TypeToken<List<Journal>>() {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.log; package com.etesync.syncadapter.log;
import android.util.Log; import android.util.Log;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.log; package com.etesync.syncadapter.log;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.exception.ExceptionUtils; import org.apache.commons.lang3.exception.ExceptionUtils;
@ -57,7 +57,7 @@ public class PlainTextFormatter extends Formatter {
} }
private String shortClassName(String className) { private String shortClassName(String className) {
String s = StringUtils.replace(className, "at.bitfire.davdroid.", ""); String s = StringUtils.replace(className, "com.etesync.syncadapter.", "");
return StringUtils.replace(s, "at.bitfire.", ""); return StringUtils.replace(s, "at.bitfire.", "");
} }

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.log; package com.etesync.syncadapter.log;
import java.util.logging.Handler; import java.util.logging.Handler;
import java.util.logging.LogRecord; import java.util.logging.LogRecord;

View File

@ -6,14 +6,14 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.model; package com.etesync.syncadapter.model;
import android.content.ContentValues; import android.content.ContentValues;
import java.io.Serializable; import java.io.Serializable;
import at.bitfire.davdroid.GsonHelper; import com.etesync.syncadapter.GsonHelper;
import at.bitfire.davdroid.model.ServiceDB.Collections; import com.etesync.syncadapter.model.ServiceDB.Collections;
import lombok.ToString; import lombok.ToString;
@ToString @ToString

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.model; package com.etesync.syncadapter.model;
import android.accounts.Account; import android.accounts.Account;
import android.content.ContentValues; import android.content.ContentValues;
@ -20,8 +20,8 @@ import android.support.annotation.NonNull;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi; import android.support.annotation.RequiresApi;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import lombok.Cleanup; import lombok.Cleanup;
public class ServiceDB { public class ServiceDB {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.model; package com.etesync.syncadapter.model;
import android.content.ContentValues; import android.content.ContentValues;
import android.database.Cursor; import android.database.Cursor;

View File

@ -6,13 +6,13 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.model; package com.etesync.syncadapter.model;
import android.provider.ContactsContract.RawContacts; import android.provider.ContactsContract.RawContacts;
public class UnknownProperties { public class UnknownProperties {
public static final String CONTENT_ITEM_TYPE = "x.davdroid/unknown-properties"; public static final String CONTENT_ITEM_TYPE = "x.syncadapter/unknown-properties";
public static final String public static final String
MIMETYPE = RawContacts.Data.MIMETYPE, MIMETYPE = RawContacts.Data.MIMETYPE,

View File

@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import android.accounts.Account; import android.accounts.Account;
import android.content.ContentProviderClient; import android.content.ContentProviderClient;
@ -18,7 +18,6 @@ import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.os.Parcel; import android.os.Parcel;
import android.os.RemoteException; import android.os.RemoteException;
import android.provider.CalendarContract;
import android.provider.ContactsContract; import android.provider.ContactsContract;
import android.provider.ContactsContract.Groups; import android.provider.ContactsContract.Groups;
import android.provider.ContactsContract.RawContacts; import android.provider.ContactsContract.RawContacts;
@ -30,8 +29,8 @@ import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.ical4android.CalendarStorageException;
import at.bitfire.vcard4android.AndroidAddressBook; import at.bitfire.vcard4android.AndroidAddressBook;
import at.bitfire.vcard4android.AndroidContact; import at.bitfire.vcard4android.AndroidContact;
import at.bitfire.vcard4android.AndroidGroup; import at.bitfire.vcard4android.AndroidGroup;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import android.accounts.Account; import android.accounts.Account;
import android.content.ContentProviderClient; import android.content.ContentProviderClient;
@ -31,8 +31,8 @@ import java.io.FileNotFoundException;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.ical4android.AndroidCalendar; import at.bitfire.ical4android.AndroidCalendar;
import at.bitfire.ical4android.AndroidCalendarFactory; import at.bitfire.ical4android.AndroidCalendarFactory;
import at.bitfire.ical4android.BatchOperation; import at.bitfire.ical4android.BatchOperation;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import android.content.ContentProviderOperation; import android.content.ContentProviderOperation;
import android.content.ContentValues; import android.content.ContentValues;
@ -27,8 +27,8 @@ import java.util.HashSet;
import java.util.Set; import java.util.Set;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.model.UnknownProperties; import com.etesync.syncadapter.model.UnknownProperties;
import at.bitfire.vcard4android.AndroidAddressBook; import at.bitfire.vcard4android.AndroidAddressBook;
import at.bitfire.vcard4android.AndroidContact; import at.bitfire.vcard4android.AndroidContact;
import at.bitfire.vcard4android.AndroidContactFactory; import at.bitfire.vcard4android.AndroidContactFactory;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import android.annotation.TargetApi; import android.annotation.TargetApi;
import android.content.ContentProviderOperation; import android.content.ContentProviderOperation;
@ -22,7 +22,7 @@ import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.ical4android.AndroidCalendar; import at.bitfire.ical4android.AndroidCalendar;
import at.bitfire.ical4android.AndroidEvent; import at.bitfire.ical4android.AndroidEvent;
import at.bitfire.ical4android.AndroidEventFactory; import at.bitfire.ical4android.AndroidEventFactory;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import android.content.ContentProviderOperation; import android.content.ContentProviderOperation;
import android.content.ContentUris; import android.content.ContentUris;
@ -28,7 +28,7 @@ import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.vcard4android.AndroidAddressBook; import at.bitfire.vcard4android.AndroidAddressBook;
import at.bitfire.vcard4android.AndroidGroup; import at.bitfire.vcard4android.AndroidGroup;
import at.bitfire.vcard4android.AndroidGroupFactory; import at.bitfire.vcard4android.AndroidGroupFactory;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import java.io.IOException; import java.io.IOException;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import android.content.ContentProviderOperation; import android.content.ContentProviderOperation;
import android.content.ContentValues; import android.content.ContentValues;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.resource; package com.etesync.syncadapter.resource;
import android.accounts.Account; import android.accounts.Account;
import android.content.ContentProviderClient; import android.content.ContentProviderClient;
@ -17,7 +17,6 @@ import android.database.Cursor;
import android.net.Uri; import android.net.Uri;
import android.os.Build; import android.os.Build;
import android.os.RemoteException; import android.os.RemoteException;
import android.provider.CalendarContract;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import org.dmfs.provider.tasks.TaskContract.TaskLists; import org.dmfs.provider.tasks.TaskContract.TaskLists;
@ -25,7 +24,7 @@ import org.dmfs.provider.tasks.TaskContract.Tasks;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.ical4android.AndroidTaskList; import at.bitfire.ical4android.AndroidTaskList;
import at.bitfire.ical4android.AndroidTaskListFactory; import at.bitfire.ical4android.AndroidTaskListFactory;
import at.bitfire.ical4android.CalendarStorageException; import at.bitfire.ical4android.CalendarStorageException;

View File

@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.syncadapter; package com.etesync.syncadapter.syncadapter;
import android.accounts.AbstractAccountAuthenticator; import android.accounts.AbstractAccountAuthenticator;
import android.accounts.Account; import android.accounts.Account;
@ -18,7 +18,7 @@ import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.os.IBinder; import android.os.IBinder;
import at.bitfire.davdroid.ui.setup.LoginActivity; import com.etesync.syncadapter.ui.setup.LoginActivity;
public class AccountAuthenticatorService extends Service { public class AccountAuthenticatorService extends Service {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.syncadapter; package com.etesync.syncadapter.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.content.Context; import android.content.Context;
@ -19,17 +19,16 @@ import java.io.ByteArrayInputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.JournalEntryManager;
import at.bitfire.davdroid.journalmanager.JournalEntryManager; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.resource.LocalCalendar;
import at.bitfire.davdroid.resource.LocalCalendar; import com.etesync.syncadapter.resource.LocalEvent;
import at.bitfire.davdroid.resource.LocalEvent; import com.etesync.syncadapter.resource.LocalResource;
import at.bitfire.davdroid.resource.LocalResource;
import at.bitfire.ical4android.CalendarStorageException; import at.bitfire.ical4android.CalendarStorageException;
import at.bitfire.ical4android.Event; import at.bitfire.ical4android.Event;
import at.bitfire.ical4android.InvalidCalendarException; import at.bitfire.ical4android.InvalidCalendarException;

View File

@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.syncadapter; package com.etesync.syncadapter.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.content.AbstractThreadedSyncAdapter; import android.content.AbstractThreadedSyncAdapter;
@ -27,23 +27,23 @@ import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.NotificationHelper; import com.etesync.syncadapter.NotificationHelper;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.Exceptions;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.model.ServiceDB.Collections; import com.etesync.syncadapter.model.ServiceDB.Collections;
import at.bitfire.davdroid.model.ServiceDB.Services; import com.etesync.syncadapter.model.ServiceDB.Services;
import at.bitfire.davdroid.resource.LocalCalendar; import com.etesync.syncadapter.resource.LocalCalendar;
import at.bitfire.davdroid.ui.DebugInfoActivity; import com.etesync.syncadapter.ui.DebugInfoActivity;
import at.bitfire.ical4android.CalendarStorageException; import at.bitfire.ical4android.CalendarStorageException;
import lombok.Cleanup; import lombok.Cleanup;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;
import static at.bitfire.davdroid.Constants.KEY_ACCOUNT; import static com.etesync.syncadapter.Constants.KEY_ACCOUNT;
public class CalendarsSyncAdapterService extends SyncAdapterService { public class CalendarsSyncAdapterService extends SyncAdapterService {

View File

@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.syncadapter; package com.etesync.syncadapter.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.content.AbstractThreadedSyncAdapter; import android.content.AbstractThreadedSyncAdapter;
@ -24,21 +24,21 @@ import android.support.annotation.Nullable;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.NotificationHelper; import com.etesync.syncadapter.NotificationHelper;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.Exceptions;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.model.ServiceDB.Collections; import com.etesync.syncadapter.model.ServiceDB.Collections;
import at.bitfire.davdroid.ui.DebugInfoActivity; import com.etesync.syncadapter.ui.DebugInfoActivity;
import lombok.Cleanup; import lombok.Cleanup;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;
import static at.bitfire.davdroid.Constants.KEY_ACCOUNT; import static com.etesync.syncadapter.Constants.KEY_ACCOUNT;
public class ContactsSyncAdapterService extends SyncAdapterService { public class ContactsSyncAdapterService extends SyncAdapterService {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.syncadapter; package com.etesync.syncadapter.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.content.ContentProviderClient; import android.content.ContentProviderClient;
@ -26,18 +26,18 @@ import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.HttpClient; import com.etesync.syncadapter.HttpClient;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.JournalEntryManager; import com.etesync.syncadapter.journalmanager.JournalEntryManager;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.resource.LocalAddressBook; import com.etesync.syncadapter.resource.LocalAddressBook;
import at.bitfire.davdroid.resource.LocalContact; import com.etesync.syncadapter.resource.LocalContact;
import at.bitfire.davdroid.resource.LocalGroup; import com.etesync.syncadapter.resource.LocalGroup;
import at.bitfire.davdroid.resource.LocalResource; import com.etesync.syncadapter.resource.LocalResource;
import at.bitfire.ical4android.CalendarStorageException; import at.bitfire.ical4android.CalendarStorageException;
import at.bitfire.vcard4android.Contact; import at.bitfire.vcard4android.Contact;
import at.bitfire.vcard4android.ContactsStorageException; import at.bitfire.vcard4android.ContactsStorageException;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.syncadapter; package com.etesync.syncadapter.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.app.Notification; import android.app.Notification;
@ -38,17 +38,17 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.HttpClient; import com.etesync.syncadapter.HttpClient;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.Exceptions;
import at.bitfire.davdroid.journalmanager.JournalManager; import com.etesync.syncadapter.journalmanager.JournalManager;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.ui.PermissionsActivity; import com.etesync.syncadapter.ui.PermissionsActivity;
import lombok.Cleanup; import lombok.Cleanup;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;

View File

@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.syncadapter; package com.etesync.syncadapter.syncadapter;
import android.accounts.Account; import android.accounts.Account;
import android.annotation.TargetApi; import android.annotation.TargetApi;
@ -24,27 +24,27 @@ import java.util.List;
import java.util.UUID; import java.util.UUID;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.GsonHelper; import com.etesync.syncadapter.GsonHelper;
import at.bitfire.davdroid.HttpClient; import com.etesync.syncadapter.HttpClient;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.NotificationHelper; import com.etesync.syncadapter.NotificationHelper;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.Exceptions;
import at.bitfire.davdroid.journalmanager.JournalEntryManager; import com.etesync.syncadapter.journalmanager.JournalEntryManager;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.resource.LocalCollection; import com.etesync.syncadapter.resource.LocalCollection;
import at.bitfire.davdroid.resource.LocalResource; import com.etesync.syncadapter.resource.LocalResource;
import at.bitfire.davdroid.ui.DebugInfoActivity; import com.etesync.syncadapter.ui.DebugInfoActivity;
import at.bitfire.ical4android.CalendarStorageException; import at.bitfire.ical4android.CalendarStorageException;
import at.bitfire.ical4android.InvalidCalendarException; import at.bitfire.ical4android.InvalidCalendarException;
import at.bitfire.vcard4android.ContactsStorageException; import at.bitfire.vcard4android.ContactsStorageException;
import lombok.Getter; import lombok.Getter;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import static at.bitfire.davdroid.Constants.KEY_ACCOUNT; import static com.etesync.syncadapter.Constants.KEY_ACCOUNT;
abstract public class SyncManager { abstract public class SyncManager {
protected final NotificationHelper notificationManager; protected final NotificationHelper notificationManager;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
@ -37,10 +37,10 @@ import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.BuildConfig; import com.etesync.syncadapter.BuildConfig;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import ezvcard.Ezvcard; import ezvcard.Ezvcard;
import lombok.Cleanup; import lombok.Cleanup;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
@ -76,7 +76,7 @@ public class AboutActivity extends AppCompatActivity {
DateFormatUtils.format(BuildConfig.buildTime, "yyyy") + " Tom Hacohen", DateFormatUtils.format(BuildConfig.buildTime, "yyyy") + " Tom Hacohen",
R.string.about_license_info_no_warranty, "gpl-3.0-standalone.html" R.string.about_license_info_no_warranty, "gpl-3.0-standalone.html"
), new ComponentInfo( ), new ComponentInfo(
"DAVdroid", "(forked from)", "https://davdroid.bitfire.at", "DAVdroid", "(forked from)", "https://syncadapter.bitfire.at",
"Ricki Hirner, Bernhard Stockmann (bitfire web engineering)", "Ricki Hirner, Bernhard Stockmann (bitfire web engineering)",
R.string.about_license_info_no_warranty, "gpl-3.0-standalone.html" R.string.about_license_info_no_warranty, "gpl-3.0-standalone.html"
), new ComponentInfo( ), new ComponentInfo(

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.accounts.AccountManager; import android.accounts.AccountManager;
@ -60,15 +60,15 @@ import java.util.List;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.cert4android.CustomCertManager; import at.bitfire.cert4android.CustomCertManager;
import at.bitfire.davdroid.AccountUpdateService; import com.etesync.syncadapter.AccountUpdateService;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.model.ServiceDB.Collections; import com.etesync.syncadapter.model.ServiceDB.Collections;
import at.bitfire.davdroid.model.ServiceDB.OpenHelper; import com.etesync.syncadapter.model.ServiceDB.OpenHelper;
import at.bitfire.davdroid.model.ServiceDB.Services; import com.etesync.syncadapter.model.ServiceDB.Services;
import at.bitfire.davdroid.resource.LocalCalendar; import com.etesync.syncadapter.resource.LocalCalendar;
import at.bitfire.ical4android.TaskProvider; import at.bitfire.ical4android.TaskProvider;
import lombok.Cleanup; import lombok.Cleanup;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.accounts.AccountManager; import android.accounts.AccountManager;
@ -28,9 +28,9 @@ import android.widget.ArrayAdapter;
import android.widget.ListView; import android.widget.ListView;
import android.widget.TextView; import android.widget.TextView;
import at.bitfire.davdroid.AccountsChangedReceiver; import com.etesync.syncadapter.AccountsChangedReceiver;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
public class AccountListFragment extends ListFragment implements LoaderManager.LoaderCallbacks<Account[]>, AdapterView.OnItemClickListener { public class AccountListFragment extends ListFragment implements LoaderManager.LoaderCallbacks<Account[]>, AdapterView.OnItemClickListener {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.content.ContentResolver; import android.content.ContentResolver;
@ -29,13 +29,13 @@ import android.support.v7.preference.SwitchPreferenceCompat;
import android.text.TextUtils; import android.text.TextUtils;
import android.view.MenuItem; import android.view.MenuItem;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.ui.setup.LoginCredentials; import com.etesync.syncadapter.ui.setup.LoginCredentials;
import at.bitfire.davdroid.ui.setup.LoginCredentialsChangeFragment; import com.etesync.syncadapter.ui.setup.LoginCredentialsChangeFragment;
import static at.bitfire.davdroid.Constants.KEY_ACCOUNT; import static com.etesync.syncadapter.Constants.KEY_ACCOUNT;
public class AccountSettingsActivity extends AppCompatActivity { public class AccountSettingsActivity extends AppCompatActivity {
private Account account; private Account account;

View File

@ -6,14 +6,12 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.Manifest;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.support.design.widget.FloatingActionButton; import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.NavigationView; import android.support.design.widget.NavigationView;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.FragmentTransaction; import android.support.v4.app.FragmentTransaction;
import android.support.v4.view.GravityCompat; import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout; import android.support.v4.widget.DrawerLayout;
@ -24,12 +22,12 @@ import android.view.MenuItem;
import android.view.View; import android.view.View;
import android.widget.Toast; import android.widget.Toast;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.ui.setup.LoginActivity; import com.etesync.syncadapter.ui.setup.LoginActivity;
import static at.bitfire.davdroid.BuildConfig.DEBUG; import static com.etesync.syncadapter.BuildConfig.DEBUG;
import static at.bitfire.davdroid.Constants.serviceUrl; import static com.etesync.syncadapter.Constants.serviceUrl;
public class AccountsActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { public class AccountsActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -20,10 +20,10 @@ import android.support.v7.preference.SwitchPreferenceCompat;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.model.Settings; import com.etesync.syncadapter.model.Settings;
public class AppSettingsActivity extends AppCompatActivity { public class AppSettingsActivity extends AppCompatActivity {
@ -175,7 +175,7 @@ public class AppSettingsActivity extends AppCompatActivity {
app.reinitLogger(); app.reinitLogger();
// reinitialize logger of :sync process // reinitialize logger of :sync process
getContext().sendBroadcast(new Intent("at.bitfire.davdroid.REINIT_LOGGER")); getContext().sendBroadcast(new Intent("com.etesync.syncadapter.REINIT_LOGGER"));
} }
} }

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.content.Intent; import android.content.Intent;
@ -20,8 +20,8 @@ import android.widget.EditText;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
public class CreateAddressBookActivity extends AppCompatActivity { public class CreateAddressBookActivity extends AppCompatActivity {
public static final String EXTRA_ACCOUNT = "account"; public static final String EXTRA_ACCOUNT = "account";

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.content.Intent; import android.content.Intent;
@ -22,8 +22,8 @@ import android.widget.EditText;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import yuku.ambilwarna.AmbilWarnaDialog; import yuku.ambilwarna.AmbilWarnaDialog;
public class CreateCalendarActivity extends AppCompatActivity { public class CreateCalendarActivity extends AppCompatActivity {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.app.Activity; import android.app.Activity;
@ -26,14 +26,14 @@ import android.support.v4.app.LoaderManager;
import android.support.v4.content.AsyncTaskLoader; import android.support.v4.content.AsyncTaskLoader;
import android.support.v4.content.Loader; import android.support.v4.content.Loader;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.HttpClient; import com.etesync.syncadapter.HttpClient;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.Exceptions;
import at.bitfire.davdroid.journalmanager.JournalManager; import com.etesync.syncadapter.journalmanager.JournalManager;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import lombok.Cleanup; import lombok.Cleanup;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.accounts.AccountManager; import android.accounts.AccountManager;
@ -38,17 +38,17 @@ import java.io.IOException;
import java.util.Date; import java.util.Date;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.BuildConfig; import com.etesync.syncadapter.BuildConfig;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions.HttpException; import com.etesync.syncadapter.journalmanager.Exceptions.HttpException;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import lombok.Cleanup; import lombok.Cleanup;
import static at.bitfire.davdroid.Constants.KEY_ACCOUNT; import static com.etesync.syncadapter.Constants.KEY_ACCOUNT;
public class DebugInfoActivity extends AppCompatActivity implements LoaderManager.LoaderCallbacks<String> { public class DebugInfoActivity extends AppCompatActivity implements LoaderManager.LoaderCallbacks<String> {
public static final String public static final String
@ -203,7 +203,7 @@ public class DebugInfoActivity extends AppCompatActivity implements LoaderManage
installedFrom = "APK (directly)"; installedFrom = "APK (directly)";
boolean workaroundInstalled = false; boolean workaroundInstalled = false;
try { try {
workaroundInstalled = pm.getPackageInfo("at.bitfire.davdroid.jbworkaround", 0) != null; workaroundInstalled = pm.getPackageInfo("com.etesync.syncadapter.jbworkaround", 0) != null;
} catch(PackageManager.NameNotFoundException ignored) {} } catch(PackageManager.NameNotFoundException ignored) {}
report.append("\nSOFTWARE INFORMATION\n" + report.append("\nSOFTWARE INFORMATION\n" +
"EteSync version: ").append(BuildConfig.VERSION_NAME).append(" (").append(BuildConfig.VERSION_CODE).append(") ").append(new Date(BuildConfig.buildTime)).append("\n") "EteSync version: ").append(BuildConfig.VERSION_NAME).append(" (").append(BuildConfig.VERSION_CODE).append(") ").append(new Date(BuildConfig.buildTime)).append("\n")

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.app.Activity; import android.app.Activity;
@ -24,14 +24,14 @@ import android.support.v4.content.Loader;
import android.support.v7.app.AlertDialog; import android.support.v7.app.AlertDialog;
import android.text.TextUtils; import android.text.TextUtils;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.HttpClient; import com.etesync.syncadapter.HttpClient;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.Exceptions;
import at.bitfire.davdroid.journalmanager.JournalManager; import com.etesync.syncadapter.journalmanager.JournalManager;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;
public class DeleteCollectionFragment extends DialogFragment implements LoaderManager.LoaderCallbacks<Exception> { public class DeleteCollectionFragment extends DialogFragment implements LoaderManager.LoaderCallbacks<Exception> {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.accounts.Account; import android.accounts.Account;
import android.app.Dialog; import android.app.Dialog;
@ -19,9 +19,9 @@ import android.support.v7.app.AlertDialog;
import java.io.IOException; import java.io.IOException;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Exceptions.HttpException; import com.etesync.syncadapter.journalmanager.Exceptions.HttpException;
public class ExceptionInfoFragment extends DialogFragment { public class ExceptionInfoFragment extends DialogFragment {
protected static final String protected static final String

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.Manifest; import android.Manifest;
import android.app.Activity; import android.app.Activity;
@ -19,9 +19,9 @@ import android.support.v4.app.NotificationManagerCompat;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;
import android.view.View; import android.view.View;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.resource.LocalTaskList; import com.etesync.syncadapter.resource.LocalTaskList;
public class PermissionsActivity extends AppCompatActivity { public class PermissionsActivity extends AppCompatActivity {
final static private int REQUEST_CODE_ASK_MULTIPLE_PERMISSIONS = 124; final static private int REQUEST_CODE_ASK_MULTIPLE_PERMISSIONS = 124;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui; package com.etesync.syncadapter.ui;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.annotation.TargetApi; import android.annotation.TargetApi;
@ -26,11 +26,11 @@ import java.util.Collections;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import at.bitfire.davdroid.BuildConfig; import com.etesync.syncadapter.BuildConfig;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.model.Settings; import com.etesync.syncadapter.model.Settings;
import lombok.Cleanup; import lombok.Cleanup;
public class StartupDialogFragment extends DialogFragment { public class StartupDialogFragment extends DialogFragment {

View File

@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import android.content.Context; import android.content.Context;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
@ -18,11 +18,11 @@ import java.util.Map;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
import at.bitfire.davdroid.HttpClient; import com.etesync.syncadapter.HttpClient;
import at.bitfire.davdroid.journalmanager.Exceptions; import com.etesync.syncadapter.journalmanager.Exceptions;
import at.bitfire.davdroid.journalmanager.JournalAuthenticator; import com.etesync.syncadapter.journalmanager.JournalAuthenticator;
import at.bitfire.davdroid.log.StringHandler; import com.etesync.syncadapter.log.StringHandler;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.ToString; import lombok.ToString;
@ -41,7 +41,7 @@ public class BaseConfigurationFinder {
this.context = context; this.context = context;
this.credentials = credentials; this.credentials = credentials;
log = Logger.getLogger("davdroid.BaseConfigurationFinder"); log = Logger.getLogger("syncadapter.BaseConfigurationFinder");
log.setLevel(Level.FINEST); log.setLevel(Level.FINEST);
log.addHandler(logBuffer); log.addHandler(logBuffer);

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import android.app.Dialog; import android.app.Dialog;
import android.app.ProgressDialog; import android.app.ProgressDialog;
@ -21,10 +21,10 @@ import android.support.v4.content.AsyncTaskLoader;
import android.support.v4.content.Loader; import android.support.v4.content.Loader;
import android.support.v7.app.AlertDialog; import android.support.v7.app.AlertDialog;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.ui.DebugInfoActivity; import com.etesync.syncadapter.ui.DebugInfoActivity;
import at.bitfire.davdroid.ui.setup.BaseConfigurationFinder.Configuration; import com.etesync.syncadapter.ui.setup.BaseConfigurationFinder.Configuration;
public class DetectConfigurationFragment extends DialogFragment implements LoaderManager.LoaderCallbacks<Configuration> { public class DetectConfigurationFragment extends DialogFragment implements LoaderManager.LoaderCallbacks<Configuration> {
protected static final String ARG_LOGIN_CREDENTIALS = "credentials"; protected static final String ARG_LOGIN_CREDENTIALS = "credentials";

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import android.os.Bundle; import android.os.Bundle;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
@ -16,8 +16,8 @@ import android.view.ViewGroup;
import android.widget.Button; import android.widget.Button;
import android.widget.TextView; import android.widget.TextView;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.ui.widget.EditPassword; import com.etesync.syncadapter.ui.widget.EditPassword;
public class EncryptionDetailsFragment extends Fragment { public class EncryptionDetailsFragment extends Fragment {

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -14,9 +14,9 @@ import android.support.v7.app.AppCompatActivity;
import android.view.Menu; import android.view.Menu;
import android.view.MenuItem; import android.view.MenuItem;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
/** /**
* Activity to initially connect to a server and create an account. * Activity to initially connect to a server and create an account.

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;
@ -14,8 +14,8 @@ import android.os.Parcelable;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor @RequiredArgsConstructor

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import android.accounts.Account; import android.accounts.Account;
import android.app.Dialog; import android.app.Dialog;
@ -24,12 +24,12 @@ import android.support.v7.app.AlertDialog;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.ui.DebugInfoActivity; import com.etesync.syncadapter.ui.DebugInfoActivity;
import at.bitfire.davdroid.ui.setup.BaseConfigurationFinder.Configuration; import com.etesync.syncadapter.ui.setup.BaseConfigurationFinder.Configuration;
public class LoginCredentialsChangeFragment extends DialogFragment implements LoaderManager.LoaderCallbacks<Configuration> { public class LoginCredentialsChangeFragment extends DialogFragment implements LoaderManager.LoaderCallbacks<Configuration> {
protected static final String ARG_LOGIN_CREDENTIALS = "credentials", protected static final String ARG_LOGIN_CREDENTIALS = "credentials",

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;
@ -19,9 +19,9 @@ import android.view.ViewGroup;
import android.widget.Button; import android.widget.Button;
import android.widget.EditText; import android.widget.EditText;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.ui.widget.EditPassword; import com.etesync.syncadapter.ui.widget.EditPassword;
public class LoginCredentialsFragment extends Fragment { public class LoginCredentialsFragment extends Fragment {
EditText editUserName; EditText editUserName;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.setup; package com.etesync.syncadapter.ui.setup;
import android.accounts.Account; import android.accounts.Account;
import android.accounts.AccountManager; import android.accounts.AccountManager;
@ -28,16 +28,16 @@ import android.support.v4.content.Loader;
import java.util.logging.Level; import java.util.logging.Level;
import at.bitfire.davdroid.AccountSettings; import com.etesync.syncadapter.AccountSettings;
import at.bitfire.davdroid.App; import com.etesync.syncadapter.App;
import at.bitfire.davdroid.Constants; import com.etesync.syncadapter.Constants;
import at.bitfire.davdroid.InvalidAccountException; import com.etesync.syncadapter.InvalidAccountException;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
import at.bitfire.davdroid.journalmanager.Helpers; import com.etesync.syncadapter.journalmanager.Helpers;
import at.bitfire.davdroid.model.CollectionInfo; import com.etesync.syncadapter.model.CollectionInfo;
import at.bitfire.davdroid.model.ServiceDB; import com.etesync.syncadapter.model.ServiceDB;
import at.bitfire.davdroid.resource.LocalTaskList; import com.etesync.syncadapter.resource.LocalTaskList;
import at.bitfire.davdroid.ui.setup.BaseConfigurationFinder.Configuration; import com.etesync.syncadapter.ui.setup.BaseConfigurationFinder.Configuration;
import at.bitfire.ical4android.TaskProvider; import at.bitfire.ical4android.TaskProvider;
import lombok.Cleanup; import lombok.Cleanup;

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.widget; package com.etesync.syncadapter.ui.widget;
import android.content.Context; import android.content.Context;
import android.text.Editable; import android.text.Editable;
@ -17,7 +17,7 @@ import android.widget.CompoundButton;
import android.widget.EditText; import android.widget.EditText;
import android.widget.LinearLayout; import android.widget.LinearLayout;
import at.bitfire.davdroid.R; import com.etesync.syncadapter.R;
public class EditPassword extends LinearLayout { public class EditPassword extends LinearLayout {
private static final String NS_ANDROID = "http://schemas.android.com/apk/res/android"; private static final String NS_ANDROID = "http://schemas.android.com/apk/res/android";

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid.ui.widget; package com.etesync.syncadapter.ui.widget;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@ -13,7 +13,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="at.bitfire.davdroid.ui.AccountsActivity"> tools:context="com.etesync.syncadapter.ui.AccountsActivity">
<android.support.design.widget.AppBarLayout <android.support.design.widget.AppBarLayout
android:layout_width="match_parent" android:layout_width="match_parent"
@ -29,7 +29,7 @@
</android.support.design.widget.AppBarLayout> </android.support.design.widget.AppBarLayout>
<fragment <fragment
class="at.bitfire.davdroid.ui.AccountListFragment" class="com.etesync.syncadapter.ui.AccountListFragment"
android:id="@+id/account_list" android:id="@+id/account_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -50,7 +50,7 @@
android:visibility="gone" android:visibility="gone"
android:indeterminate="true"/> android:indeterminate="true"/>
<at.bitfire.davdroid.ui.widget.MaximizedListView <com.etesync.syncadapter.ui.widget.MaximizedListView
android:id="@+id/address_books" android:id="@+id/address_books"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -90,7 +90,7 @@
android:visibility="gone" android:visibility="gone"
android:indeterminate="true"/> android:indeterminate="true"/>
<at.bitfire.davdroid.ui.widget.MaximizedListView <com.etesync.syncadapter.ui.widget.MaximizedListView
android:id="@+id/calendars" android:id="@+id/calendars"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -42,7 +42,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="@string/login_user_name" android:hint="@string/login_user_name"
android:inputType="textEmailAddress"/> android:inputType="textEmailAddress"/>
<at.bitfire.davdroid.ui.widget.EditPassword <com.etesync.syncadapter.ui.widget.EditPassword
android:id="@+id/url_password" android:id="@+id/url_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -35,7 +35,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
<at.bitfire.davdroid.ui.widget.EditPassword <com.etesync.syncadapter.ui.widget.EditPassword
android:id="@+id/encryption_password" android:id="@+id/encryption_password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -257,7 +257,7 @@
<string name="exception_show_details">Show details</string> <string name="exception_show_details">Show details</string>
<!-- sync errors and DebugInfoActivity --> <!-- sync errors and DebugInfoActivity -->
<string name="authority_log_provider">at.bitfire.davdroid.log</string> <string name="authority_log_provider">com.etesync.syncadapter.log</string>
<string name="debug_info_title">Debug info</string> <string name="debug_info_title">Debug info</string>
<string name="sync_error_permissions">EteSync permissions</string> <string name="sync_error_permissions">EteSync permissions</string>
<string name="sync_error_permissions_text">Additional permissions required</string> <string name="sync_error_permissions_text">Additional permissions required</string>

View File

@ -68,7 +68,7 @@
android:summary="@string/app_settings_show_debug_info_details"> android:summary="@string/app_settings_show_debug_info_details">
<intent <intent
android:targetPackage="com.etesync.syncadapter" android:targetPackage="com.etesync.syncadapter"
android:targetClass="at.bitfire.davdroid.ui.DebugInfoActivity"/> android:targetClass="com.etesync.syncadapter.ui.DebugInfoActivity"/>
</Preference> </Preference>
</PreferenceCategory> </PreferenceCategory>

View File

@ -12,7 +12,7 @@
<PreferenceScreen android:title="@string/manage_accounts"> <PreferenceScreen android:title="@string/manage_accounts">
<intent <intent
android:targetPackage="com.etesync.syncadapter" android:targetPackage="com.etesync.syncadapter"
android:targetClass="at.bitfire.davdroid.ui.AccountsActivity" android:targetClass="com.etesync.syncadapter.ui.AccountsActivity"
android:action="ACTION_VIEW" /> android:action="ACTION_VIEW" />
</PreferenceScreen> </PreferenceScreen>

View File

@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
*/ */
package at.bitfire.davdroid; package com.etesync.syncadapter;
import org.junit.After; import org.junit.After;
import org.junit.Before; import org.junit.Before;