Merge "Fix direct share badges when sharing on work/personal profiles" into sc-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b51d58e6fd
@@ -165,7 +165,7 @@ public final class SelectableTargetInfo implements ChooserTargetInfo {
|
||||
|
||||
// Now fetch app icon and raster with no badging even in work profile
|
||||
Bitmap appIcon = mSelectableTargetInfoCommunicator.makePresentationGetter(info)
|
||||
.getIconBitmap(android.os.Process.myUserHandle());
|
||||
.getIconBitmap(mContext.getUser());
|
||||
|
||||
// Raster target drawable with appIcon as a badge
|
||||
SimpleIconFactory sif = SimpleIconFactory.obtain(mContext);
|
||||
|
||||
Reference in New Issue
Block a user