Merge "Call updateChooserCounts with the correct user id" into rvc-dev am: dbbb59a1c5 am: 7d14d57b2d am: 71e84985c0
Change-Id: Ia811abf880ae45438f850c84e3bc21ad5f3f46ea
This commit is contained in:
@@ -2171,7 +2171,7 @@ public class ChooserActivity extends ResolverActivity implements
|
||||
mChooserMultiProfilePagerAdapter.getActiveListAdapter();
|
||||
if (currentListAdapter != null) {
|
||||
currentListAdapter.updateModel(info.getResolvedComponentName());
|
||||
currentListAdapter.updateChooserCounts(ri.activityInfo.packageName, getUserId(),
|
||||
currentListAdapter.updateChooserCounts(ri.activityInfo.packageName,
|
||||
targetIntent.getAction());
|
||||
}
|
||||
if (DEBUG) {
|
||||
|
||||
@@ -165,8 +165,9 @@ public class ResolverListAdapter extends BaseAdapter {
|
||||
mResolverListController.updateModel(componentName);
|
||||
}
|
||||
|
||||
public void updateChooserCounts(String packageName, int userId, String action) {
|
||||
mResolverListController.updateChooserCounts(packageName, userId, action);
|
||||
public void updateChooserCounts(String packageName, String action) {
|
||||
mResolverListController.updateChooserCounts(
|
||||
packageName, getUserHandle().getIdentifier(), action);
|
||||
}
|
||||
|
||||
List<ResolvedComponentInfo> getUnfilteredResolveList() {
|
||||
|
||||
Reference in New Issue
Block a user