diff options
-rw-r--r-- | bugreport.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bugreport.cpp b/bugreport.cpp index 24be529..143c62a 100644 --- a/bugreport.cpp +++ b/bugreport.cpp @@ -240,8 +240,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"; } } |