Add files via upload

Added fix for issues #190 & #259 both rotation/orientation related
This commit is contained in:
PhotonQyv 2017-05-03 17:02:22 +01:00 committed by GitHub
parent f7915d614d
commit 7993fbc5b5
1 changed files with 100 additions and 98 deletions

View File

@ -1,99 +1,101 @@
<?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.keylesspalace.tusky"> package="com.keylesspalace.tusky">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.VIBRATE" />
<application <application
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:name=".TuskyApplication"> android:name=".TuskyApplication">
<activity android:name=".SplashActivity"> <activity android:name=".SplashActivity">
<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 <activity
android:name=".LoginActivity" android:name=".LoginActivity"
android:windowSoftInputMode="adjustResize"> android:windowSoftInputMode="adjustResize">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<data <data
android:host="@string/oauth_redirect_host" android:host="@string/oauth_redirect_host"
android:scheme="@string/oauth_scheme" /> android:scheme="@string/oauth_scheme" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".MainActivity" /> <activity
<activity android:name=".MainActivity" android:configChanges="orientation|screenSize|keyboardHidden">
android:name=".ComposeActivity" </activity>
android:windowSoftInputMode="stateVisible|adjustResize"> <activity
<intent-filter> android:name=".ComposeActivity"
<action android:name="android.intent.action.SEND" /> android:windowSoftInputMode="stateVisible|adjustResize">
<category android:name="android.intent.category.DEFAULT" /> <intent-filter>
<data android:mimeType="text/plain" /> <action android:name="android.intent.action.SEND" />
</intent-filter> <category android:name="android.intent.category.DEFAULT" />
<intent-filter> <data android:mimeType="text/plain" />
<action android:name="android.intent.action.SEND" /> </intent-filter>
<category android:name="android.intent.category.DEFAULT" /> <intent-filter>
<data android:mimeType="image/*" /> <action android:name="android.intent.action.SEND" />
</intent-filter> <category android:name="android.intent.category.DEFAULT" />
<intent-filter> <data android:mimeType="image/*" />
<action android:name="android.intent.action.SEND_MULTIPLE" /> </intent-filter>
<category android:name="android.intent.category.DEFAULT" /> <intent-filter>
<data android:mimeType="image/*" /> <action android:name="android.intent.action.SEND_MULTIPLE" />
</intent-filter> <category android:name="android.intent.category.DEFAULT" />
</activity> <data android:mimeType="image/*" />
<activity android:name=".ViewVideoActivity" android:configChanges="orientation|keyboardHidden|screenSize" /> </intent-filter>
<activity android:name=".ViewThreadActivity" /> </activity>
<activity android:name=".ViewTagActivity" /> <activity android:name=".ViewVideoActivity" android:configChanges="orientation|keyboardHidden|screenSize" />
<activity android:name=".AccountActivity" /> <activity android:name=".ViewThreadActivity" />
<activity android:name=".EditProfileActivity" /> <activity android:name=".ViewTagActivity" />
<activity android:name=".PreferencesActivity" /> <activity android:name=".AccountActivity" />
<activity android:name=".FavouritesActivity" /> <activity android:name=".EditProfileActivity" />
<activity android:name=".AccountListActivity" /> <activity android:name=".PreferencesActivity" />
<activity <activity android:name=".FavouritesActivity" />
android:name=".ReportActivity" <activity android:name=".AccountListActivity" />
android:windowSoftInputMode="stateVisible|adjustResize" /> <activity
<activity android:name=".ReportActivity"
android:name="com.theartofdev.edmodo.cropper.CropImageActivity" android:windowSoftInputMode="stateVisible|adjustResize" />
android:theme="@style/Base.Theme.AppCompat" /> <activity
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
<receiver android:name=".NotificationClearBroadcastReceiver" /> android:theme="@style/Base.Theme.AppCompat" />
<service <receiver android:name=".NotificationClearBroadcastReceiver" />
tools:targetApi="24"
android:name="com.keylesspalace.tusky.TuskyTileService" <service
android:icon="@drawable/ic_send_24dp" tools:targetApi="24"
android:label="Compose Toot" android:name="com.keylesspalace.tusky.TuskyTileService"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"> android:icon="@drawable/ic_send_24dp"
<intent-filter> android:label="Compose Toot"
<action android:name="android.service.quicksettings.action.QS_TILE" /> android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
</intent-filter> <intent-filter>
</service> <action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
<provider </service>
android:name="android.support.v4.content.FileProvider"
android:authorities="com.keylesspalace.tusky.fileprovider" <provider
android:exported="false" android:name="android.support.v4.content.FileProvider"
android:grantUriPermissions="true"> android:authorities="com.keylesspalace.tusky.fileprovider"
<meta-data android:exported="false"
android:name="android.support.FILE_PROVIDER_PATHS" android:grantUriPermissions="true">
android:resource="@xml/file_paths" /> <meta-data
</provider> android:name="android.support.FILE_PROVIDER_PATHS"
</application> android:resource="@xml/file_paths" />
</provider>
</application>
</manifest> </manifest>