Skip to content

Commit

Permalink
Change CompileSDKVersionCodename data type
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarwojciski committed Dec 7, 2023
1 parent a3c09d1 commit 3e74d4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apk/apkxml.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ type UsesPermission struct {
type Manifest struct {
Package androidbinary.String `xml:"package,attr"`
CompileSDKVersion androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android compileSdkVersion,attr"`
CompileSDKVersionCodename androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android compileSdkVersionCodename,attr"`
CompileSDKVersionCodename androidbinary.String `xml:"http://schemas.android.com/apk/res/android compileSdkVersionCodename,attr"`
VersionCode androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android versionCode,attr"`
VersionName androidbinary.String `xml:"http://schemas.android.com/apk/res/android versionName,attr"`
App Application `xml:"application"`
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func ExampleNewXMLFile() {
enc.Encode(v)

// Output:
// <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="テスト版">
// <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="テスト版">
// <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">
// <activity android:theme="" android:name="FWMeasureActivity" android:label="" android:screenOrientation="0">
// <intent-filter>
Expand Down

0 comments on commit 3e74d4d

Please sign in to comment.