diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-11-11 13:34:54 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-11-11 15:56:47 -0800 |
commit | c88d9c2e5f9cf6a1b45896b752d4f05f4a53b5e0 (patch) | |
tree | 41fdce0c27e5ffd6870a6158900df75abdb9df4e /packages/SystemUI | |
parent | d023953a81135f5b62356b2132a4ca701b7ec54e (diff) | |
download | frameworks_base-c88d9c2e5f9cf6a1b45896b752d4f05f4a53b5e0.zip frameworks_base-c88d9c2e5f9cf6a1b45896b752d4f05f4a53b5e0.tar.gz frameworks_base-c88d9c2e5f9cf6a1b45896b752d4f05f4a53b5e0.tar.bz2 |
fw: Move NAVBAR_LEFT_IN_LANDSCAPE to CMSettings.
Change-Id: I30824dc84bd32e335dde53cee7e40c085894827c
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 957935e..ab93dd9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -448,8 +448,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, UserHandle.USER_ALL); resolver.registerContentObserver(Settings.System.getUriFor( Settings.System.SCREEN_BRIGHTNESS_MODE), false, this, UserHandle.USER_ALL); - resolver.registerContentObserver(Settings.System.getUriFor( - Settings.System.NAVBAR_LEFT_IN_LANDSCAPE), false, this, UserHandle.USER_ALL); + resolver.registerContentObserver(CMSettings.System.getUriFor( + CMSettings.System.NAVBAR_LEFT_IN_LANDSCAPE), false, this, UserHandle.USER_ALL); resolver.registerContentObserver(CMSettings.System.getUriFor( CMSettings.Secure.RECENTS_LONG_PRESS_ACTIVITY), false, this); update(); @@ -475,8 +475,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, UserHandle.USER_CURRENT) == 1; if (mNavigationBarView != null) { - boolean navLeftInLandscape = Settings.System.getIntForUser(resolver, - Settings.System.NAVBAR_LEFT_IN_LANDSCAPE, 0, UserHandle.USER_CURRENT) == 1; + boolean navLeftInLandscape = CMSettings.System.getIntForUser(resolver, + CMSettings.System.NAVBAR_LEFT_IN_LANDSCAPE, 0, UserHandle.USER_CURRENT) == 1; mNavigationBarView.setLeftInLandscape(navLeftInLandscape); } |