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

Commit 5160e966 authored by Chris Wren's avatar Chris Wren
Browse files

also backup icon assets for shortcuts.

Bug: 13449249
Change-Id: I8c5a9e907f668e105c2786b80f0c8e62bd5f8344
parent 42c725fe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -461,7 +461,8 @@ public class LauncherBackupHelper implements BackupHelper {

        int startRows = out.rows;
        if (DEBUG) Log.d(TAG, "starting here: " + startRows);
        String where = Favorites.ITEM_TYPE + "=" + Favorites.ITEM_TYPE_APPLICATION;
        String where = Favorites.ITEM_TYPE + "=" + Favorites.ITEM_TYPE_APPLICATION + " OR " +
                Favorites.ITEM_TYPE + "=" + Favorites.ITEM_TYPE_SHORTCUT;
        Cursor cursor = cr.query(Favorites.CONTENT_URI, FAVORITE_PROJECTION,
                where, null, null);
        Set<String> currentIds = new HashSet<String>(cursor.getCount());