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

Commit d974c7b4 authored by Adam Powell's avatar Adam Powell
Browse files

Fix a bug when constructing a ChooserTargetAdapter without custom

targets

Bug 20667333

Change-Id: Ia35021d12c00f64f5424588f776d79e18e8d518e
parent e658285b
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) {