mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Merge "Fix launcher preview for two panel follow up" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d616cc2db0
@@ -165,7 +165,7 @@ public class PreviewSurfaceRenderer {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
DeviceProfile deviceProfile = mIdp.getDeviceProfile(mContext);
|
||||
DeviceProfile deviceProfile = mIdp.getDeviceProfile(previewContext);
|
||||
String query = (deviceProfile.isTwoPanels ? LauncherSettings.Favorites.SCREEN
|
||||
+ " = " + Workspace.LEFT_PANEL_ID + " or " : "")
|
||||
+ LauncherSettings.Favorites.SCREEN + " = " + Workspace.FIRST_SCREEN_ID
|
||||
|
||||
Reference in New Issue
Block a user