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:
Chris Göllner
2024-05-10 09:34:10 +01:00
committed by Chris Göllner
parent 69a73630c0
commit 0cd995e4ef
22 changed files with 119 additions and 60 deletions

View File

@@ -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;