diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-11-11 13:18:18 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-11-11 15:56:47 -0800 |
commit | d023953a81135f5b62356b2132a4ca701b7ec54e (patch) | |
tree | 2c9d0e5eeb69ef90e0e5f1cfa4c5de66d56d5a1f /packages/SystemUI | |
parent | e807e27f096a010720002d75fa002168957fef12 (diff) | |
download | frameworks_base-d023953a81135f5b62356b2132a4ca701b7ec54e.zip frameworks_base-d023953a81135f5b62356b2132a4ca701b7ec54e.tar.gz frameworks_base-d023953a81135f5b62356b2132a4ca701b7ec54e.tar.bz2 |
fw: Move RECENTS_SHOW_SEARCH_BAR to CMSettings.
Change-Id: Id601b183eb5ef2595d33130b0af52607df0b9a11
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java b/packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java index 95c6da3..03869af 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java +++ b/packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java @@ -51,6 +51,7 @@ import com.android.systemui.recents.views.DebugOverlayView; import com.android.systemui.recents.views.RecentsView; import com.android.systemui.recents.views.SystemBarScrimViews; import com.android.systemui.recents.views.ViewAnimation; +import cyanogenmod.providers.CMSettings; import java.lang.ref.WeakReference; import java.util.ArrayList; @@ -256,8 +257,8 @@ public class RecentsActivity extends Activity implements RecentsView.RecentsView if (mEmptyView != null) { mEmptyView.setVisibility(View.GONE); } - boolean showSearchBar = Settings.System.getInt(getContentResolver(), - Settings.System.RECENTS_SHOW_SEARCH_BAR, 1) == 1; + boolean showSearchBar = CMSettings.System.getInt(getContentResolver(), + CMSettings.System.RECENTS_SHOW_SEARCH_BAR, 1) == 1; if (mRecentsView.hasValidSearchBar()) { if (showSearchBar) { |