Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Doubled app after installing #4286

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ownCloud admins and users.
* Bugfix - Bugs related to Details view: [#4188](https://github.com/owncloud/android/issues/4188)
* Bugfix - Some Null Pointer Exceptions fixed from Google Play: [#4207](https://github.com/owncloud/android/issues/4207)
* Bugfix - Add "scope" parameter to /token endpoint HTTP requests: [#4260](https://github.com/owncloud/android/pull/4260)
* Bugfix - Doubled app in Recents screen after installing: [#4262](https://github.com/owncloud/android/issues/4262)
* Change - Android library as a module instead of submodule: [#3962](https://github.com/owncloud/android/issues/3962)
* Enhancement - Koin DSL: [#3966](https://github.com/owncloud/android/pull/3966)
* Enhancement - Unit tests for datasources classes - Part 1 & Fixes: [#4063](https://github.com/owncloud/android/issues/4063)
Expand Down Expand Up @@ -93,6 +94,14 @@ ownCloud admins and users.

https://github.com/owncloud/android/pull/4260

* Bugfix - Doubled app in Recents screen after installing: [#4262](https://github.com/owncloud/android/issues/4262)

SplashActivity and FileDisplayActivity are not shown anymore in Recents screen
when the application is installed from scratch and we are on the login screen.

https://github.com/owncloud/android/issues/4262
https://github.com/owncloud/android/pull/4286

* Change - Android library as a module instead of submodule: [#3962](https://github.com/owncloud/android/issues/3962)

Android library, containing all networking stuff, is now the 5th module in the
Expand Down
7 changes: 7 additions & 0 deletions changelog/unreleased/4286
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Bugfix: Doubled app in Recents screen after installing

SplashActivity and FileDisplayActivity are not shown anymore in Recents screen when the application is installed
from scratch and we are on the login screen.

https://github.com/owncloud/android/issues/4262
https://github.com/owncloud/android/pull/4286
1 change: 1 addition & 0 deletions owncloudApp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<activity
android:name=".ui.activity.SplashActivity"
android:exported="true"
android:excludeFromRecents="true"
android:theme="@style/Theme.ownCloud.Splash">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ class SplashActivity : AppCompatActivity() {

checkLockDelayEnforced(mdmProvider)

startActivity(Intent(this, FileDisplayActivity::class.java))
val intent = Intent(this, FileDisplayActivity::class.java)
intent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS)
startActivity(intent)
finish()
}

Expand Down