Skip to content

Commit 3e74d4d

Browse files
author
oskarwojciski
committed
Change CompileSDKVersionCodename data type
1 parent a3c09d1 commit 3e74d4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apk/apkxml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ type UsesPermission struct {
102102
type Manifest struct {
103103
Package androidbinary.String `xml:"package,attr"`
104104
CompileSDKVersion androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android compileSdkVersion,attr"`
105-
CompileSDKVersionCodename androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android compileSdkVersionCodename,attr"`
105+
CompileSDKVersionCodename androidbinary.String `xml:"http://schemas.android.com/apk/res/android compileSdkVersionCodename,attr"`
106106
VersionCode androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android versionCode,attr"`
107107
VersionName androidbinary.String `xml:"http://schemas.android.com/apk/res/android versionName,attr"`
108108
App Application `xml:"application"`

example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func ExampleNewXMLFile() {
2525
enc.Encode(v)
2626

2727
// Output:
28-
// <Manifest package="net.sorablue.shogo.FWMeasure" xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="0" android:compileSdkVersionCodename="0" android:versionCode="1" android:versionName="テスト版">
28+
// <Manifest package="net.sorablue.shogo.FWMeasure" xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="0" android:compileSdkVersionCodename="" android:versionCode="1" android:versionName="テスト版">
2929
// <application android:allowTaskReparenting="false" android:allowBackup="false" android:backupAgent="" android:debuggable="false" android:description="" android:enabled="false" android:hasCode="false" android:hardwareAccelerated="false" android:icon="@0x7F020000" android:killAfterRestore="false" android:largeHeap="false" android:label="@0x7F040000" android:logo="" android:manageSpaceActivity="" android:name="" android:permission="" android:persistent="false" android:process="" android:restoreAnyVersion="false" android:requiredAccountType="" android:restrictedAccountType="" android:supportsRtl="false" android:taskAffinity="" android:testOnly="false" android:theme="" android:uiOptions="" android:vmSafeMode="false">
3030
// <activity android:theme="" android:name="FWMeasureActivity" android:label="" android:screenOrientation="0">
3131
// <intent-filter>

0 commit comments

Comments
 (0)