Skip to content

Commit d38ecee

Browse files
authored
test (aapt/aapt2): ensure ampersand is escaped on android:label (#2802)
* test (aapt/aapt2): ensure ampersand is escaped on android:label * build (workflow): ensure test changes force ci rebuild
1 parent 420406b commit d38ecee

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- '**.java'
99
- '**.gradle'
1010
- 'brut.apktool/apktool-lib/src/main/resources/**'
11+
- 'brut.apktool/apktool-lib/src/test/**'
1112
- '.github/workflows/**'
1213

1314
env:

brut.apktool/apktool-lib/src/test/resources/aapt1/testapp/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:appCategory="game" android:compileSdkVersion="23" android:compileSdkVersionCodename="6.0-2438415" package="brut.apktool.testapp" platformBuildVersionCode="23" platformBuildVersionName="6.0-2438415">
33
<uses-feature android:glEsVersion="0x00020000" />
44
<uses-feature android:glEsVersion="0x00030002" />
5-
<application>
5+
<application android:label="Issue2799 &amp; B">
66
<meta-data name="test_int_as_string" value="\ 12345" />
77
<meta-data name="test_int" value="12345" />
88
</application>

brut.apktool/apktool-lib/src/test/resources/aapt2/testapp/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:appCategory="game" android:compileSdkVersion="23" android:compileSdkVersionCodename="6.0-2438415" package="brut.apktool.aapt1.testapp" platformBuildVersionCode="23" platformBuildVersionName="6.0-2438415">
3-
<application>
3+
<application android:label="Issue2799 &amp; B">
44
<meta-data name="test_int_as_string" value="\ 12345" />
55
<meta-data name="test_int" value="12345" />
66
</application>

0 commit comments

Comments
 (0)