Merge "Call toString instead of casting."

This commit is contained in:
Alison Cichowlas
2020-07-13 13:09:41 +00:00
committed by Android (Google) Code Review

View File

@@ -833,7 +833,7 @@ public class ResolverListAdapter extends BaseAdapter {
String getAppSubLabelInternal() {
// Will default to app name if no intent filter or activity label set, make sure to
// check if subLabel matches label before final display
return (String) mRi.loadLabel(mPm);
return mRi.loadLabel(mPm).toString();
}
}