am 4e678ff8: Merge "Fix a bug when constructing a ChooserTargetAdapter without custom targets" into mnc-dev
* commit '4e678ff89d17bc0dbd18517a7187ea385e5e1d53': Fix a bug when constructing a ChooserTargetAdapter without custom targets
This commit is contained in:
@@ -405,8 +405,10 @@ public class ChooserActivity extends ResolverActivity {
|
|||||||
int launchedFromUid, boolean filterLastUsed, ChooserTarget[] callerChooserTargets) {
|
int launchedFromUid, boolean filterLastUsed, ChooserTarget[] callerChooserTargets) {
|
||||||
super(context, initialIntents, rList, launchedFromUid, filterLastUsed);
|
super(context, initialIntents, rList, launchedFromUid, filterLastUsed);
|
||||||
|
|
||||||
for (ChooserTarget target : callerChooserTargets) {
|
if (callerChooserTargets != null) {
|
||||||
mCallerTargets.add(new ChooserTargetInfo(target));
|
for (ChooserTarget target : callerChooserTargets) {
|
||||||
|
mCallerTargets.add(new ChooserTargetInfo(target));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user