DO NOT MERGE: Add another exception to the nearby-sharing chip code.
Fixes: 146690046 Test: Share from Chrome Change-Id: I41b3965ca2289f628a2d1de3a6da7daf01385a54
This commit is contained in:
committed by
Daniel Sandler
parent
fc94ebae09
commit
3187e48e1f
@@ -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