@@ -92,12 +92,19 @@ type UsesSDK struct {
9292 Max androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android maxSdkVersion,attr"`
9393}
9494
95+ // UsesPermission is user grant the system permission.
96+ type UsesPermission struct {
97+ Name androidbinary.String `xml:"http://schemas.android.com/apk/res/android name,attr"`
98+ Max androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android maxSdkVersion,attr"`
99+ }
100+
95101// Manifest is a manifest of an APK.
96102type Manifest struct {
97- Package androidbinary.String `xml:"package,attr"`
98- VersionCode androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android versionCode,attr"`
99- VersionName androidbinary.String `xml:"http://schemas.android.com/apk/res/android versionName,attr"`
100- App Application `xml:"application"`
101- Instrument Instrumentation `xml:"instrumentation"`
102- SDK UsesSDK `xml:"uses-sdk"`
103+ Package androidbinary.String `xml:"package,attr"`
104+ VersionCode androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android versionCode,attr"`
105+ VersionName androidbinary.String `xml:"http://schemas.android.com/apk/res/android versionName,attr"`
106+ App Application `xml:"application"`
107+ Instrument Instrumentation `xml:"instrumentation"`
108+ SDK UsesSDK `xml:"uses-sdk"`
109+ UsesPermissions []UsesPermission `xml:"uses-permission"`
103110}
0 commit comments