Merge "Call toString instead of casting."
This commit is contained in:
committed by
Android (Google) Code Review
commit
e2f6051eb8
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user