diff options
author | 2023-08-14 16:26:24 +0000 | |
---|---|---|
committer | 2023-08-15 21:54:56 +0000 | |
commit | 5f004aa22ec86ea25c2e1907bfb225f3c31ebc80 (patch) | |
tree | faf554f57d544b42c0a6f0163d4b0be4a078118d | |
parent | d9491b0412c6092858023ebb14267a36eec0dc09 (diff) |
Don't use String8::empty
Bug: 295394788
Test: mma
Change-Id: Ic9d5a4f4371c6a8fe88d19528c263b1ed22e60c9
-rw-r--r-- | tools/aapt/Command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index d02fd83df6af..51cf38bce64e 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -353,8 +353,8 @@ static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { } static void printUsesPermission(const String8& name, bool optional=false, int maxSdkVersion=-1, - const String8& requiredFeature = String8::empty(), - const String8& requiredNotFeature = String8::empty()) { + const String8& requiredFeature = String8(), + const String8& requiredNotFeature = String8()) { printf("uses-permission: name='%s'", ResTable::normalizeForOutput(name.string()).string()); if (maxSdkVersion != -1) { printf(" maxSdkVersion='%d'", maxSdkVersion); |