Add application version to Android manifest

This commit is contained in:
Steve Soltys 2018-11-13 18:15:21 -05:00
parent 6b29cec736
commit 22db4579e8

View file

@ -1,40 +1,43 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="com.stevesoltys.backup"> package="com.stevesoltys.backup"
android:versionCode="1"
android:versionName="0.1.0">
<uses-permission android:name="android.permission.BACKUP"/> <uses-permission android:name="android.permission.BACKUP" />
<uses-sdk <uses-sdk
android:minSdkVersion="26" android:minSdkVersion="26"
android:targetSdkVersion="26"/> android:targetSdkVersion="26" />
<application <application
android:name=".Backup" android:name=".Backup"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:allowBackup="false" android:allowBackup="false"
tools:replace="android:allowBackup"> tools:replace="android:allowBackup">
<activity android:name="com.stevesoltys.backup.activity.MainActivity"> <activity android:name="com.stevesoltys.backup.activity.MainActivity">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN"/> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER"/> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name="com.stevesoltys.backup.activity.backup.CreateBackupActivity" <activity
android:parentActivityName="com.stevesoltys.backup.activity.MainActivity"> android:name="com.stevesoltys.backup.activity.backup.CreateBackupActivity"
</activity> android:parentActivityName="com.stevesoltys.backup.activity.MainActivity" />
<activity android:name="com.stevesoltys.backup.activity.restore.RestoreBackupActivity" <activity
android:parentActivityName="com.stevesoltys.backup.activity.MainActivity"> android:name="com.stevesoltys.backup.activity.restore.RestoreBackupActivity"
</activity> android:parentActivityName="com.stevesoltys.backup.activity.MainActivity" />
<service android:name="com.stevesoltys.backup.transport.ConfigurableBackupTransportService" <service
android:exported="false"> android:name="com.stevesoltys.backup.transport.ConfigurableBackupTransportService"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="android.backup.TRANSPORT_HOST" /> <action android:name="android.backup.TRANSPORT_HOST" />
</intent-filter> </intent-filter>