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

Commit 856474bf authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Adding briefcase picture to icons for work profile apps.

Bug: 22030216
Change-Id: I179dd425ff4e49c9e4f58dcc67ee298f57c6437b
parent 3fb9d872
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -61,7 +61,8 @@ class GetActivityIconTask extends AsyncTask<AppInfo, Void, Drawable> {
                return null;
                return null;
            }
            }


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