Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 454e8f30 authored by Nikhar Agrawal's avatar Nikhar Agrawal
Browse files

Edit backupManager#dataChanged documentation

Specify in javadocs that the APIs only work for packages doing K/V backups

Change-Id: Ic46de44547fc1bf5928aa6a0849462cdad732acb
Bug: 171062821
parent 3b0fa9a4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -246,6 +246,9 @@ public class BackupManager {
     * new changes to its data.  A backup operation using your application's
     * {@link android.app.backup.BackupAgent} subclass will be scheduled when you
     * call this method.
     *
     * <p>
     * Note: This only works if your application is performing Key/Value backups.
     */
    public void dataChanged() {
        checkServiceBinder();
@@ -268,6 +271,8 @@ public class BackupManager {
     * as the caller.
     *
     * @param packageName The package name identifying the application to back up.
     * <p>
     * Note: Only works for packages performing Key/Value backups.
     */
    public static void dataChanged(String packageName) {
        checkServiceBinder();