Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf97f51c authored by Miranda Kephart's avatar Miranda Kephart Committed by Automerger Merge Worker
Browse files

Merge "Fix direct share badges when sharing on work/personal profiles" into...

Merge "Fix direct share badges when sharing on work/personal profiles" into sc-qpr1-dev am: b51d58e6 am: 0d5e6708 am: 6f87f6c3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15839049

Change-Id: I42d1724d8c892e0e9dba196eff6ec21cd3b3f3b5
parents 2e1a507a 6f87f6c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -165,7 +165,7 @@ public final class SelectableTargetInfo implements ChooserTargetInfo {


        // Now fetch app icon and raster with no badging even in work profile
        // Now fetch app icon and raster with no badging even in work profile
        Bitmap appIcon = mSelectableTargetInfoCommunicator.makePresentationGetter(info)
        Bitmap appIcon = mSelectableTargetInfoCommunicator.makePresentationGetter(info)
                .getIconBitmap(android.os.Process.myUserHandle());
                .getIconBitmap(mContext.getUser());


        // Raster target drawable with appIcon as a badge
        // Raster target drawable with appIcon as a badge
        SimpleIconFactory sif = SimpleIconFactory.obtain(mContext);
        SimpleIconFactory sif = SimpleIconFactory.obtain(mContext);