summaryrefslogtreecommitdiff
path: root/tests/activity
diff options
context:
space:
mode:
author Andrey Yepin <ayepin@google.com> 2024-08-08 20:57:51 -0700
committer Andrey Yepin <ayepin@google.com> 2024-08-12 16:36:38 -0700
commit014824053450ef297505d1058987f95a4c5d3231 (patch)
treeb54c5fb0a39d3fe1f86a7fa638f1ffdfb392e796 /tests/activity
parent35f0119787662f8d742aac4eb17d0992f78a4254 (diff)
Unify profile records and profile tabs creation.
Create one ProfileRecord per profile tab. Utilize legacy profile tab logic to build an ordered map of ProfileRecords and generate profile tabs from these records. This change enforces 1:1 relation between profile records and tabs and highlights the exsiting dependency between them. Bug: 343300158 Test: manual testing with varius profile combinations available on the device Flag: EXEMPT refactoring Change-Id: I47bbbbdcc7832d6b881a272b0e489622c31de231
Diffstat (limited to 'tests/activity')
-rw-r--r--tests/activity/src/com/android/intentresolver/ChooserWrapperActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/activity/src/com/android/intentresolver/ChooserWrapperActivity.java b/tests/activity/src/com/android/intentresolver/ChooserWrapperActivity.java
index 930c84f0..6ff7af3f 100644
--- a/tests/activity/src/com/android/intentresolver/ChooserWrapperActivity.java
+++ b/tests/activity/src/com/android/intentresolver/ChooserWrapperActivity.java
@@ -65,7 +65,7 @@ public class ChooserWrapperActivity extends ChooserActivity implements IChooserW
initialIntents,
rList,
filterLastUsed,
- createListController(userHandle),
+ resolverListController,
userHandle,
targetIntent,
referrerFillInIntent,