summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/util/SystemUiController.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/util/SystemUiController.java')
-rw-r--r--src/com/android/launcher3/util/SystemUiController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/util/SystemUiController.java b/src/com/android/launcher3/util/SystemUiController.java
index d7a2625e9..edbf05a7c 100644
--- a/src/com/android/launcher3/util/SystemUiController.java
+++ b/src/com/android/launcher3/util/SystemUiController.java
@@ -59,7 +59,7 @@ public class SystemUiController {
// Apply the state flags in priority order
int newFlags = oldFlags;
for (int stateFlag : mStates) {
- if (Utilities.isAtLeastO()) {
+ if (Utilities.ATLEAST_OREO) {
if ((stateFlag & FLAG_LIGHT_NAV) != 0) {
newFlags |= View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR;
} else if ((stateFlag & FLAG_DARK_NAV) != 0) {