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

Commit a77b1c5a authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Make "adb bugreport"'s .zip check case-insensitive." am: da6fe650 am:...

Merge "Make "adb bugreport"'s .zip check case-insensitive." am: da6fe650 am: 02ee1725 am: 76a62ca7
am: 20872745

Change-Id: I8f667f1d8875620c4ae52704f86d5d5ecbce6db0
parents f3ad3d93 20872745
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -237,8 +237,7 @@ int Bugreport::DoIt(TransportType transport_type, const char* serial, int argc,
        // Uses a default value until device provides the proper name
        dest_file = "bugreport.zip";
    } else {
        if (!android::base::EndsWith(dest_file, ".zip")) {
            // TODO: use a case-insensitive comparison (like EndsWithIgnoreCase
        if (!android::base::EndsWithIgnoreCase(dest_file, ".zip")) {
            dest_file += ".zip";
        }
    }