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

Commit 4b8c7f67 authored by Johan Toras Halseth's avatar Johan Toras Halseth
Browse files

Change flag from -includekeyvalue to -keyvalue/-nokeyvalue

The original flag was added in ag/1946677. As pointed out
in ag/2065837 we ought to stick to the syntax used for
other flags.

Test: adb backup -keyvalue -all
Change-Id: Ie2c7ee3d85740abadaa4119d23470cd9470bd981
parent c85aa306
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -101,8 +101,10 @@ public final class Backup {
                    doCompress = true;
                } else if ("-nocompress".equals(arg)) {
                    doCompress = false;
                } else if ("-includekeyvalue".equals(arg)) {
                } else if ("-keyvalue".equals(arg)) {
                    doKeyValue = true;
                } else if ("-nokeyvalue".equals(arg)) {
                    doKeyValue = false;
                } else {
                    Log.w(TAG, "Unknown backup flag " + arg);
                    continue;