diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2017-09-11 11:18:03 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2017-09-11 12:17:09 -0700 |
commit | e24cb63b811e2885a69e7df794e9972cdf5a57b9 (patch) | |
tree | c4229be8691f0ed8e902a12c2d68785aec257f57 /src/com/android/launcher3/util/SystemUiController.java | |
parent | 9c1607886b87734f5ec36a87f62dcaabb78bdf20 (diff) | |
download | android_packages_apps_Trebuchet-e24cb63b811e2885a69e7df794e9972cdf5a57b9.tar.gz android_packages_apps_Trebuchet-e24cb63b811e2885a69e7df794e9972cdf5a57b9.tar.bz2 android_packages_apps_Trebuchet-e24cb63b811e2885a69e7df794e9972cdf5a57b9.zip |
WallpaperManagerCompat should target correct platform
Also replace Utilities.isAtLeastO() to static final constant.
Bug: 65544683
Change-Id: I39fbea66939d72c31702748716c4e65b4f9bee6a
Diffstat (limited to 'src/com/android/launcher3/util/SystemUiController.java')
-rw-r--r-- | src/com/android/launcher3/util/SystemUiController.java | 2 |
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) { |