diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2017-01-19 23:40:02 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-01-19 23:40:06 +0000 |
commit | 1f9f11007db09bbbc156965e77b10de82a32a544 (patch) | |
tree | e715a9edb691da38726c2c5487625bd35b05ec94 /tools/aapt2/xml/XmlUtil.h | |
parent | 12375e9e0d14868cf63c0d6584c7a7d9440c30c4 (diff) | |
parent | d5083f6f6b9bc76bbe64052bcec639eee752a321 (diff) |
Merge "Move StringPiece to libandroidfw"
Diffstat (limited to 'tools/aapt2/xml/XmlUtil.h')
-rw-r--r-- | tools/aapt2/xml/XmlUtil.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/aapt2/xml/XmlUtil.h b/tools/aapt2/xml/XmlUtil.h index 536540162d07..1650ac2124ac 100644 --- a/tools/aapt2/xml/XmlUtil.h +++ b/tools/aapt2/xml/XmlUtil.h @@ -74,7 +74,7 @@ Maybe<ExtractedPackage> ExtractPackageFromNamespace( * * http://schemas.android.com/apk/prv/res/<package> */ -std::string BuildPackageNamespace(const StringPiece& package, +std::string BuildPackageNamespace(const android::StringPiece& package, bool private_reference = false); /** @@ -90,7 +90,7 @@ struct IPackageDeclStack { * package declaration. */ virtual Maybe<ExtractedPackage> TransformPackageAlias( - const StringPiece& alias, const StringPiece& local_package) const = 0; + const android::StringPiece& alias, const android::StringPiece& local_package) const = 0; }; /** @@ -100,8 +100,7 @@ struct IPackageDeclStack { * the namespace of the package declaration was private. */ void TransformReferenceFromNamespace(IPackageDeclStack* decl_stack, - const StringPiece& local_package, - Reference* in_ref); + const android::StringPiece& local_package, Reference* in_ref); } // namespace xml } // namespace aapt |