commit | af6a22081dca5b68e99af1cd6127bae660651565 | [log] [tgz] |
---|---|---|
author | Joshua Trask <joshtrask@google.com> | Tue Dec 19 21:21:57 2023 +0000 |
committer | Joshua Trask <joshtrask@google.com> | Fri Jan 05 15:20:39 2024 +0000 |
tree | 9a3fe1693556bbf2eabb291ef7d10748f944ab3c | |
parent | c66c3b8e0d3c9ed894c3d69d84d52e0ecff98a37 [diff] |
Clean up indexing/lookup methods in pager adapter This is originally from snapshot 33 in ag/25335069: "consolidate and rename-more-explicitly the assorted index conversion/lookup methods in `MultiProfilePagerAdapter`. Keeping these methods together (and implemented in terms of each other where possible) makes it easier to audit our logic as we prepare for 3+ tabs. Particularly, this establishes a 'source of truth' for the aspect of our business logic that assigns the clone profile as a sort of 'secondary handle' for the personal tab." Bug: 310211468 Test: `IntentResolver-tests-actvity`, `ResolverActivityTest` Change-Id: I5dda5909318d9741927f3e2657cb4aefdfab6c6b
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder