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

Commit 5b015f84 authored by Matt Casey's avatar Matt Casey
Browse files

Finish mini-resolver after user action.

Bug: 235440512
Test: Trigger mini resolver, press each button and press back and verify
      the resolver is gone.
Change-Id: Ib22f7f38b4c5f7143b5898dbc3c74e3c7a0450f3
parent ae7ebc51
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1501,7 +1501,10 @@ public class ResolverActivity extends Activity implements
                        : R.string.miniresolver_use_personal_browser);

        findViewById(R.id.use_same_profile_browser).setOnClickListener(
                v -> safelyStartActivity(sameProfileResolveInfo));
                v -> {
                    safelyStartActivity(sameProfileResolveInfo);
                    finish();
                });

        findViewById(R.id.button_open).setOnClickListener(v -> {
            Intent intent = otherProfileResolveInfo.getResolvedIntent();
@@ -1510,6 +1513,7 @@ public class ResolverActivity extends Activity implements
            }
            safelyStartActivityAsUser(otherProfileResolveInfo,
                    inactiveAdapter.mResolverListController.getUserHandle());
            finish();
        });
    }