Fix build issues

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-02-12 13:58:12 +01:00 committed by AndyScherzinger
parent df8e73fff2
commit 7c870c198e
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 15 additions and 0 deletions

View file

@ -20,6 +20,11 @@
package com.owncloud.android.utils;
import android.content.Context;
import com.owncloud.android.MainApp;
import com.owncloud.android.db.PreferenceManager;
public class PushUtils {
public static final String KEY_PUSH = "push";

View file

@ -20,10 +20,20 @@
package com.owncloud.android.utils;
import android.content.Context;
import com.owncloud.android.MainApp;
import com.owncloud.android.db.PreferenceManager;
public class PushUtils {
public static final String KEY_PUSH = "push";
public static void pushRegistrationToServer() {
// do nothing
}
public static void reinitKeys() {
Context context = MainApp.getAppContext();
PreferenceManager.setKeysReInit(context);
}
}