diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-07-02 16:57:22 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-07-02 16:57:22 +0200 |
commit | dc0c368962e6386997a79ebd9d478af00c4f70a0 (patch) | |
tree | fb1bef8f4315268649915460d8915df87bca46af | |
parent | 2e2451f8d0fabd2f1e2d3d34cba8e22a7846284b (diff) | |
download | packages_apps_trebuchet-replicant-4.2.zip packages_apps_trebuchet-replicant-4.2.tar.gz packages_apps_trebuchet-replicant-4.2.tar.bz2 |
Hide the homescreen search bar by defaultHEADreplicant-4.2-0004replicant-4.2-0003replicant-4.2-0002replicant-4.2
Change-Id: I23a59cb0c376ae3535b9e6b1878053bcdbacadbc
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r-- | res/xml/preferences_homescreen.xml | 2 | ||||
-rw-r--r-- | src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/res/xml/preferences_homescreen.xml b/res/xml/preferences_homescreen.xml index ec4ef8d..4aeff69 100644 --- a/res/xml/preferences_homescreen.xml +++ b/res/xml/preferences_homescreen.xml @@ -52,7 +52,7 @@ <CheckBoxPreference android:key="ui_homescreen_general_search" android:title="@string/preferences_interface_homescreen_general_search_title" android:summary="@string/preferences_interface_homescreen_general_search_summary" - android:defaultValue="true" /> + android:defaultValue="false" /> <CheckBoxPreference android:key="ui_homescreen_general_hide_icon_labels" android:title="@string/preferences_interface_homescreen_general_hide_icon_labels_title" android:summary="@string/preferences_interface_homescreen_general_hide_icon_labels_summary" /> diff --git a/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java b/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java index 9f61f82..a49ac15 100644 --- a/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java +++ b/src/com/cyanogenmod/trebuchet/preference/PreferencesProvider.java @@ -89,7 +89,7 @@ public final class PreferencesProvider { return getBoolean("ui_homescreen_stretch_screens", true); } public static boolean getShowSearchBar() { - return getBoolean("ui_homescreen_general_search", true); + return getBoolean("ui_homescreen_general_search", false); } public static boolean getHideIconLabels() { return getBoolean("ui_homescreen_general_hide_icon_labels", false); |