commit | 37b363161b23f4b9d4c85713468c38613fc5fbc4 | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Tue Dec 12 12:32:38 2023 -0500 |
committer | mrenouf <mrenouf@google.com> | Fri Dec 15 17:54:45 2023 -0500 |
tree | 7b718a682b8c1f2e3b59584733c2d1cee7eec982 | |
parent | 0890c097c3a2cd22d01a50af77fe1c8675b07ba1 [diff] |
Separates the Chooser and Resolver activities This change removes the class inheritence relationship between these two activities. They bear only historic similarities and have remained related and grown together unnaturually over the years. This only separates the dependency at the class level while much of the implementation relies on classes which also form a hierarchy. Because of this, most of the common code is left duplicated in both locations pending other cleanup work. Other notes: * Variables which depended on class have now been logically inlined, simplifying or removing the code in each location * All code related to 'profile switch button' removed (obsolete UI) Bug: 309960444 Test: atest com.android.intentresolver.v2 Change-Id: I7c754388387ea7f23d534d5c487416e0edaaf968
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder