Migrate WorkspaceItemInfo non-resizeable flag to runtime status flag
- This aligns with other app-level state that is read at runtime Bug: 323112914 Test: atest NexusLauncherTests Change-Id: I1e29583d1c0302646718473c8958d604c1a202a5
This commit is contained in:
1 parent
21cf4439d2
commit
6a6de2dfc3
11 files changed
+48
-25
No files matched your search
@@ -52,6 +52,7 @@ import com.android.launcher3.model.data.ItemInfo;
|
||||
import com.android.launcher3.model.data.WorkspaceItemInfo;
|
||||
import com.android.launcher3.pm.UserCache;
|
||||
import com.android.launcher3.shortcuts.ShortcutKey;
|
||||
import com.android.launcher3.util.ApiWrapper;
|
||||
import com.android.launcher3.util.ContentWriter;
|
||||
import com.android.launcher3.util.GridOccupancy;
|
||||
import com.android.launcher3.util.IntArray;
|
||||
@@ -366,7 +367,8 @@ public class LoaderCursor extends CursorWrapper {
|
||||
}
|
||||
|
||||
if (mActivityInfo != null) {
|
||||
AppInfo.updateRuntimeFlagsForActivityTarget(info, mActivityInfo, userIconInfo);
|
||||
AppInfo.updateRuntimeFlagsForActivityTarget(info, mActivityInfo, userIconInfo,
|
||||
ApiWrapper.INSTANCE.get(mContext));
|
||||
}
|
||||
|
||||
// from the db
|
||||
|
||||
Reference in new issue
Block a user