1
0
Fork 0

Missed on file. Sorry...

This commit is contained in:
Carlos Mogas da Silva 2010-07-21 01:54:53 +01:00
parent 63ff61d155
commit 3eb85cf733

View file

@ -0,0 +1,21 @@
package org.r3pek.pharmacies.backup;
import android.app.backup.BackupManager;
public class WrapBackupManager {
/* class initialization fails when this throws an exception */
static {
try {
Class.forName("android.app.backup.BackupManager");
} catch (Exception ex) {
throw new RuntimeException(ex);
}
}
/* calling here forces class initialization */
public static void isAvailable() { }
public static void dataChanged(String packageName) {
BackupManager.dataChanged(packageName);
}
}