|
@@ -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);
|
|
|
+ }
|
|
|
}
|