OSDN Git Service

Removed duplicated build from bugreport name.
authorFelipe Leme <felipeal@google.com>
Mon, 23 Jan 2017 17:41:00 +0000 (09:41 -0800)
committerFelipe Leme <felipeal@google.com>
Mon, 23 Jan 2017 17:43:26 +0000 (09:43 -0800)
It got duplicated by a bad git merge :-(

Change-Id: I476e63405fa7b0ef858728da7400ee860b56296f
Fixes: 33257711
Test: manual verification
Test: dumpstate_test passes

cmds/dumpstate/dumpstate.cpp

index 111146c..ed29e07 100644 (file)
@@ -1516,13 +1516,11 @@ int main(int argc, char *argv[]) {
         } else {
             ds.name_ = "undated";
         }
-        std::string buildId = android::base::GetProperty("ro.build.id", "UNKNOWN_BUILD");
 
         if (telephony_only) {
             ds.base_name_ += "-telephony";
         }
 
-        ds.base_name_ += "-" + buildId;
         if (do_fb) {
             ds.screenshot_path_ = ds.GetPath(".png");
         }