Add adb shell bmgr init TRANSPORT... to bmgr help

Wasn't there.

Test: adb shell bmgr init
      android/com.android.internal.backup.LocalTransport, verify it works
Test: adb shell bmgr, check help message

Change-Id: Icceb78eac8c73128897f64a3d7c72fd27ff269dc
This commit is contained in:
Bernardo Rufino
2018-08-22 09:56:34 +01:00
parent be018bbb0c
commit 607d78e188

View File

@@ -845,6 +845,7 @@ public final class Bmgr {
System.err.println(" bmgr fullbackup PACKAGE...");
System.err.println(" bmgr backupnow [--monitor|--monitor-verbose] --all|PACKAGE...");
System.err.println(" bmgr cancel backups");
System.err.println(" bmgr init TRANSPORT...");
System.err.println("");
System.err.println("The 'backup' command schedules a backup pass for the named package.");
System.err.println("Note that the backup pass will effectively be a no-op if the package");
@@ -902,7 +903,11 @@ public final class Bmgr {
System.err.println("For each package it will run key/value or full data backup ");
System.err.println("depending on the package's manifest declarations.");
System.err.println("The data is sent via the currently active transport.");
System.err.println("");
System.err.println("The 'cancel backups' command cancels all running backups.");
System.err.println("");
System.err.println("The 'init' command initializes the given transports, wiping all data");
System.err.println("from their backing data stores.");
}
private static class BackupMonitor extends IBackupManagerMonitor.Stub {