summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/util/SystemUiController.java
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-09-11 21:40:47 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-09-11 21:40:47 +0000
commit673f917d57f47482aa1a823e74f0377315f30293 (patch)
tree730290c4e76f907f473e7fac3c4ac3e6f25dc23a /src/com/android/launcher3/util/SystemUiController.java
parenta41ebf0cd2c2cd95a377c824acb517894ebbd372 (diff)
parente24cb63b811e2885a69e7df794e9972cdf5a57b9 (diff)
downloadandroid_packages_apps_Trebuchet-673f917d57f47482aa1a823e74f0377315f30293.tar.gz
android_packages_apps_Trebuchet-673f917d57f47482aa1a823e74f0377315f30293.tar.bz2
android_packages_apps_Trebuchet-673f917d57f47482aa1a823e74f0377315f30293.zip
Merge "WallpaperManagerCompat should target correct platform Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683" into ub-launcher3-dorval-polish2
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) {