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

Commit 93f1904f authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "Adding briefcase picture to icons for work profile apps."

parents 2772d3c0 856474bf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -61,7 +61,8 @@ class GetActivityIconTask extends AsyncTask<AppInfo, Void, Drawable> {
                return null;
            }

            return ai.loadIcon(mPackageManager);
            Drawable unbadgedIcon = ai.loadIcon(mPackageManager);
            return mPackageManager.getUserBadgedIcon(unbadgedIcon, appInfo.getUser());
        } catch (RemoteException e) {
            Slog.w(TAG, "Icon not found for " + appInfo, e);
            return null;