mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Remove widget panel
- Remove all usage of LEFT_PANEL_ID and fixed left panel code - For preview renderer, load screen 0 + screen 1 instead - Added a split display specific default workspace layout, with a placeholder app to pass test before we implement page pairing(b/196376162) - Known issue: If screenId 1 is deleted, right panel will disappear from Wallpaepr & Style because there is no screenId 1. Will be resovled after page pairing(b/196376162) Bug: 175939730 Test: manual and TaplTestsLauncher3#testWorkSpace Change-Id: Icac1c94165c14a49c17897c45355b6cdc4d87e91
This commit is contained in:
@@ -653,8 +653,10 @@ public class InvariantDeviceProfile {
|
||||
numColumns = a.getInt(R.styleable.GridDisplayOption_numColumns, 0);
|
||||
|
||||
dbFile = a.getString(R.styleable.GridDisplayOption_dbFile);
|
||||
defaultLayoutId = a.getResourceId(
|
||||
R.styleable.GridDisplayOption_defaultLayoutId, 0);
|
||||
defaultLayoutId = a.getResourceId(isSplitDisplay && a.hasValue(
|
||||
R.styleable.GridDisplayOption_defaultSplitDisplayLayoutId)
|
||||
? R.styleable.GridDisplayOption_defaultSplitDisplayLayoutId
|
||||
: R.styleable.GridDisplayOption_defaultLayoutId, 0);
|
||||
demoModeLayoutId = a.getResourceId(
|
||||
R.styleable.GridDisplayOption_demoModeLayoutId, defaultLayoutId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user