| 1 |
Forwarded: not-needed |
| 2 |
--- a/tools/aapt/Main.cpp |
| 3 |
+++ b/tools/aapt/Main.cpp |
| 4 |
@@ -6,7 +6,6 @@ |
| 5 |
#include "Main.h" |
| 6 |
#include "Bundle.h" |
| 7 |
|
| 8 |
|
| 9 |
#include <utils/Compat.h> |
| 10 |
#include <utils/Log.h> |
| 11 |
#include <utils/threads.h> |
| 12 |
@@ -29,7 +28,7 @@ |
| 13 |
if (bundle->getFileSpecCount() != 0) { |
| 14 |
printf("(ignoring extra arguments)\n"); |
| 15 |
} |
| 16 |
|
| 17 |
+ printf("Android Asset Packaging Tool, v0.2-%s\n", "debian"); |
| 18 |
|
| 19 |
return 0; |
| 20 |
} |
| 21 |
--- a/tools/aapt2/util/Util.cpp |
| 22 |
+++ b/tools/aapt2/util/Util.cpp |
| 23 |
@@ -24,7 +24,6 @@ |
| 24 |
#include "android-base/stringprintf.h" |
| 25 |
#include "android-base/strings.h" |
| 26 |
#include "androidfw/StringPiece.h" |
| 27 |
|
| 28 |
#include "text/Unicode.h" |
| 29 |
#include "text/Utf8Iterator.h" |
| 30 |
#include "util/BigBuffer.h" |
| 31 |
@@ -230,17 +229,7 @@ std::string GetToolFingerprint() { |
| 32 |
// Update minor version whenever a feature or flag is added. |
| 33 |
static const char* const sMinorVersion = "19"; |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
+ return android::base::StringPrintf("%s.%s-%s", sMajorVersion, sMinorVersion, "debian"); |
| 47 |
} |
| 48 |
|
| 49 |
static size_t ConsumeDigits(const char* start, const char* end) { |