Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19052cb4 authored by Arc Wang's avatar Arc Wang
Browse files

[Large Screen] Fix deep link 2 tasks bug

When launching a Settings deep link, it will close
Activity of the deep link and start both
DeepLinkHomepageActivity & the deep link.

Since 1st launched deep link page is finished,
should also remove its task.

Bug: 203385355
Test: manual
      1. Create a Settings shortcut on launcher.
      2. Click the shortcut.
      3. Move Activity of the shortcut to background.
Change-Id: I04b3243bf51f3940167e4dca6f5a32d9e3cf2841
parent 3c497cc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ public class SettingsActivity extends SettingsBaseActivity
        getMetaData();
        final Intent intent = getIntent();
        if (launchHomepageForTwoPaneDeepLink(intent)) {
            finish();
            finishAndRemoveTask();
            return;
        }