You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
578 B
21 lines
578 B
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);
|
|
}
|
|
}
|
|
|