noHistory for activities

This commit is contained in:
Thomas 2022-09-06 18:26:49 +02:00
parent d0d193dcc4
commit e0ce8f30f8
1 changed files with 32 additions and 0 deletions

View File

@ -55,6 +55,7 @@
<activity <activity
android:exported="true" android:exported="true"
android:name=".activities.LoginActivity" android:name=".activities.LoginActivity"
android:noHistory="true"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateAlwaysHidden"> android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter> <intent-filter>
@ -75,37 +76,47 @@
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".activities.DraftActivity" android:name=".activities.DraftActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".imageeditor.EditImageActivity" android:name=".imageeditor.EditImageActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".activities.ComposeActivity" android:name=".activities.ComposeActivity"
android:noHistory="true"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:label="@string/compose" /> android:label="@string/compose" />
<activity <activity
android:name=".activities.StatusInfoActivity" android:name=".activities.StatusInfoActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".activities.FollowRequestActivity" android:name=".activities.FollowRequestActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".activities.WebviewActivity" android:name=".activities.WebviewActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".activities.ProfileActivity" android:name=".activities.ProfileActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/account" /> android:label="@string/account" />
<activity <activity
android:name=".activities.AdminAccountActivity" android:name=".activities.AdminAccountActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/account" /> android:label="@string/account" />
<activity <activity
android:name=".activities.ScheduledActivity" android:name=".activities.ScheduledActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/scheduled" /> android:label="@string/scheduled" />
<activity <activity
android:name="com.theartofdev.edmodo.cropper.CropImageActivity" android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:noHistory="true"
android:theme="@style/Base.Theme.AppCompat" /> android:theme="@style/Base.Theme.AppCompat" />
<service <service
@ -114,102 +125,123 @@
<activity <activity
android:name=".activities.SearchResultTabActivity" android:name=".activities.SearchResultTabActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@style/AppThemeBar" android:theme="@style/AppThemeBar"
android:label="@string/search" /> android:label="@string/search" />
<activity <activity
android:name=".activities.TrendsActivity" android:name=".activities.TrendsActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/trending" android:label="@string/trending"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".activities.ReorderTimelinesActivity" android:name=".activities.ReorderTimelinesActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/reorder_timelines" android:label="@string/reorder_timelines"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".activities.AboutActivity" android:name=".activities.AboutActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/action_about" android:label="@string/action_about"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".activities.PartnerShipActivity" android:name=".activities.PartnerShipActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/action_about" android:label="@string/action_about"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".activities.ActionActivity" android:name=".activities.ActionActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/interactions" android:label="@string/interactions"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".activities.AdminActionActivity" android:name=".activities.AdminActionActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/administration" android:label="@string/administration"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".activities.MastodonListActivity" android:name=".activities.MastodonListActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/action_lists" android:label="@string/action_lists"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".activities.SettingsActivity" android:name=".activities.SettingsActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/settings" android:label="@string/settings"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".activities.InstanceActivity" android:name=".activities.InstanceActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/action_about_instance" android:label="@string/action_about_instance"
android:theme="@style/DialogDark" /> android:theme="@style/DialogDark" />
<activity <activity
android:name=".activities.InstanceProfileActivity" android:name=".activities.InstanceProfileActivity"
android:noHistory="true"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:theme="@style/DialogDark" /> android:theme="@style/DialogDark" />
<activity <activity
android:name=".activities.ProxyActivity" android:name=".activities.ProxyActivity"
android:noHistory="true"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:theme="@style/DialogDark" /> android:theme="@style/DialogDark" />
<activity <activity
android:name=".activities.HashTagActivity" android:name=".activities.HashTagActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".activities.AnnouncementActivity" android:name=".activities.AnnouncementActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".activities.MediaActivity" android:name=".activities.MediaActivity"
android:noHistory="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@style/TransparentDark" /> android:theme="@style/TransparentDark" />
<activity <activity
android:name=".activities.InstanceHealthActivity" android:name=".activities.InstanceHealthActivity"
android:noHistory="true"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:theme="@style/DialogDark" /> android:theme="@style/DialogDark" />
<activity <activity
android:name=".activities.ReportActivity" android:name=".activities.ReportActivity"
android:noHistory="true"
android:theme="@style/AppThemeBarDark" android:theme="@style/AppThemeBarDark"
android:windowSoftInputMode="stateVisible" /> android:windowSoftInputMode="stateVisible" />
<activity <activity
android:name=".activities.CustomSharingActivity" android:name=".activities.CustomSharingActivity"
android:noHistory="true"
android:label="@string/settings_title_custom_sharing" android:label="@string/settings_title_custom_sharing"
android:windowSoftInputMode="stateVisible" android:windowSoftInputMode="stateVisible"
android:theme="@style/AppThemeBarDark" /> android:theme="@style/AppThemeBarDark" />
<activity <activity
android:name=".activities.FilterActivity" android:name=".activities.FilterActivity"
android:noHistory="true"
android:label="@string/filters" android:label="@string/filters"
android:theme="@style/AppThemeBarDark" android:theme="@style/AppThemeBarDark"
android:windowSoftInputMode="stateVisible" /> android:windowSoftInputMode="stateVisible" />
<activity <activity
android:name=".activities.EditProfileActivity" android:name=".activities.EditProfileActivity"
android:noHistory="true"
android:label="@string/edit_profile" android:label="@string/edit_profile"
android:theme="@style/AppThemeBarDark" android:theme="@style/AppThemeBarDark"
android:windowSoftInputMode="stateVisible" /> android:windowSoftInputMode="stateVisible" />
<activity <activity
android:name=".activities.CacheActivity" android:name=".activities.CacheActivity"
android:noHistory="true"
android:label="@string/action_cache" android:label="@string/action_cache"
android:theme="@style/AppThemeBarDark" /> android:theme="@style/AppThemeBarDark" />