mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Fix build issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
df8e73fff2
commit
7c870c198e
2 changed files with 15 additions and 0 deletions
|
@ -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";
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue