| 1 |
From: Tomasz Wasilczyk <[email protected]> |
| 2 |
Date: Mon, 14 Aug 2023 16:26:24 +0000 |
| 3 |
Subject: Don't use String8::empty |
| 4 |
|
| 5 |
Change-Id: Ic9d5a4f4371c6a8fe88d19528c263b1ed22e60c9 |
| 6 |
Forwarded: https://android.googlesource.com/platform/frameworks/base/+/5f004aa22ec86ea25c2e1907bfb225f3c31ebc80 |
| 7 |
--- |
| 8 |
tools/aapt/Command.cpp | 4 ++-- |
| 9 |
1 file changed, 2 insertions(+), 2 deletions(-) |
| 10 |
|
| 11 |
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp |
| 12 |
index d02fd83df6af..51cf38bce64e 100644 |
| 13 |
--- a/tools/aapt/Command.cpp |
| 14 |
+++ b/tools/aapt/Command.cpp |
| 15 |
@@ -353,8 +353,8 @@ static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { |
| 16 |
} |
| 17 |
|
| 18 |
static void printUsesPermission(const String8& name, bool optional=false, int maxSdkVersion=-1, |
| 19 |
|
| 20 |
|
| 21 |
+ const String8& requiredFeature = String8(), |
| 22 |
+ const String8& requiredNotFeature = String8()) { |
| 23 |
printf("uses-permission: name='%s'", ResTable::normalizeForOutput(name.c_str()).c_str()); |
| 24 |
if (maxSdkVersion != -1) { |
| 25 |
printf(" maxSdkVersion='%d'", maxSdkVersion); |
| 26 |
|
| 27 |
2.39.5 |
| 28 |
|