mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Convert SysUiState flags from int to long
We already reached the limit of 32 flags for an int. To be able to have more, changing from int to long. This is needed, as new flags have to be added. Flag: NONE Test: Manually running SysUI and Launcher Test: Unit tests in CL Bug: 335625543 Change-Id: Iec1d40218264c7c64c50fd09764aa07c0caa7787
This commit is contained in:
committed by
Chris Göllner
parent
69a73630c0
commit
0cd995e4ef
@@ -29,6 +29,8 @@ import android.os.Binder;
|
||||
import android.os.IBinder;
|
||||
import android.view.InsetsFrameProvider;
|
||||
|
||||
import com.android.systemui.shared.system.QuickStepContract.SystemUiStateFlags;
|
||||
|
||||
/**
|
||||
* State shared across different taskbar instance
|
||||
*/
|
||||
@@ -39,7 +41,8 @@ public class TaskbarSharedState {
|
||||
private static int INDEX_RIGHT = 1;
|
||||
|
||||
// TaskbarManager#onSystemUiFlagsChanged
|
||||
public int sysuiStateFlags;
|
||||
@SystemUiStateFlags
|
||||
public long sysuiStateFlags;
|
||||
|
||||
// TaskbarManager#disableNavBarElements()
|
||||
public int disableNavBarDisplayId;
|
||||
|
||||
Reference in New Issue
Block a user