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

Commit 4e678ff8 authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix a bug when constructing a ChooserTargetAdapter without custom targets" into mnc-dev

parents ca067e97 d974c7b4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -405,10 +405,12 @@ public class ChooserActivity extends ResolverActivity {
                int launchedFromUid, boolean filterLastUsed, ChooserTarget[] callerChooserTargets) {
            super(context, initialIntents, rList, launchedFromUid, filterLastUsed);

            if (callerChooserTargets != null) {
                for (ChooserTarget target : callerChooserTargets) {
                    mCallerTargets.add(new ChooserTargetInfo(target));
                }
            }
        }

        @Override
        public boolean showsExtendedInfo(TargetInfo info) {