Merge "DO NOT MERGE: Add another exception to the nearby-sharing chip code." into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9595ad654b
@@ -952,7 +952,9 @@ public class ChooserActivity extends ResolverActivity {
|
||||
name = pkgRes.getString(nameResId);
|
||||
final int resId = metaData.getInt(CHIP_ICON_METADATA_KEY);
|
||||
icon = pkgRes.getDrawable(resId);
|
||||
} catch (NameNotFoundException ex) { }
|
||||
} catch (Resources.NotFoundException ex) {
|
||||
} catch (NameNotFoundException ex) {
|
||||
}
|
||||
}
|
||||
if (TextUtils.isEmpty(name)) {
|
||||
name = ri.loadLabel(getPackageManager());
|
||||
|
||||
Reference in New Issue
Block a user